]> The Tcpdump Group git mirrors - tcpdump/commitdiff
'-pedantic' option is supported by Travis, '-Wpedantic' is not
authorFrancois-Xavier Le Bail <[email protected]>
Wed, 9 Sep 2015 06:06:39 +0000 (08:06 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Wed, 9 Sep 2015 06:06:39 +0000 (08:06 +0200)
aclocal.m4
configure

index 64ed979b405929cb2f9bb85e23b13d50f8237b83..acb4e7d9b1c2922a08383b2364467e2670aa3a28 100644 (file)
@@ -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
index e93add3f645a5a3493679c28310775b693333b3c..1968499c29fab95fd02e570e3bc64e842e3c4836 100755 (executable)
--- 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