Fail if neither vnc nor spice is detected

Since the viewer makes little sense otherwise.
This commit is contained in:
Guido Günther 2012-10-24 09:05:01 +02:00 committed by Christophe Fergeau
parent 8b06fb7319
commit 7083a07a92

View File

@ -192,6 +192,10 @@ if test "x$enable_plugin" = "xyes"; then
fi
AM_CONDITIONAL(ENABLE_PLUGIN, [test "x$enable_plugin" = "xyes"])
if test "x$have_gtk_vnc" != "xyes" && test "x$have_gtk_spice" != "xyes"; then
AC_MSG_ERROR([At least one of spice or vnc must be used])
fi
AC_OUTPUT([
Makefile
data/Makefile