changeset 2518:5d772a4e7dd7

Support glib >= 2.32. 2012-04-06 Andrew John Hughes <ahughes@redhat.com> * acinclude.m4: (IT_CHECK_FOR_GTK): Work with glib >= 2.32 by explicitly asking for gthread.
author Andrew John Hughes <ahughes@redhat.com>
date Fri, 06 Apr 2012 18:28:57 +0100
parents 8ea793eccbd1
children ae30f070f936
files ChangeLog acinclude.m4
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Apr 03 01:16:08 2012 +0100
+++ b/ChangeLog	Fri Apr 06 18:28:57 2012 +0100
@@ -1,3 +1,9 @@
+2012-04-06  Andrew John Hughes  <ahughes@redhat.com>
+
+	* acinclude.m4:
+	(IT_CHECK_FOR_GTK): Work with glib >= 2.32
+	by explicitly asking for gthread.
+
 2012-03-29  Andrew John Hughes  <ahughes@redhat.com>
 
          * Makefile.am:
--- a/acinclude.m4	Tue Apr 03 01:16:08 2012 +0100
+++ b/acinclude.m4	Fri Apr 06 18:28:57 2012 +0100
@@ -2011,7 +2011,7 @@
   AC_MSG_RESULT(${ENABLE_SYSTEM_GTK})
   if test x"${ENABLE_SYSTEM_GTK}" = "xyes"; then
     dnl Check for Gtk+ headers and libraries.
-    PKG_CHECK_MODULES(GTK, gtk+-2.0,[GTK_FOUND=yes],[GTK_FOUND=no])
+    PKG_CHECK_MODULES(GTK, gtk+-2.0 gthread-2.0,[GTK_FOUND=yes],[GTK_FOUND=no])
     if test "x${GTK_FOUND}" = xno
     then
       AC_MSG_ERROR([Could not find Gtk+; install Gtk+ or build with --disable-system-gtk to use the in-tree headers.])