mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 11:35:19 +00:00
configure: move qemu bridge helper check to qemu driver file
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
3138d6993e
commit
68649d1007
@ -1500,10 +1500,6 @@ fi
|
|||||||
AM_CONDITIONAL([WITH_INTERFACE], [test "$with_interface" = "yes"])
|
AM_CONDITIONAL([WITH_INTERFACE], [test "$with_interface" = "yes"])
|
||||||
|
|
||||||
|
|
||||||
AC_PATH_PROG([QEMU_BRIDGE_HELPER], [qemu-bridge-helper], [/usr/libexec/qemu-bridge-helper],
|
|
||||||
[/usr/libexec:/usr/lib/qemu:/usr/lib])
|
|
||||||
AC_DEFINE_UNQUOTED([QEMU_BRIDGE_HELPER], ["$QEMU_BRIDGE_HELPER"], [QEMU bridge helper])
|
|
||||||
|
|
||||||
dnl GET_VLAN_VID_CMD is required for virNetDevGetVLanID
|
dnl GET_VLAN_VID_CMD is required for virNetDevGetVLanID
|
||||||
AC_CHECK_DECLS([GET_VLAN_VID_CMD], [], [], [[#include <linux/if_vlan.h>]])
|
AC_CHECK_DECLS([GET_VLAN_VID_CMD], [], [], [[#include <linux/if_vlan.h>]])
|
||||||
|
|
||||||
|
@ -51,6 +51,12 @@ AC_DEFUN([LIBVIRT_DRIVER_CHECK_QEMU], [
|
|||||||
fi
|
fi
|
||||||
AC_DEFINE_UNQUOTED([QEMU_USER], ["$QEMU_USER"], [QEMU user account])
|
AC_DEFINE_UNQUOTED([QEMU_USER], ["$QEMU_USER"], [QEMU user account])
|
||||||
AC_DEFINE_UNQUOTED([QEMU_GROUP], ["$QEMU_GROUP"], [QEMU group account])
|
AC_DEFINE_UNQUOTED([QEMU_GROUP], ["$QEMU_GROUP"], [QEMU group account])
|
||||||
|
|
||||||
|
AC_PATH_PROG([QEMU_BRIDGE_HELPER], [qemu-bridge-helper],
|
||||||
|
[/usr/libexec/qemu-bridge-helper],
|
||||||
|
[/usr/libexec:/usr/lib/qemu:/usr/lib])
|
||||||
|
AC_DEFINE_UNQUOTED([QEMU_BRIDGE_HELPER], ["$QEMU_BRIDGE_HELPER"],
|
||||||
|
[QEMU bridge helper])
|
||||||
])
|
])
|
||||||
|
|
||||||
AC_DEFUN([LIBVIRT_DRIVER_RESULT_QEMU], [
|
AC_DEFUN([LIBVIRT_DRIVER_RESULT_QEMU], [
|
||||||
|
Loading…
Reference in New Issue
Block a user