Vincent Torri <vtorri@xxxxxxxxxxxx> writes: > if test "x$2" = "xno" ; then > AC_ARG_ENABLE(ecore-[]DOWN, > AS_HELP_STRING( > [--enable-ecore-[]DOWN], > [enable the ecore_[]DOWN module. [[default=disabled]]] > ), > [ want_ecore_[]DOWN=$enableval ], > [ want_ecore_[]DOWN=no ]) > else > AC_ARG_ENABLE(ecore-[]DOWN, > AS_HELP_STRING( > [--disable-ecore-[]DOWN], > [disable the ecore_[]DOWN module. [[default=enabled]]] > ), > [ want_ecore_[]DOWN=$enableval ], > [ want_ecore_[]DOWN=yes ]) > fi You cannot influence the generation of the configure script at runtime for obvious reasons. The expansion of the right AC_ARG_ENABLE must be selected by m4 conditionals. Andreas. -- Andreas Schwab, SuSE Labs, schwab@xxxxxxx SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf