build: support configure-time --enable-gcc-warnings option
commit5876b06bee5a9412ba372f0d72b4bb629abacc6a
authorJim Meyering <meyering@redhat.com>
Thu, 16 Dec 2010 10:39:41 +0000 (16 11:39 +0100)
committerJim Meyering <meyering@redhat.com>
Thu, 16 Dec 2010 11:53:05 +0000 (16 12:53 +0100)
treea484441cfffa5348421af245b7a9b3a7aab3c03f
parentb25dcd02204c034521a47bd0678a591004638868
build: support configure-time --enable-gcc-warnings option

* configure.ac: Handle new --enable-gcc-warnings option.
* Makefile.am (AM_CFLAGS): Use configure-determined
$(WARN_CFLAGS) $(WERROR_CFLAGS), rather than hard-coded ones.
Makefile.am
configure.ac