mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-18 10:35:20 +00:00
Disable libvirtd by default when building on Win32
We don't support building libvirtd on Win32 since we lack the fork/exec feature needed for the stateful drivers. Disable this by default, so users can just do 'mingw32-configure' with no special args required. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
37697d828b
commit
0e285a588a
@ -85,8 +85,7 @@ if test -x /usr/bin/i686-w64-mingw32-gcc ; then
|
|||||||
--host=i686-w64-mingw32 \
|
--host=i686-w64-mingw32 \
|
||||||
--prefix="$AUTOBUILD_INSTALL_ROOT/i686-w64-mingw32/sys-root/mingw" \
|
--prefix="$AUTOBUILD_INSTALL_ROOT/i686-w64-mingw32/sys-root/mingw" \
|
||||||
--enable-expensive-tests \
|
--enable-expensive-tests \
|
||||||
--enable-werror \
|
--enable-werror
|
||||||
--without-libvirtd
|
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make install
|
||||||
@ -105,8 +104,7 @@ if test -x /usr/bin/x86_64-w64-mingw32-gcc ; then
|
|||||||
--host=x86_64-w64-mingw32 \
|
--host=x86_64-w64-mingw32 \
|
||||||
--prefix="$AUTOBUILD_INSTALL_ROOT/x86_64-w64-mingw32/sys-root/mingw" \
|
--prefix="$AUTOBUILD_INSTALL_ROOT/x86_64-w64-mingw32/sys-root/mingw" \
|
||||||
--enable-expensive-tests \
|
--enable-expensive-tests \
|
||||||
--enable-werror \
|
--enable-werror
|
||||||
--without-libvirtd
|
|
||||||
|
|
||||||
make
|
make
|
||||||
make install
|
make install
|
||||||
|
@ -175,6 +175,7 @@ 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 ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if test $with_linux = no; then
|
if test $with_linux = no; then
|
||||||
@ -194,6 +195,11 @@ 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"])
|
||||||
|
|
||||||
|
# We don't support the daemon yet
|
||||||
|
if test "$with_win" = "yes" ; then
|
||||||
|
with_libvirtd=no
|
||||||
|
fi
|
||||||
|
|
||||||
# The daemon requires remote support. Likewise, if we are not using
|
# The daemon requires remote support. Likewise, if we are not using
|
||||||
# RPC, we don't need several libraries.
|
# RPC, we don't need several libraries.
|
||||||
if test "$with_remote" = "no" ; then
|
if test "$with_remote" = "no" ; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user