summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-09-08 15:46:23 +0200
committerinfirit <[email protected]>2015-09-08 15:46:23 +0200
commit7a061843ee6f2a6dee825c49f4c39126b34bd80b (patch)
treee7fcb90837c8281353ef83efa00638309288941c
parent276f7b995a8b9633c0feede436bbf1889ca7123e (diff)
downloadmate-terminal-7a061843ee6f2a6dee825c49f4c39126b34bd80b.tar.bz2
mate-terminal-7a061843ee6f2a6dee825c49f4c39126b34bd80b.tar.xz
define max/min version of GLib
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 72ae3da..5057fca 100644
--- a/configure.ac
+++ b/configure.ac
@@ -36,6 +36,12 @@ MATE_DEBUG_CHECK
MATE_COMPILE_WARNINGS([maximum])
#MATE_MAINTAINER_MODE_DEFINES
+# 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])
+
AM_GLIB_GNU_GETTEXT
GLIB_REQUIRED=2.36.0