at 18.03-beta 32 lines 1.6 kB view raw
1diff --git a/configure.ac b/configure.ac 2index 001ebfc2893b..7d19ebcd213f 100644 3--- a/configure.ac 4+++ b/configure.ac 5@@ -215,7 +215,7 @@ AC_SUBST([testdir]) 6 ########################################################################## 7 AM_CONDITIONAL([netmap_support], [test x$netmap_support = xyes ]) 8 AM_CONDITIONAL([PKTIO_DPDK], [test x$pktio_dpdk_support = xyes ]) 9-AM_CONDITIONAL([HAVE_PCAP], [test $have_pcap = yes]) 10+AM_CONDITIONAL([HAVE_PCAP], [test x$have_pcap = xyes]) 11 AM_CONDITIONAL([DPDK_DEFAULT_DIR], [test "x${DPDK_DEFAULT_DIR}" = "x1"]) 12 AM_CONDITIONAL([test_installdir], [test "$testdir" != ""]) 13 AM_CONDITIONAL([cunit_support], [test x$cunit_support = xyes ]) 14@@ -320,18 +320,6 @@ ODP_CFLAGS="$ODP_CFLAGS -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonli 15 ODP_CFLAGS="$ODP_CFLAGS -Wformat-security -Wundef -Wwrite-strings" 16 ODP_CFLAGS="$ODP_CFLAGS -std=gnu99" 17 18-dnl Use -Werror in the checks below since Clang emits a warning instead of 19-dnl an error when it encounters an unknown warning option. 20-AX_CHECK_COMPILE_FLAG([-Wimplicit-fallthrough=0], 21- [ODP_CFLAGS="$ODP_CFLAGS -Wimplicit-fallthrough=0"], 22- [], [-Werror]) 23-AX_CHECK_COMPILE_FLAG([-Wformat-truncation=0], 24- [ODP_CFLAGS="$ODP_CFLAGS -Wformat-truncation=0"], 25- [], [-Werror]) 26-AX_CHECK_COMPILE_FLAG([-Wformat-overflow=0], 27- [ODP_CFLAGS="$ODP_CFLAGS -Wformat-overflow=0"], 28- [], [-Werror]) 29- 30 # Extra flags for example to suppress certain warning types 31 ODP_CFLAGS="$ODP_CFLAGS $ODP_CFLAGS_EXTRA" 32