gegl r2431 - trunk



Author: mitch
Date: Fri Jun 13 08:52:24 2008
New Revision: 2431
URL: http://svn.gnome.org/viewvc/gegl?rev=2431&view=rev

Log:
2008-06-13  Michael Natterer  <mitch gimp org>

	* configure.ac: use G_DISABLE_DEPRECATED for glib < 2.17, add
	G_DISABLE_SINGLE_INCLUDES to CPPFLAGS unconditionally.



Modified:
   trunk/ChangeLog
   trunk/configure.ac

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac	(original)
+++ trunk/configure.ac	Fri Jun 13 08:52:24 2008
@@ -491,18 +491,20 @@
 # Disable deprecated APIs
 #########################
 
-AC_MSG_CHECKING([if GLib is version 2.15.0 or newer])
-if $PKG_CONFIG --atleast-version=2.15.0 glib-2.0; then
-  have_glib_2_15=yes
+AC_MSG_CHECKING([if GLib is version 2.17.0 or newer])
+if $PKG_CONFIG --atleast-version=2.17.0 glib-2.0; then
+  have_glib_2_17=yes
 else
-  have_glib_2_15=no
+  have_glib_2_17=no
 fi
-AC_MSG_RESULT($have_glib_2_15)
+AC_MSG_RESULT($have_glib_2_17)
 
-if test "x$have_glib_2_15" != "xyes"; then
+if test "x$have_glib_2_17" != "xyes"; then
   CPPFLAGS="${CPPFLAGS} -DG_DISABLE_DEPRECATED"
 fi
 
+CPPFLAGS="${CPPFLAGS} -DG_DISABLE_SINGLE_INCLUDES"
+
 
 ######################################
 # Checks for gtk-doc and docbook-tools



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