[virt-tools-list] [PATCH virt-viewer 1/2] configure: Enable spice-gtk when have all necessary spice packages
Pavel Grunt
pgrunt at redhat.com
Mon Jun 29 11:18:19 UTC 2015
Avoid failing configure with an older spice-protocol
---
configure.ac | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 3399129..df0053d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -180,7 +180,8 @@ AC_ARG_WITH([spice-gtk],
AS_IF([test "x$with_spice_gtk" != "xno"],
[PKG_CHECK_MODULES(SPICE_GTK,
- [spice-client-gtk-$SPICE_GTK_API_VERSION >= $SPICE_GTK_REQUIRED],
+ [spice-client-gtk-$SPICE_GTK_API_VERSION >= $SPICE_GTK_REQUIRED
+ spice-controller spice-protocol >= $SPICE_PROTOCOL_REQUIRED],
[have_spice_gtk=yes], [have_spice_gtk=no])],
[have_spice_gtk=no])
--
2.4.5
More information about the virt-tools-list
mailing list