summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAndrea Canciani <ranma42@gmail.com>2010-08-07 21:32:09 +0200
committerAndrea Canciani <ranma42@gmail.com>2010-08-07 21:32:09 +0200
commitf71a618bd2604c8f0beaf4816a38a54f6f271bd9 (patch)
tree38b1c1f5a793f162506eb6dfb4612823844d56f7 /configure.ac
parent661f4859cdbc0394ed0a9db34ced0f4e2bbe78ff (diff)
Fix configuration if gobject is absent
Autodetect gobject and only use it if present. Its absence is not to be considered a failure since it's not required.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 3c3084144..631c1bd5f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -654,7 +654,7 @@ AC_SUBST(real_pthread_LIBS)
dnl ===========================================================================
dnl Build gobject integration library
-CAIRO_ENABLE_FUNCTIONS(gobject, gobject, yes, [
+CAIRO_ENABLE_FUNCTIONS(gobject, gobject, auto, [
gobject_REQUIRES="gobject-2.0"
PKG_CHECK_MODULES(gobject, $gobject_REQUIRES, , [AC_MSG_RESULT(no)
use_gobject="no (requires $gobject_REQUIRES http://download.gnome.org/pub/GNOME/sources/glib/)"])