[virt-tools-list] [virt-viewer] Fix spice-gtk check in configure.ac

Christophe Fergeau cfergeau at redhat.com
Tue Nov 13 10:42:57 UTC 2012


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).
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index f72e615..4857620 100644
--- a/configure.ac
+++ b/configure.ac
@@ -192,7 +192,7 @@ 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
+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])
 fi
 
-- 
1.8.0




More information about the virt-tools-list mailing list