summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2018-07-17 22:22:49 +0200
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2018-07-17 22:22:49 +0200
commitabe1aa5a290653e0598364a12b0d661d901afbdf (patch)
tree4460bbe85c3fce50e6e68f85c5dec5e32197c25b /aclocal.m4
parente88bf592beecfe6933b65cb0807633c9ae1c537e (diff)
downloadtcpdump-abe1aa5a290653e0598364a12b0d661d901afbdf.tar.gz
Compile with '-Wunreachable-code-return' 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 b8358343..5ffbb299 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -881,6 +881,7 @@ AC_DEFUN(AC_LBL_DEVEL,
AC_LBL_CHECK_COMPILER_OPT($1, -Wpointer-arith)
AC_LBL_CHECK_COMPILER_OPT($1, -Wshadow)
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)
AC_LBL_CHECK_COMPILER_OPT($1, -Wwrite-strings)
fi