aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ingmar Vanhassel <ingmar@exherbo.org> 2011-02-14 14:34:06 +0000
committerAvatar Ingmar Vanhassel <ingmar@exherbo.org> 2011-02-14 14:48:40 +0000
commit1159e9fd770b98a8aa2cd2e505ef7fc8f899390c (patch)
tree7172ace46934e67b7a29073028e21198fad57c9b
parent9ba3f44b20364464e20e7c2efdc89e5aefbcdda3 (diff)
downloadpaludis-1159e9fd770b98a8aa2cd2e505ef7fc8f899390c.tar.gz
paludis-1159e9fd770b98a8aa2cd2e505ef7fc8f899390c.tar.xz
configure: Check for asciidoc and xmlto
-rw-r--r--configure.ac16
1 files changed, 16 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index c1b044f..5c325e6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -947,6 +947,22 @@ fi
AC_SUBST([DOXYGEN_TAG_FILES])
dnl }}}
+dnl {{{ asciidoc & xmlto
+AC_CHECK_PROG(HAVE_ASCIIDOC, [asciidoc], [yes], [no])
+AC_SUBST([HAVE_ASCIIDOC])
+AM_CONDITIONAL([HAVE_ASCIIDOC], test "x$HAVE_ASCIIDOC" = "xyes")
+if test "x$HAVE_ASCIIDOC" = xno ; then
+ AC_MSG_ERROR([asciidoc not found])
+fi
+
+AC_CHECK_PROG(HAVE_XMLTO, [xmlto], [yes], [no])
+AC_SUBST([HAVE_XMLTO])
+AM_CONDITIONAL([HAVE_XMLTO], test "x$HAVE_XMLTO" = "xyes")
+if test "x$HAVE_XMLTO" = xno ; then
+ AC_MSG_ERROR([xmlto not found])
+fi
+dnl }}}
+
dnl {{{
AC_MSG_CHECKING([whether to use htmltidy to verify documentation])
AC_ARG_ENABLE([htmltidy],