summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2016-08-23 16:04:57 +0200
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2017-09-20 20:41:25 +0200
commit7871b86d086d7cd51f2301a5b46d4a6da0a3f218 (patch)
treead87d26cb367c1a8a2d66da4ba0dab825ac2169f /aclocal.m4
parent56f51802672305ef82016b30adedb6da2996362c (diff)
downloadtcpdump-7871b86d086d7cd51f2301a5b46d4a6da0a3f218.tar.gz
Compile with '-Wassign-enum' 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 a0031412..30d01f5f 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -996,6 +996,7 @@ AC_DEFUN(AC_LBL_DEVEL,
AC_LBL_CHECK_COMPILER_OPT($1, -Wold-style-definition)
AC_LBL_CHECK_COMPILER_OPT($1, -Wused-but-marked-unused)
AC_LBL_CHECK_COMPILER_OPT($1, -W)
+ AC_LBL_CHECK_COMPILER_OPT($1, -Wassign-enum)
fi
AC_LBL_CHECK_DEPENDENCY_GENERATION_OPT()
#