summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <fx.lebail@yahoo.com>2015-09-09 07:42:39 +0200
committerFrancois-Xavier Le Bail <fx.lebail@yahoo.com>2015-09-09 07:42:39 +0200
commitb226ebedc9f7762b07029d77bd3b4a107ae1c087 (patch)
treea44ba8aeb1756891ad5cb8ea77146e5a04c8924d /aclocal.m4
parentdb47597e0a08161aef1c07156a4d486cb22fb3fc (diff)
downloadtcpdump-b226ebedc9f7762b07029d77bd3b4a107ae1c087.tar.gz
Compile with '-Wold-style-definition' 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 a50c2f0b..64ed979b 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -982,6 +982,7 @@ AC_DEFUN(AC_LBL_DEVEL,
AC_LBL_CHECK_COMPILER_OPT($1, -Wshadow)
AC_LBL_CHECK_COMPILER_OPT($1, -Wdeclaration-after-statement)
AC_LBL_CHECK_COMPILER_OPT($1, -Wpedantic)
+ AC_LBL_CHECK_COMPILER_OPT($1, -Wold-style-definition)
AC_LBL_CHECK_COMPILER_OPT($1, -W)
fi
AC_LBL_CHECK_DEPENDENCY_GENERATION_OPT()