mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 21:34:54 +03:00
Don't try to build qemu and lxc on non-Linux platforms
as their drivers requires linux only headers
This commit is contained in:
parent
d707c86633
commit
6b3ce82d98
12
configure.ac
12
configure.ac
@ -209,6 +209,18 @@ if test "$prefix" = "/usr" && test "$sysconfdir" = '${prefix}/etc' ; then
|
||||
sysconfdir='/etc'
|
||||
fi
|
||||
|
||||
dnl lxc and qemu drivers require linux headers
|
||||
if test `uname -s` != "Linux"
|
||||
then
|
||||
if test "x$with_lxc" != "xyes"
|
||||
then
|
||||
with_lxc=no
|
||||
fi
|
||||
if test "x$with_qemu" != "xyes"
|
||||
then
|
||||
with_qemu=no
|
||||
fi
|
||||
fi
|
||||
|
||||
dnl Allow to build without Xen, QEMU/KVM, test or remote driver
|
||||
AC_ARG_WITH([xen],
|
||||
|
Loading…
Reference in New Issue
Block a user