Re: proposal - command-line option checking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Paul Eggert <eggert@xxxxxxxxxxx>:

"Steven G. Johnson" <stevenj@xxxxxxxxxxxx> writes:

   * Autoconf configure scripts should check their --with and --enable
arguments, and exit with an error if the option was not specified in
an AC_ARG_ENABLE or AC_ARG_WITH statement

That would run afoul of the GNU coding standards, no?  See
<http://www.gnu.org/prep/standards/html_node/Configuration.html#Configuration>.
So if you want this to change for Autoconf, probably the first step is
to get the GNU coding standards changed.


Alright I understand, however I still think that Steven's idea is good and I've also been bitten by wrong configure options being silently ignored, so would it
make sense to add a macro such as AC_ENABLE_STRICT_OPTION_CHECKING or whatever
that would enable the behavior described by Steven (although it slightly
conflicts with the GNU CS)? I'd definitely use such a macro everywhere I can.

--
SIGOURE Benoit aka Tsuna
  _____
 /EPITA\ Promo 2008, LRDE



_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux