diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index c1b044f65..5c325e638 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], |