mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-09 14:35:25 +00:00
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 <phrdina@redhat.com>
This commit is contained in:
parent
41872ffade
commit
368e143a1c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user