[Fwd: Re: better param checking?]

Sven Köhler skoehler at upb.de
Sun Oct 13 18:48:52 EDT 2002


Below is one answer on a mail i send to the autoconf-general mailinglist.
i don't know what he's talking about, but perhaps it'll help

 >
 > hi!
 >
 > is there a way to tell configure to check params like --with-foo?
 >
 > ./configure --foo failes with an error
 > ./configure --with-foo doesn't fail ... it just ignores the "--with-foo"
 > option.
 >
 > this might also apply to --enable-foo
 >
 > ./configure --with-foo should fail with the message, that the option
 > called "foo" is not available.
 >
 > any hints?

Look up AC_ARG_WITH or use:

   http://autogen.sf.net/conftest.html




More information about the FreeTDS mailing list