summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-09-08 14:38:03 +0200
committerinfirit <[email protected]>2015-09-08 14:39:26 +0200
commit5205a6a103cb35f5381effb3a79571ad9b5d57bc (patch)
tree4a3ce2d34167ee8b56ae5ed4495a24942c674847 /configure.ac
parent58c1d1c25d138c0b154e074c2c5b667551ac5239 (diff)
downloadmate-sensors-applet-5205a6a103cb35f5381effb3a79571ad9b5d57bc.tar.bz2
mate-sensors-applet-5205a6a103cb35f5381effb3a79571ad9b5d57bc.tar.xz
define max/min version of GLib
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 665d13b..0c5cd4e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -10,6 +10,12 @@ AM_INIT_AUTOMAKE([dist-xz no-dist-gzip check-news])
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
AM_MAINTAINER_MODE
+# ======= 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])
+
# ============== basic compiler settings ============= #
AC_PROG_CC
AC_HEADER_STDC