changeset 2489:b2b7ee69a5cd

Check for GIO >= 2.26 for GSettings. 2011-09-30 Andrew John Hughes <ahughes@redhat.com> * acinclude.m4: (IT_CHECK_FOR_GIO): Require 2.26 and above for GSettings.
author Andrew John Hughes <ahughes@redhat.com>
date Fri, 30 Sep 2011 16:32:13 +0100
parents cbaa865cf6f3
children 199deef2195e
files ChangeLog acinclude.m4
diffstat 2 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Sep 30 05:42:54 2011 +0100
+++ b/ChangeLog	Fri Sep 30 16:32:13 2011 +0100
@@ -1,3 +1,9 @@
+2011-09-30  Andrew John Hughes  <ahughes@redhat.com>
+
+	* acinclude.m4:
+	(IT_CHECK_FOR_GIO): Require 2.26 and
+	above for GSettings.
+
 2011-09-30  Andrew John Hughes  <ahughes@redhat.com>
 
 	Bump changesets to bring in fix which
--- a/acinclude.m4	Fri Sep 30 05:42:54 2011 +0100
+++ b/acinclude.m4	Fri Sep 30 16:32:13 2011 +0100
@@ -2037,10 +2037,10 @@
   AC_MSG_RESULT(${ENABLE_SYSTEM_GIO})
   if test x"${ENABLE_SYSTEM_GIO}" = "xyes"; then
     dnl Check for Gio+ headers and libraries.
-    PKG_CHECK_MODULES(GIO, gio-2.0,[GIO_FOUND=yes],[GIO_FOUND=no])
+    PKG_CHECK_MODULES(GIO, gio-2.0 >= 2.26,[GIO_FOUND=yes],[GIO_FOUND=no])
     if test "x${GIO_FOUND}" = xno
     then
-      AC_MSG_ERROR([Could not find GIO; install GIO or build with --disable-system-gio to use the in-tree headers.])
+      AC_MSG_ERROR([Could not find GIO >= 2.26; install GIO or build with --disable-system-gio to use the in-tree headers.])
     fi
     AC_SUBST(GIO_CFLAGS)
     AC_SUBST(GIO_LIBS)