diff options
| -rw-r--r-- | configure.ac | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac index deb390b2..d6ec0d5d 100644 --- a/configure.ac +++ b/configure.ac @@ -195,9 +195,15 @@ AS_IF([test "x$enable_docs" != "xno"], [ AM_CONDITIONAL(ENABLE_DOCS, test "x$found_valadoc" = "xyes" -a "x$found_gtkdoc_scan" = "xyes") -AM_CONDITIONAL([HAVE_INTROSPECTION], [test "x$enable_vala" = "xyes"]) -# this will set HAVE_INTROSPECTION -GOBJECT_INTROSPECTION_REQUIRE([1.30]) +AC_ARG_ENABLE([introspection], + AS_HELP_STRING([--disable-introspection], [Enable Introspection]), + [enable_introspection=$enableval],[enable_introspection="yes"]) +AM_CONDITIONAL([HAVE_INTROSPECTION], [test "x$enable_introspection" != "xno"]) + +if test "x$enable_introspection" != "xno"; then + # this will set HAVE_INTROSPECTION + GOBJECT_INTROSPECTION_REQUIRE([1.30]) +fi ################################################# # Ontology parsing dependencies @@ -229,14 +235,15 @@ cat <<EOF ${PACKAGE}-${VERSION} Build environment - Install Prefix: ${prefix} + Install Prefix: ${prefix} Optional dependencies - fts++: ${enable_fts} - dee-icu: ${with_dee_icu} + fts++: ${enable_fts} + dee-icu: ${with_dee_icu} Other build options: - SQL debugging: ${explain_queries} - libzeitgeist docs: ${enable_docs} + SQL debugging: ${explain_queries} + libzeitgeist docs: ${enable_docs} + GObject Introspection: ${enable_introspection} EOF |
