From 87a96981713ee9dc13c5e835fe20f9594a7ce36d Mon Sep 17 00:00:00 2001 From: raveit65 Date: Wed, 2 Sep 2015 18:04:47 +0200 Subject: Bump GLib/GIO version and define max/min version of GLib --- configure.ac | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index e69ce9f..f464a3d 100644 --- a/configure.ac +++ b/configure.ac @@ -44,6 +44,12 @@ GTK_DOC_CHECK(1.9) AC_CHECK_FUNCS(strptime) +# GLib min/max required versions +AC_DEFINE([GLIB_VERSION_MAX_ALLOWED], [GLIB_VERSION_2_36], + [Warn on use of APIs added after GLib 2.36]) +AC_DEFINE([GLIB_VERSION_MIN_REQUIRED], [GLIB_VERSION_2_36], + [Warn on use of APIs deprecated before GLib 2.36]) + # **************************************************************** # Support for nl_langinfo (_NL_MEASUREMENT_MEASUREMENT) (optional) # **************************************************************** @@ -107,8 +113,8 @@ esac AC_SUBST(GTK_API_VERSION) AM_CONDITIONAL([HAVE_GTK3], [test "x$GTK_API_VERSION" = "x3.0"]) -GLIB_REQUIRED=2.25.9 -GIO_REQUIRED=2.25.9 +GLIB_REQUIRED=2.36.0 +GIO_REQUIRED=2.36.0 MATE_DESKTOP_REQUIRED=1.9.1 GDKPIXBUF_REQUIRED=2.4.0 MATE_ICON_THEME_REQUIRED=1.1.0 -- cgit v1.2.1