[Cogl] [PATCH 2/4] don't check for gobject introspection if glib disabled
Robert Bragg
robert at sixbynine.org
Tue Sep 18 07:13:48 PDT 2012
From: Robert Bragg <robert at linux.intel.com>
---
configure.ac | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index 39d7694..0a17722 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1110,7 +1110,15 @@ AC_PROG_INSTALL
dnl ================================================================
dnl GObject-Introspection check
dnl ================================================================
-GOBJECT_INTROSPECTION_CHECK([gi_req_version])
+AS_IF([test "x$enable_glib" = "xyes"],
+ [
+ GOBJECT_INTROSPECTION_CHECK([gi_req_version])
+ ],
+ [
+ enable_introspection="no"
+ AM_CONDITIONAL([HAVE_INTROSPECTION], 0)
+ ]
+)
dnl ================================================================
dnl Checks for header files.
--
1.7.7.6
More information about the Cogl
mailing list