summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-09-08 12:27:58 +0200
committerinfirit <[email protected]>2015-09-08 12:27:58 +0200
commitc792c5061d0e93fafcf12010d73d84be5bd3a94c (patch)
treebb9f296be33328a0fb44e112d890f67ac93f548d
parentcec1b15a7cc94fd9dd935397e8bd4aa4bacdf48b (diff)
downloadmate-desktop-c792c5061d0e93fafcf12010d73d84be5bd3a94c.tar.bz2
mate-desktop-c792c5061d0e93fafcf12010d73d84be5bd3a94c.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 530b6aa..aaeea77 100644
--- a/configure.ac
+++ b/configure.ac
@@ -30,6 +30,12 @@ AC_SUBST(LT_VERSION)
AM_MAINTAINER_MODE
+# 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])
+
IT_PROG_INTLTOOL([0.50.1])
AC_PROG_CC