]> git.ipfire.org Git - thirdparty/autoconf.git/commit
AC_C_CONST: don't reject gcc -Werror -Wall
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 1 Sep 2011 06:16:06 +0000 (23:16 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 1 Sep 2011 06:16:41 +0000 (23:16 -0700)
commit54c726aa5c0414148d03059c1bce14baaa0c7c09
tree40801fb074d2a5fd21c0281ab75c4c22af0ca96b
parent96cdf32954a64884ef28da1e384de5dae49d94e0
AC_C_CONST: don't reject gcc -Werror -Wall

* lib/autoconf/c.m4 (AC_C_CONST): Don't reject gcc when it is used
with -Werror -Wall during configuring.  It's unwise to use GCC
that way, but apparently enough people do it nowadays that it's an
issue.  These days nobody uses the old compilers that the old
tests reject, so we can't test this fix against them, but it's
more important to work with modern GCC (even when misused) than to
work with no-longer-used compilers.  Problem reported by Shevek in
<http://lists.gnu.org/archive/html/bug-autoconf/2008-11/msg00007.html>
and raised again by Dan Kegel in
<http://lists.gnu.org/archive/html/bug-autoconf/2011-08/msg00020.html>.
ChangeLog
lib/autoconf/c.m4