summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-09-08 15:30:53 +0200
committerinfirit <[email protected]>2015-09-08 15:30:53 +0200
commitbf04794b99e7248af922b3a5c95a7446ff6571e9 (patch)
tree9c96f57500e611f7a1f69855503cd94ea5d21613
parent36aaf5759c1beececce2b161b47de7c6337bb279 (diff)
downloadmate-settings-daemon-bf04794b99e7248af922b3a5c95a7446ff6571e9.tar.bz2
mate-settings-daemon-bf04794b99e7248af922b3a5c95a7446ff6571e9.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 80c52b4..7ec6b33 100644
--- a/configure.ac
+++ b/configure.ac
@@ -35,6 +35,12 @@ GETTEXT_PACKAGE=mate-settings-daemon
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Name of default gettext domain])
+# 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
AS_AC_EXPAND(LIBEXECDIR, "$libexecdir")