summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <fx.lebail@yahoo.com>2016-08-19 01:19:51 +0200
committerFrancois-Xavier Le Bail <fx.lebail@yahoo.com>2016-08-19 01:30:14 +0200
commitb7cbdfc92d1bddcdf4a6a7ad8cfb004364d4d59c (patch)
treee550cd6f006e42b9324b5fc4442909dc25e34b3c /aclocal.m4
parent4e0187006366b895c525f88f205ae77b53722a7c (diff)
downloadtcpdump-b7cbdfc92d1bddcdf4a6a7ad8cfb004364d4d59c.tar.gz
Compile with '-Wused-but-marked-unused' in devel mode if supported
f.e. clang version 3.4 support this warning option.
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 ca78a02c..4fa5b80d 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -994,6 +994,7 @@ AC_DEFUN(AC_LBL_DEVEL,
AC_LBL_CHECK_COMPILER_OPT($1, -Wdeclaration-after-statement)
AC_LBL_CHECK_COMPILER_OPT($1, -pedantic)
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)
fi
AC_LBL_CHECK_DEPENDENCY_GENERATION_OPT()