summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-09-09 10:31:30 +0200
committerinfirit <[email protected]>2015-09-09 10:31:30 +0200
commit0562d253a1162794045657764513e6509bdbbefe (patch)
tree1b5e8cb47f089655e3b2fb5e8c67ee06d1585183
parent7a2efb36f48c9fad63590e251f91242ef1fe6d49 (diff)
downloadmate-power-manager-0562d253a1162794045657764513e6509bdbbefe.tar.bz2
mate-power-manager-0562d253a1162794045657764513e6509bdbbefe.tar.xz
Add min/max glib versions
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index eee06d9..a13d439 100644
--- a/configure.ac
+++ b/configure.ac
@@ -19,6 +19,12 @@ IT_PROG_INTLTOOL([0.50.1])
MATE_COMPILE_WARNINGS
YELP_HELP_INIT
+# 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])
+
AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal)
dnl ---------------------------------------------------------------------------