summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-09-06 16:22:42 +0200
committerinfirit <[email protected]>2015-09-06 16:22:42 +0200
commitbac8cb18598416a7caaf3c3325f28e12563aab00 (patch)
tree8ae4cd45150d7da958bb41833853cd483b0f4d64 /configure.ac
parent9ef7e261d4a9ea536d6f467c2b9bd1381bcd73aa (diff)
downloadmate-panel-bac8cb18598416a7caaf3c3325f28e12563aab00.tar.bz2
mate-panel-bac8cb18598416a7caaf3c3325f28e12563aab00.tar.xz
define max/min version of GLib
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 94d59bb8..ccb671f4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -29,6 +29,12 @@ AC_PROG_LIBTOOL
#AC_PROG_SED available in 2.59b
AM_PROG_CC_C_O
+# 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_PATH_PYTHON
AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal)