summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 3646a63d..45423a34 100644
--- a/configure.ac
+++ b/configure.ac
@@ -25,6 +25,12 @@ if test "x$GCC" = "xyes"; then
fi
changequote([,])dnl
+# 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])
+
# Internationalization support
IT_PROG_INTLTOOL([0.50.1])