build: Work around caching not reevaluating uncached variables

This is a somewhat crude hack to ensure that GOBJECT_CFLAGS/LIBS are
properly cached.
This commit is contained in:
Benjamin Otte 2010-09-01 18:47:16 +02:00
parent 28ba78a971
commit 54a651564c

View file

@ -660,6 +660,10 @@ CAIRO_ENABLE_FUNCTIONS(gobject, gobject, auto, [
use_gobject="no (requires $gobject_REQUIRES http://download.gnome.org/pub/GNOME/sources/glib/)"])
gobject_NONPKGCONFIG_EXTRA_LIBS="-L\${libdir} -lcairo-gobject"
])
dnl I'm too lazy to fix the caching properly
if test "x$use_gobject" = "xyes"; then
PKG_CHECK_MODULES(GOBJECT, $gobject_REQUIRES)
fi
dnl ===========================================================================
dnl Default to quick testing during development, but force a full test before