summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <fx.lebail@yahoo.com>2015-08-18 20:49:32 +0200
committerFrancois-Xavier Le Bail <fx.lebail@yahoo.com>2015-08-18 20:49:32 +0200
commit8a8ab5dcaa7ab03e19a15e9cb2eafd6404e2d6ef (patch)
tree70a0c4a2c62be0db2520952bfd9d07be0dda46c4 /aclocal.m4
parentc59d2fbb8ae60c7bcd199b7080c3aaf760a0a602 (diff)
downloadtcpdump-8a8ab5dcaa7ab03e19a15e9cb2eafd6404e2d6ef.tar.gz
Compile with '-Wdeclaration-after-statement' in devel mode
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 18d7ea68..042bccf2 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -949,6 +949,7 @@ AC_DEFUN(AC_LBL_DEVEL,
AC_LBL_CHECK_COMPILER_OPT($1, -Wpointer-arith)
AC_LBL_CHECK_COMPILER_OPT($1, -Wcast-qual)
AC_LBL_CHECK_COMPILER_OPT($1, -Wshadow)
+ AC_LBL_CHECK_COMPILER_OPT($1, -Wdeclaration-after-statement)
AC_LBL_CHECK_COMPILER_OPT($1, -W)
fi
AC_LBL_CHECK_DEPENDENCY_GENERATION_OPT()