/hg/icedtea7: Check for GIO >= 2.26 for GSettings.

andrew at icedtea.classpath.org andrew at icedtea.classpath.org
Fri Sep 30 08:32:29 PDT 2011


changeset fbad82bc6985 in /hg/icedtea7
details: http://icedtea.classpath.org/hg/icedtea7?cmd=changeset;node=fbad82bc6985
author: Andrew John Hughes <ahughes at redhat.com>
date: Fri Sep 30 16:32:13 2011 +0100

	Check for GIO >= 2.26 for GSettings.

	2011-09-30 Andrew John Hughes <ahughes at redhat.com>

	 * acinclude.m4: (IT_CHECK_FOR_GIO): Require 2.26 and
	above for GSettings.


diffstat:

 ChangeLog    |  6 ++++++
 acinclude.m4 |  4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 15866ac3f41b -r fbad82bc6985 ChangeLog
--- 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 at redhat.com>
+
+	* acinclude.m4:
+	(IT_CHECK_FOR_GIO): Require 2.26 and
+	above for GSettings.
+
 2011-09-30  Andrew John Hughes  <ahughes at redhat.com>
 
 	Bump changesets to bring in fix which
diff -r 15866ac3f41b -r fbad82bc6985 acinclude.m4
--- 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)



More information about the distro-pkg-dev mailing list