summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2018-01-29 09:51:17 +0000
committerSimon McVittie <smcv@debian.org>2018-01-29 09:51:24 +0000
commitb11785edc907e05a6cf42cc406c42863c1e591c5 (patch)
treede9699402ce475f2487143d90aac29bb72f4f3d6
parent7945a3738f425508342b1ec06f9ffb2e433f7733 (diff)
downloaddbus-glib-b11785edc907e05a6cf42cc406c42863c1e591c5.tar.gz
Require GLib 2.40, for g_thread_new
Signed-off-by: Simon McVittie <smcv@debian.org>
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 4c49836..c5de00b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -259,11 +259,11 @@ AC_SUBST([DBUS_CFLAGS])
AC_SUBST([DBUS_LIBS])
# Glib detection
-AC_DEFINE([GLIB_VERSION_MAX_ALLOWED], [GLIB_VERSION_2_32],
- [Warn on use of APIs added after GLib 2.32])
+AC_DEFINE([GLIB_VERSION_MAX_ALLOWED], [GLIB_VERSION_2_40],
+ [Warn on use of APIs added after GLib 2.40])
AC_DEFINE([GLIB_VERSION_MIN_REQUIRED], [GLIB_VERSION_2_32],
[Warn on use of APIs deprecated before GLib 2.32])
-PKG_CHECK_MODULES([GLIB], [gobject-2.0 >= 2.32, gio-2.0 >= 2.32])
+PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.40, gobject-2.0 >= 2.40, gio-2.0 >= 2.40])
GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
AC_SUBST(GLIB_GENMARSHAL)