mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
build: disable vbox on cygwin
Cygwin cannot build the vbox driver yet: CC vbox/libvirt_driver_vbox_impl_la-vbox_glue.lo In file included from vbox/vbox_glue.c:27:0: vblox/vbox_XPCOMCGlue.c:63:3: error: #error "Port me" # error "Port me" ^ In file included from vbox/vbox_XPCOMCGlue.c:45:0, from vbox/vbox_glue.c:27: vbox/vbox_XPCOMCGlue.c: In function 'tryLoadOne': vbox/vbox_XPCOMCGlue.c:98:46: error: 'DYNLIB_NAME' undeclared (first use in this function) if (virAsprintf(&name, "%s/%s", dir, DYNLIB_NAME) < 0) ^ ./util/virstring.h:245:31: note: in definition of macro 'virAsprintf' strp, __VA_ARGS__) ^ Rather than trying to figure out how to get dynamic loading of vbox to work under cygwin (since I don't even have a working vbox setup to test whether it works), I'm going to be lazy and just default to not even trying vbox on cygwin.
This commit is contained in:
parent
68d4245d21
commit
df2fadfc6e
@ -175,12 +175,13 @@ dnl are also linux specific. The "network" and storage_fs drivers are known
|
|||||||
dnl to not work on MacOS X presently, so we also make a note if compiling
|
dnl to not work on MacOS X presently, so we also make a note if compiling
|
||||||
dnl for that
|
dnl for that
|
||||||
|
|
||||||
with_linux=no with_osx=no with_freebsd=no
|
with_linux=no with_osx=no with_freebsd=no with_win=no with_cygwin=no
|
||||||
case $host in
|
case $host in
|
||||||
*-*-linux*) with_linux=yes ;;
|
*-*-linux*) with_linux=yes ;;
|
||||||
*-*-darwin*) with_osx=yes ;;
|
*-*-darwin*) with_osx=yes ;;
|
||||||
*-*-freebsd*) with_freebsd=yes ;;
|
*-*-freebsd*) with_freebsd=yes ;;
|
||||||
*-*-mingw* | *-*-msvc* ) with_win=yes ;;
|
*-*-mingw* | *-*-msvc* ) with_win=yes ;;
|
||||||
|
*-*-cygwin*) with_cygwin=yes ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if test $with_linux = no; then
|
if test $with_linux = no; then
|
||||||
@ -193,10 +194,13 @@ fi
|
|||||||
|
|
||||||
if test $with_freebsd = yes; then
|
if test $with_freebsd = yes; then
|
||||||
want_ifconfig=yes
|
want_ifconfig=yes
|
||||||
|
|
||||||
with_firewalld=no
|
with_firewalld=no
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test $with_cygwin = yes; then
|
||||||
|
with_vbox=no
|
||||||
|
fi
|
||||||
|
|
||||||
AM_CONDITIONAL([WITH_LINUX], [test "$with_linux" = "yes"])
|
AM_CONDITIONAL([WITH_LINUX], [test "$with_linux" = "yes"])
|
||||||
AM_CONDITIONAL([WITH_FREEBSD], [test "$with_freebsd" = "yes"])
|
AM_CONDITIONAL([WITH_FREEBSD], [test "$with_freebsd" = "yes"])
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user