From 368e143a1c14a46bcfee5560c68cdf6fa84a55ef Mon Sep 17 00:00:00 2001 From: Pavel Hrdina Date: Mon, 12 Dec 2016 09:57:37 +0100 Subject: [PATCH] m4/virt-libpcap: remove unreasonable dependency on QEMU Libpcap is used by nwfilter driver and it could be build without QEMU driver. Signed-off-by: Pavel Hrdina --- m4/virt-libpcap.m4 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/m4/virt-libpcap.m4 b/m4/virt-libpcap.m4 index a360194ee7..9cf47e66ab 100644 --- a/m4/virt-libpcap.m4 +++ b/m4/virt-libpcap.m4 @@ -28,9 +28,8 @@ AC_DEFUN([LIBVIRT_CHECK_LIBPCAP], [ LIBPCAP_LIBS="" LIBPCAP_FOUND="no" - if test "$with_qemu" = "yes"; then + if test "x$with_libpcap" != "xno"; then case $with_libpcap in - no) LIBPCAP_CONFIG= ;; ''|yes|check) LIBPCAP_CONFIG="pcap-config" ;; *) LIBPCAP_CONFIG="$with_libpcap/bin/pcap-config" ;; esac