summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-09-08 14:23:17 +0200
committerinfirit <[email protected]>2015-09-08 14:23:17 +0200
commitca6e8d35f029cc22dba9ff0a9be8a873e30aa7d2 (patch)
treeed746284f86f9b927592601dc582cb1de1fec74b /configure.ac
parent9beb2876641d84bdbfd5860dae998d3ac50d386c (diff)
downloadmate-screensaver-ca6e8d35f029cc22dba9ff0a9be8a873e30aa7d2.tar.bz2
mate-screensaver-ca6e8d35f029cc22dba9ff0a9be8a873e30aa7d2.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 0b28f38..379f9b1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -29,6 +29,12 @@ AC_SUBST(VERSION)
# Save flags to aclocal
ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
+# 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])
+
GETTEXT_PACKAGE=mate-screensaver
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Name of default gettext domain])