summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <fx.lebail@yahoo.com>2015-07-29 13:50:38 +0200
committerFrancois-Xavier Le Bail <fx.lebail@yahoo.com>2015-07-29 13:50:38 +0200
commita9d6fee301938c5a1d2033bf8b8f09db19efca5b (patch)
tree44a8f5fdee97fe2aa964145d03a700663dd2c347 /aclocal.m4
parent77718832a0274691e424e2a596bf7edb92566a2c (diff)
downloadtcpdump-a9d6fee301938c5a1d2033bf8b8f09db19efca5b.tar.gz
Compile with -Wshadow
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 223f9384..18d7ea68 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -948,6 +948,7 @@ AC_DEFUN(AC_LBL_DEVEL,
AC_LBL_CHECK_COMPILER_OPT($1, -Wwrite-strings)
AC_LBL_CHECK_COMPILER_OPT($1, -Wpointer-arith)
AC_LBL_CHECK_COMPILER_OPT($1, -Wcast-qual)
+ AC_LBL_CHECK_COMPILER_OPT($1, -Wshadow)
AC_LBL_CHECK_COMPILER_OPT($1, -W)
fi
AC_LBL_CHECK_DEPENDENCY_GENERATION_OPT()