[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Command-line option processing
From: |
Eric Blake |
Subject: |
Re: Command-line option processing |
Date: |
Tue, 30 Oct 2007 05:59:09 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Sébastien Hinderer on 10/30/2007 2:02 AM:
>> (There are ways
>> to turn this warning off, and there are still nits wrt. package trees
>> (AC_CONFIG_SUBDIRS), but otherwise it should do by itself just what you
>> want.)
>
> Actually, one solution that would be even better IMHO would be to be
> able to turn this kind of warnings into errors that would make the
> configue script fail, i.e. not produce the files it normally produces
> from the .in files. Is this possible ? Does it make sense to you guys ?
Yes. Here's the actual commit that implemented this all:
http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=2d75db
Note in particular the addition of --enable-option-checking=fatal as a
./configure argument. We can't make it fatal by default, because that
would violate GNU Coding Standards, but there is nothing that says that
you can't add a site.config file to make it fatal by default on your machine.
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHJxyM84KuGfSFAYARAnjUAJ0bHcTSufoHSWilEugJpaKp1ApLWQCdF3L0
JH7fa/jVYzGMmZ+RSqOhMj8=
=gIci
-----END PGP SIGNATURE-----