[[PATCH] [spice-common] 1/2] Update glib requirements to 2.38

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Eduardo Lima (Etrunko)" <etrunko@xxxxxxxxxx>

Recent logging tests make use of g_test_subprocess() and
g_test_trap_subprocess() functions, available only in glib newer than
2.38.

Signed-off-by: Eduardo Lima (Etrunko) <etrunko@xxxxxxxxxx>
---
 configure.ac     | 2 +-
 m4/spice-deps.m4 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 2ff985d..bfdf869 100644
--- a/configure.ac
+++ b/configure.ac
@@ -35,7 +35,7 @@ SPICE_CHECK_PYTHON_MODULES()
 SPICE_CHECK_PIXMAN
 SPICE_CHECK_SMARTCARD
 SPICE_CHECK_CELT051
-SPICE_CHECK_GLIB2
+SPICE_CHECK_GLIB2(2.38)
 SPICE_CHECK_OPUS
 SPICE_CHECK_OPENGL
 
diff --git a/m4/spice-deps.m4 b/m4/spice-deps.m4
index 88edf7e..ecae80a 100644
--- a/m4/spice-deps.m4
+++ b/m4/spice-deps.m4
@@ -173,7 +173,7 @@ AC_DEFUN([SPICE_CHECK_PIXMAN], [
 # use in the GLIB2_CFLAGS and GLIB2_LIBS variables.
 #------------------
 AC_DEFUN([SPICE_CHECK_GLIB2], [
-    PKG_CHECK_MODULES(GLIB2, glib-2.0 >= 2.22 gio-2.0 >= 2.22)
+    PKG_CHECK_MODULES(GLIB2, glib-2.0 >= $1 gio-2.0 >= $1)
 ])
 
 # SPICE_CHECK_PYTHON_MODULES()
-- 
1.8.3.1

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]