mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-18 18:45:16 +00:00
uml: only build on Linux
This commit is contained in:
parent
f1f08e63c6
commit
4a5f8669cc
@ -23,8 +23,12 @@ AC_DEFUN([LIBVIRT_DRIVER_CHECK_UML],[
|
|||||||
[add UML support @<:@default=check@:>@])])
|
[add UML support @<:@default=check@:>@])])
|
||||||
m4_divert_text([DEFAULTS], [with_uml=check])
|
m4_divert_text([DEFAULTS], [with_uml=check])
|
||||||
|
|
||||||
if test "$with_libvirtd" = "no" ; then
|
if test "$with_libvirtd" = "no" || test "$with_linux" = "no"; then
|
||||||
with_uml=no
|
if test "$with_uml" = "yes"; then
|
||||||
|
AC_MSG_ERROR([The UML driver cannot be enabled])
|
||||||
|
elif test "$with_uml" = "check"; then
|
||||||
|
with_uml="no"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$with_uml" = "yes" || test "$with_uml" = "check"; then
|
if test "$with_uml" = "yes" || test "$with_uml" = "check"; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user