mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-26 02:28:37 +00:00
client: make building client optional
This commit is contained in:
parent
afffe11e66
commit
06c83ca994
@ -1,4 +1,8 @@
|
||||
SUBDIRS = common server client python_modules
|
||||
SUBDIRS = common server python_modules
|
||||
|
||||
if SUPPORT_CLIENT
|
||||
SUBDIRS += client
|
||||
endif
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = spice-server.pc
|
||||
|
||||
@ -123,6 +123,12 @@ if test "x$enable_smartcard" = "xyes"; then
|
||||
AC_DEFINE(USE_SMARTCARD, [1], [Define if supporting smartcard proxying])
|
||||
fi
|
||||
|
||||
AC_ARG_ENABLE(client,
|
||||
[ --enable-client Enable spice client],,
|
||||
[enable_client="yes"])
|
||||
AS_IF([test x"$enable_client" != "xno"], [enable_client="yes"])
|
||||
AM_CONDITIONAL(SUPPORT_CLIENT, test "x$enable_client" = "xyes")
|
||||
|
||||
dnl =========================================================================
|
||||
dnl Check deps
|
||||
|
||||
@ -517,6 +523,8 @@ echo "
|
||||
c compiler: ${CC}
|
||||
c++ compiler: ${CXX}
|
||||
|
||||
Build Spice client: ${enable_client}
|
||||
|
||||
Have XRANDR 1.2: ${have_xrandr12}
|
||||
|
||||
Support tunneling: ${enable_tunnel}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user