Fix spice-gtk check in configure.ac

The check that at least one of spice-gtk and gtk-vnc is present
uses a wrong variable name to check for spice-gtk presence, which
causes the check to think it's never present. This would make
gtk-vnc presence mandatory. This commit fixes the name of the
spice-gtk variable ($have_gtk_spice -> $have_spice_gtk).
This commit is contained in:
Christophe Fergeau 2012-11-13 11:39:57 +01:00
parent 9983fe74dd
commit 6d35a443da

View File

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