1
0
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:
Daniel Veillard 2010-04-27 10:11:21 +02:00
parent d707c86633
commit 6b3ce82d98

View File

@ -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],