On Fri, Dec 16, 2016 at 10:10:52 +0100, Pavel Hrdina wrote:
Libpcap is used by nwfilter driver and it could be build without
QEMU
driver.
Signed-off-by: Pavel Hrdina <phrdina(a)redhat.com>
---
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
ACK
Jirka