summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-09-09 15:20:58 +0200
committerinfirit <[email protected]>2015-09-09 15:20:58 +0200
commit9de79c7ec05b8031559766a163f5d76e58785a06 (patch)
treed992a15a4daa3f01402d8268929b6afb53c1843a
parent9aaeb5509420442b9ead6a8bbbb9b7ab32c38cdf (diff)
downloadmate-notification-daemon-9de79c7ec05b8031559766a163f5d76e58785a06.tar.bz2
mate-notification-daemon-9de79c7ec05b8031559766a163f5d76e58785a06.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 3ddb637..3abbbb7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -38,6 +38,12 @@ AC_DEFINE_UNQUOTED(NOTIFICATION_DAEMON_MICRO_VERSION, $NOTIFICATION_DAEMON_MICRO
AC_DEFINE_UNQUOTED(NOTIFICATION_DAEMON_VERSION, "$NOTIFICATION_DAEMON_VERSION",
[mate-notification-daemon version.])
+# 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])
+
dnl ################################################################
dnl # Initialize automake
dnl ################################################################