summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <fx.lebail@yahoo.com>2015-09-09 08:06:39 +0200
committerFrancois-Xavier Le Bail <fx.lebail@yahoo.com>2015-09-09 08:06:39 +0200
commitbf0e85248db6220282b98140d110fd1f3a123f8e (patch)
treedef4747183ca9435fbc322a36825d88fadcdac92
parentb226ebedc9f7762b07029d77bd3b4a107ae1c087 (diff)
downloadtcpdump-bf0e85248db6220282b98140d110fd1f3a123f8e.tar.gz
'-pedantic' option is supported by Travis, '-Wpedantic' is not
-rw-r--r--aclocal.m42
-rwxr-xr-xconfigure8
2 files changed, 5 insertions, 5 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 64ed979b..acb4e7d9 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -981,7 +981,7 @@ AC_DEFUN(AC_LBL_DEVEL,
AC_LBL_CHECK_COMPILER_OPT($1, -Wcast-qual)
AC_LBL_CHECK_COMPILER_OPT($1, -Wshadow)
AC_LBL_CHECK_COMPILER_OPT($1, -Wdeclaration-after-statement)
- AC_LBL_CHECK_COMPILER_OPT($1, -Wpedantic)
+ AC_LBL_CHECK_COMPILER_OPT($1, -pedantic)
AC_LBL_CHECK_COMPILER_OPT($1, -Wold-style-definition)
AC_LBL_CHECK_COMPILER_OPT($1, -W)
fi
diff --git a/configure b/configure
index e93add3f..1968499c 100755
--- a/configure
+++ b/configure
@@ -7948,10 +7948,10 @@ fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -Wpedantic option" >&5
-$as_echo_n "checking whether the compiler supports the -Wpedantic option... " >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the -pedantic option" >&5
+$as_echo_n "checking whether the compiler supports the -pedantic option... " >&6; }
save_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS $ac_lbl_unknown_warning_option_error -Wpedantic"
+ CFLAGS="$CFLAGS $ac_lbl_unknown_warning_option_error -pedantic"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -7968,7 +7968,7 @@ if ac_fn_c_try_compile "$LINENO"; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
CFLAGS="$save_CFLAGS"
- V_CCOPT="$V_CCOPT -Wpedantic"
+ V_CCOPT="$V_CCOPT -pedantic"
else