summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-05-29 23:37:36 +0200
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-05-30 00:05:22 +0200
commit0181656313fbe514928263f4061d42d338a5bb7c (patch)
tree104f6bbd2bf03175f5fcc015f26fe3dc8b7072e5 /aclocal.m4
parent65a0c47dc8103f3794e07dc35bd72b52a67a76c7 (diff)
downloadtcpdump-0181656313fbe514928263f4061d42d338a5bb7c.tar.gz
Compile with '-Wmissing-variable-declarations' if it's available
(In devel mode)
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 14690144..b95e64c6 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -919,6 +919,7 @@ AC_DEFUN(AC_LBL_DEVEL,
AC_LBL_CHECK_COMPILER_OPT($1, -Wassign-enum)
AC_LBL_CHECK_COMPILER_OPT($1, -Wcast-qual)
AC_LBL_CHECK_COMPILER_OPT($1, -Wmissing-prototypes)
+ AC_LBL_CHECK_COMPILER_OPT($1, -Wmissing-variable-declarations)
AC_LBL_CHECK_COMPILER_OPT($1, -Wold-style-definition)
AC_LBL_CHECK_COMPILER_OPT($1, -Wpedantic)
AC_LBL_CHECK_COMPILER_OPT($1, -Wpointer-arith)