aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-10-10 10:32:06 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-10-10 10:32:06 +0000
commit0b34b545cd0f56ead6ecaaf12dc344a885e0333f (patch)
treeafb47e97f2c57c002fe34b7d3866911d30535846 /configure.ac
parent9c0601c178c3c485acfdef08899a8d2ac0c067d8 (diff)
downloadpaludis-0b34b545cd0f56ead6ecaaf12dc344a885e0333f.tar.gz
paludis-0b34b545cd0f56ead6ecaaf12dc344a885e0333f.tar.xz
Only fetch tags if --enable-doxygen-tags
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac18
1 files changed, 18 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 49a8257d2..fe60400be 100644
--- a/configure.ac
+++ b/configure.ac
@@ -652,6 +652,24 @@ AC_ARG_ENABLE([doxygen],
AC_CHECK_PROG(HAVE_DOXYGEN, [doxygen], [yes], [no])])
AC_SUBST([HAVE_DOXYGEN])
AM_CONDITIONAL([HAVE_DOXYGEN], test "x$HAVE_DOXYGEN" = "xyes")
+
+AC_MSG_CHECKING([whether to use external Doxygen tags])
+AC_ARG_ENABLE([doxygen-tags],
+ AS_HELP_STRING([--enable-doxygen-tags], [Use 'wget' to fetch external Doxygen tags]),
+ [HAVE_DOXYGEN_TAGS=$enableval
+ AC_MSG_RESULT([$enableval])],
+ [AC_MSG_RESULT([no])])
+AC_SUBST([HAVE_DOXYGEN_TAGS])
+AM_CONDITIONAL([HAVE_DOXYGEN_TAGS], test "x$HAVE_DOXYGEN_TAGS" = "xyes")
+
+if test "x$HAVE_DOXYGEN_TAGS" = xyes ; then
+ DOXYGEN_TAG_FILES="\
+ libstdc++.tag = http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen \
+ libwrapiter.tag = http://libwrapiter.pioto.org/"
+else
+ DOXYGEN_TAG_FILES=""
+fi
+AC_SUBST([DOXYGEN_TAG_FILES])
dnl }}}
dnl {{{ check for whether to build qa stuff