summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUli Schlachter <psychon@znc.in>2013-09-13 22:18:08 +0200
committerUli Schlachter <psychon@znc.in>2014-08-27 10:51:19 +0200
commit384878373d8bd63f10af1398614a662198a61ed8 (patch)
treea204dda9c22af6096e7c7cddac91ac3e2a382965
parent6369470f305f5e5f93b1b29a2c7615b19ce1083d (diff)
cairo-gobject: Require at least glib 2.14
cairo-gobject uses g_once_init_enter() and g_once_init_leave(). These functions were added in glib 2.14 and thus cairo needs at least this version for its gobject helper functions. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=69239 Signed-off-by: Uli Schlachter <psychon@znc.in>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index fd54ad1e3..4e35ba74d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -704,7 +704,7 @@ dnl ===========================================================================
dnl Build gobject integration library
CAIRO_ENABLE_FUNCTIONS(gobject, gobject, auto, [
- gobject_REQUIRES="gobject-2.0 glib-2.0"
+ gobject_REQUIRES="gobject-2.0 glib-2.0 >= 2.14"
PKG_CHECK_MODULES(GOBJECT, $gobject_REQUIRES, ,
[use_gobject="no (requires $gobject_REQUIRES http://download.gnome.org/pub/GNOME/sources/glib/)"])
gobject_NONPKGCONFIG_EXTRA_LIBS="-L\${libdir} -lcairo-gobject"