From b5528d7ff526d700aab5b9e11aed871180d4f81e Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 16 Sep 2014 13:32:45 +0100 Subject: Require a modern libdbus and a modern GLib This means we can assume that GLib and libdbus are thread-safe by default. Also explicitly document that the object-mapping layer of dbus-glib is not thread-safe. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=64214 Reviewed-by: Colin Walters [with review comments to be fixed in subsequent commit -smcv] --- configure.ac | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 7891ce6..999e00f 100644 --- a/configure.ac +++ b/configure.ac @@ -259,15 +259,12 @@ XML_CFLAGS= #### Set up final flags -PKG_CHECK_MODULES([DBUS], [dbus-1 >= 1.2.16]) +PKG_CHECK_MODULES([DBUS], [dbus-1 >= 1.8]) AC_SUBST([DBUS_CFLAGS]) AC_SUBST([DBUS_LIBS]) # Glib detection -PKG_CHECK_MODULES([DBUS_GLIB], [gobject-2.0 >= 2.26, gio-2.0 >= 2.26]) -PKG_CHECK_MODULES(DBUS_GLIB_THREADS, gthread-2.0 >= 2.6, have_glib_threads=yes, have_glib_threads=no) - -AM_CONDITIONAL(HAVE_GLIB_THREADS, test x$have_glib_threads = xyes) +PKG_CHECK_MODULES([DBUS_GLIB], [gobject-2.0 >= 2.32, gio-2.0 >= 2.32, gthread-2.0 >= 2.32]) GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0` AC_SUBST(GLIB_GENMARSHAL) -- cgit v1.2.1