summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2018-10-29 22:28:53 +0100
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2018-10-29 22:28:53 +0100
commitf34af1aa63da301ae7ee91e2300dff31702001f0 (patch)
tree2e04cf288de788b8358f491a56f0126876f004fd /aclocal.m4
parentf839f799b7aedf4363cf74fea6825ae1bdd73e0d (diff)
downloadtcpdump-f34af1aa63da301ae7ee91e2300dff31702001f0.tar.gz
Compile with '-Wsign-compare' in devel mode if supported
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 bb322371..2b45203d 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -879,6 +879,7 @@ AC_DEFUN(AC_LBL_DEVEL,
AC_LBL_CHECK_COMPILER_OPT($1, -Wpedantic)
AC_LBL_CHECK_COMPILER_OPT($1, -Wpointer-arith)
AC_LBL_CHECK_COMPILER_OPT($1, -Wshadow)
+ AC_LBL_CHECK_COMPILER_OPT($1, -Wsign-compare)
AC_LBL_CHECK_COMPILER_OPT($1, -Wstrict-prototypes)
AC_LBL_CHECK_COMPILER_OPT($1, -Wunreachable-code-return)
AC_LBL_CHECK_COMPILER_OPT($1, -Wused-but-marked-unused)