[PATCH 24/89] m4/virt-libpcap: remove unreasonable dependency on QEMU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Libpcap is used by nwfilter driver and it could be build without QEMU
driver.

Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx>
---
 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
-- 
2.11.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux