[Spice-devel] [common PATCH 2/3 v3] m4: Require glib version >= 2.22

Lukas Venhoda lvenhoda at redhat.com
Wed Oct 14 07:57:34 PDT 2015


This is required by the new IPv6 verify_hostname.
---
Changes since v2:
 - New patch
---
 m4/spice-deps.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/m4/spice-deps.m4 b/m4/spice-deps.m4
index e4b2c8d..8ef4835 100644
--- a/m4/spice-deps.m4
+++ b/m4/spice-deps.m4
@@ -155,7 +155,7 @@ AC_DEFUN([SPICE_CHECK_PIXMAN], [
 # use to the $PREFIX_CFLAGS and $PREFIX_LIBS variables.
 #---------------------------
 AC_DEFUN([SPICE_CHECK_GLIB2], [
-    PKG_CHECK_MODULES(GLIB2, glib-2.0)
+    PKG_CHECK_MODULES(GLIB2, glib-2.0 >= 2.22)
     AS_VAR_APPEND([$1_CFLAGS], [" $GLIB2_CFLAGS"])
     AS_VAR_APPEND([$1_LIBS], [" $GLIB2_LIBS"])
 ])
--
2.4.3



More information about the Spice-devel mailing list