build: default to --enable-gcc-warnings for git tree
authorEric Blake <eblake@redhat.com>
Thu, 6 Sep 2012 14:20:17 +0000 (08:20 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 6 Sep 2012 16:03:47 +0000 (10:03 -0600)
commit47fd706a7540e7ae3d19c625d90c28b88a8a640c
treed5d1950ceaba2be758d14bf0067bddd7ff6fdfc3
parenta514bc402cc5632e8986d55caeb49b664b6fe9e6
build: default to --enable-gcc-warnings for git tree

Anyone developing on coreutils can be assumed to have a new enough
environment, such that enabling gcc warnings by default will be
useful.  Tarballs still default to no warnings, and the defaults
can still be overridden with --disable-gcc-warnings.

* configure.ac (gl_gcc_warnings): Set default based on environment.
Suggested by Bernhard Voelker.
configure.ac