aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-10-30 01:05:59 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-10-30 01:05:59 +0000
commit93532ca064860f11e028460ccba316421115382b (patch)
tree8d4016a78fb814ed5d5e15dafd641aae89f1a759 /configure.ac
parentbeec73d4d10017b24d09a5cf7254db7dbb4c9804 (diff)
downloadpaludis-93532ca064860f11e028460ccba316421115382b.tar.gz
paludis-93532ca064860f11e028460ccba316421115382b.tar.xz
If --enable-htmltidy, use htmltidy to verify generated documentation. Fix current validation problems. Fixes: ticket:420
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 6a9bda405..e0547964e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -694,6 +694,17 @@ fi
AC_SUBST([DOXYGEN_TAG_FILES])
dnl }}}
+dnl {{{
+AC_MSG_CHECKING([whether to use htmltidy to verify documentation])
+AC_ARG_ENABLE([htmltidy],
+ AS_HELP_STRING([--enable-htmltidy], [Check generated documentation with htmltidy]),
+ [HAVE_HTMLTIDY=$enableval
+ AC_MSG_RESULT([$enableval])],
+ [HAVE_HTMLTIDY=no
+ AC_MSG_RESULT([no])])
+AC_SUBST([HAVE_HTMLTIDY])
+AM_CONDITIONAL([HAVE_HTMLTIDY], test "x$HAVE_HTMLTIDY" = "xyes")
+
dnl {{{ check for whether to build qa stuff
AC_MSG_CHECKING([whether to build QA tools])
AC_ARG_ENABLE([qa],