build: keep -Wmissing-declarations and -Wmissing-prototypes for modern GCCs
authorAkim Demaille <akim@lrde.epita.fr>
Fri, 7 Dec 2012 08:58:40 +0000 (09:58 +0100)
committerAkim Demaille <akim@lrde.epita.fr>
Fri, 7 Dec 2012 09:16:47 +0000 (10:16 +0100)
commit85a2f27fc4e271e992ca35561ae93c55aac21c07
tree632ef2c0c9cb1016a02896a43ccec4c28856f49c
parent28d16d1f7cd7ae201d368210ba87f3ef5c0abd51
build: keep -Wmissing-declarations and -Wmissing-prototypes for modern GCCs

Fixes a -Werror failure of xalloc.h used in src.
From Eric Blake.
http://lists.gnu.org/archive/html/bug-gnulib/2012-12/msg00006.html

* configure.ac: Check whether GCC pragma diagnostic push/pop works.
Enable these warnings for bison if it does.
Enable these warnings for the test suite anyway.
configure.ac