Ralf Corsepius <rc040203@xxxxxxxxxx> writes: > On Fri, 2005-05-27 at 00:56 +0400, Ilya N. Golubev wrote: >> Is >> >> AC_ARG_WITH([cflags-warning], >> dnl ... >> ) >> >> a proper usage of `AC_ARG_WITH'? Or it violates autoconf conventions, >> and some other ways of specifying these configuration options >> (perhaps, `var=value' in command line) are more appropriate? > > The latter. > > Teach your users to use: > configure CFLAGS="what ever" > > Ralf > I have a section of my configure.ac that tries to guess values for CPPFLAGS, etc. I also have an option --disable-flag-setting to turn this off entirely. Sometimes my configure wants to set a flag, but the user wants to try a contradictory flag. So I allow a way to stop the configure from messing with the flags, so that the user can take complete control if need be. Ed -- Ed Hartnett -- ed@xxxxxxxxxxxxxxxx _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf