diff --git a/.gnulib b/.gnulib index 980f9d2ceb..ce083ca023 160000 --- a/.gnulib +++ b/.gnulib @@ -1 +1 @@ -Subproject commit 980f9d2ceb43f9d86ea57db0367e569267c8571b +Subproject commit ce083ca023ca1e479dc48ee9934878f42e81cb79 diff --git a/configure.ac b/configure.ac index 558bb7757b..c44d0246eb 100644 --- a/configure.ac +++ b/configure.ac @@ -1211,11 +1211,11 @@ LIBPCAP_FOUND="no" AC_ARG_WITH([libpcap], AC_HELP_STRING([--with-libpcap=@<:@PFX@:>@], [libpcap location])) if test "$with_qemu" = "yes"; then - AS_CASE(["x$with_libpcap"], - [xno], [LIBPCAP_CONFIG=""], - [x|xyes], [LIBPCAP_CONFIG="pcap-config"], - [LIBPCAP_CONFIG="$with_libpcap/bin/pcap-config"] - ) + case $with_libpcap in + no) LIBPCAP_CONFIG= ;; + ''|yes) LIBPCAP_CONFIG="pcap-config" ;; + *) LIBPCAP_CONFIG="$with_libpcap/bin/pcap-config" ;; + esac AS_IF([test "x$LIBPCAP_CONFIG" != "x"], [ AC_MSG_CHECKING(libpcap $LIBPCAP_CONFIG >= $LIBPCAP_REQUIRED ) if ! $LIBPCAP_CONFIG --libs > /dev/null 2>&1 ; then