From bf04794b99e7248af922b3a5c95a7446ff6571e9 Mon Sep 17 00:00:00 2001 From: infirit Date: Tue, 8 Sep 2015 15:30:53 +0200 Subject: define max/min version of GLib --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) 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") -- cgit v1.2.1