summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2007-04-27 06:45:46 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2007-04-27 06:45:46 +0000
commitc8ece6473d1472b1dbbe3e0b1fb04ffea7d31d40 (patch)
treeae1624dffd6dc0d79799157376d6b563d7b84750 /configure.in
parent678cfffd62e8df12134ece4eb54efda0ed4052d5 (diff)
downloadpango-c8ece6473d1472b1dbbe3e0b1fb04ffea7d31d40.tar.gz
Add --disable-doc-cross-references.
2007-04-27 Behdad Esfahbod <behdad@gnome.org> * configure.in: Add --disable-doc-cross-references. * docs/Makefile.am: Make sure --disable-doc-cross-references is set in order to make dist. * Makefile.am: Add --disable-doc-cross-references to DISTCHECK_CONFIGURE_FLAGS. svn path=/trunk/; revision=2230
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in18
1 files changed, 13 insertions, 5 deletions
diff --git a/configure.in b/configure.in
index 00b3aa40..1f45c65a 100644
--- a/configure.in
+++ b/configure.in
@@ -599,11 +599,19 @@ fi
AM_CONDITIONAL(ENABLE_MAN, test x$enable_man != xno)
-GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
-CAIRO_PREFIX="`pkg-config --variable=prefix cairo`"
-
-AC_SUBST(GLIB_PREFIX)
-AC_SUBST(CAIRO_PREFIX)
+AC_ARG_ENABLE(doc-cross-references,
+ AC_HELP_STRING([--disable-doc-cross-references],
+ [cross reference glib and cairo symbols @<:@default=yes@:>@]),
+ enable_doc_cross_references=$enableval,
+ enable_doc_cross_references=yes)
+
+if test "x$enable_doc_cross_references" != xno ; then
+ GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
+ CAIRO_PREFIX="`pkg-config --variable=prefix cairo`"
+ AC_SUBST(GLIB_PREFIX)
+ AC_SUBST(CAIRO_PREFIX)
+fi
+AM_CONDITIONAL(ENABLE_DOC_CROSS_REFERENCES, test x$enable_doc_cross_references != xno)
dnl ********************************************************
dnl * Options to pass to libtool