My point exactly. The autoconf system should reserve a variable that is NOT the user. Automake has such a facility - AM_CFLAGS. This variable should be reserved for configure to add flags to the compiler command line based on higher-level, user-specified options, such as --enable-debug, or --with-full-optimization, etc. John
>>> Andreas Schwab <[EMAIL PROTECTED]> 2/7/2006 11:34:30 am >>> "John Calcote" <[EMAIL PROTECTED]> writes: > When you override CFLAGS on the configure command line, you give > configure the opportunity to add more flags to the CFLAGS variable that > are then passed on to make. Yes, there are many broken configure scripts out there that do that. Please don't spread that further. CFLAGS (as well all CPPFLAGS, CXXFLAGS, etc.) should always be reserved for the user to override any time. It it highly annoying if that does not work. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] 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@gnu.org http://lists.gnu.org/mailman/listinfo/autoconf