From 7083a07a92cea0ffad1880cc22f170f12f39e96e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Wed, 24 Oct 2012 09:05:01 +0200 Subject: [PATCH] Fail if neither vnc nor spice is detected Since the viewer makes little sense otherwise. --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index e7ddd3e..f72e615 100644 --- a/configure.ac +++ b/configure.ac @@ -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