define max/min version of GLib

master-1.22
infirit 2015-09-08 15:46:23 +02:00
parent 276f7b995a
commit 7a061843ee
1 changed files with 6 additions and 0 deletions

View File

@ -36,6 +36,12 @@ MATE_DEBUG_CHECK
MATE_COMPILE_WARNINGS([maximum])
#MATE_MAINTAINER_MODE_DEFINES
# 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
GLIB_REQUIRED=2.36.0