I *really* want to be able to conditionally specify the files that go into AC_CONFIG_FILES. By using AC_SUBST, I have been able to modalize the files that get listed in DIST_SUBDIRS and SUBDIRS. But I want configure itself to be flexible enough to change its awareness of what it is building. The reason is that I want to let 3rd parties use our configure script to develop our plugins. Our plugins are located in the plugins/ folder of our source tree. I have configure options such as --enable-plugin-dev=HelloWorld. When this is set, configure doesn't even recurse into our src/ directory, it goes straight to plugins. But I don't even want config.status to create those makefiles in the src/ dir. I want to send out make dist package with our plugin configure options that has only the stuff they need to modify our HelloWorld plugin and get started. I've tried something like this: PDP_SUBDIRS=". tacss/HelloWorld" AC_CONFIG_FILES([`sh<<EOF echo ${PDP_SUBDIRS} | sed 's/ /Makefile /' EOF `]) To no avail. Any pointers? Cheers, Brian -- int getRandomNumber() { return 4; // chosen by fair dice roll // guaranteed to be random } _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf