build: default to --enable-gcc-warnings in a git tree
authorEric Blake <eblake@redhat.com>
Tue, 23 Oct 2012 09:06:11 +0000 (11:06 +0200)
committerJim Meyering <jim@meyering.net>
Tue, 23 Oct 2012 14:15:53 +0000 (16:15 +0200)
commitaa90739c85fcbb88da54b489273246e05f3ea8c9
tree428cd195d61cdac78e4b868b7a281091bd285b42
parent60b3f4eb672a85de28ecaad47ed426f8c8fe6c32
build: default to --enable-gcc-warnings in a git tree

Anyone building from cloned sources 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 default
can still be overridden with --disable-gcc-warnings.
* configure.ac (gl_gcc_warnings): Set default based on environment.
configure.ac