summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordevzero2000 <devzero2000>2014-04-15 11:49:00 +0000
committerdevzero2000 <devzero2000>2014-04-15 11:49:00 +0000
commit9bc245e4c766d49cb66f1df6185c52b05716f0f0 (patch)
tree26a38d3aa1341e0eab501f4939d32c6fa434fc87
parent3a593fff42c04e64f402d41718973ad21987b073 (diff)
downloadlibpopt-9bc245e4c766d49cb66f1df6185c52b05716f0f0.tar.gz
configure.ac: add -Wdeclaration-after-statement if built with --enable-gcc-warnings
-rwxr-xr-xconfigure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index e2d3456..eba408d 100755
--- a/configure.ac
+++ b/configure.ac
@@ -130,6 +130,7 @@ AS_IF([test "x$popt_gcc_warnings" = xyes],
popt_CFLAGS_ADD([-fipa-pure-const],[POPT_CFLAGS])
popt_CFLAGS_ADD([-Wno-aggregate-return],[POPT_CFLAGS])
popt_CFLAGS_ADD([-Wno-redundant-decls],[POPT_CFLAGS])
+ popt_CFLAGS_ADD([-Wdeclaration-after-statement],[POPT_CFLAGS])
])
# build popt with mudflap instrumentation (GCC only)