提交 6b3ce82d 编写于 作者: D Daniel Veillard

Don't try to build qemu and lxc on non-Linux platforms

as their drivers requires linux only headers
上级 d707c866
......@@ -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],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册