[cairo-commit] configure.ac

Benjamin Otte company at kemper.freedesktop.org
Sun Aug 8 07:09:20 PDT 2010


 configure.ac |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit e31b56e020df806aa6180cd2efa0a34e55e5adaf
Author: Benjamin Otte <otte at redhat.com>
Date:   Sun Aug 8 14:45:24 2010 +0200

    configure: Fix gobject handling
    
    1) Explicitly depend on glib, too.
    2) Don't link gobject into libcairo proper (thanks Joonas for noticing).

diff --git a/configure.ac b/configure.ac
index 631c1bd..94a866e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -655,8 +655,8 @@ dnl ===========================================================================
 dnl Build gobject integration library
 
 CAIRO_ENABLE_FUNCTIONS(gobject, gobject, auto, [
-  gobject_REQUIRES="gobject-2.0"
-  PKG_CHECK_MODULES(gobject, $gobject_REQUIRES, , [AC_MSG_RESULT(no)
+  gobject_REQUIRES="gobject-2.0 glib-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/)"])
 ])
 


More information about the cairo-commit mailing list