changeset 2536:ab3f4766a208

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 75954b8de67b
children d9400e955e0f
files ChangeLog acinclude.m4
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Mar 27 14:06:49 2012 +0200
+++ 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-27  Mark Wielaard  <mjw@redhat.com>
 
 	* patches/systemtap.patch: Rewrite using just USDT1 with macros
--- a/acinclude.m4	Tue Mar 27 14:06:49 2012 +0200
+++ 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.])