yes, AC_CONFIG_SUBDIRS(dirs, [action-if-succeeds], [action-if-fails])
is exactly what I had in mind. The parent configure should however really test the script's exit status and not rely on the creation of a file. Which file should be choosen ? configure could still fail after any one file has been created (for example if another file couldn't be created due to permission problems). Stefan