diff --git a/configure.ac b/configure.ac
index 148b76dbf5089f2710a9a5f153a3ad551014ae18..dfcb64fad94b97f47c03271adbe277b43fef08c7 100644 (file)
--- a/configure.ac
+++ b/configure.ac
dnl Feature checks.
build_documentation="yes"
+have_xmlto="yes"
+AC_PATH_PROG([XMLTO], [xmlto])
+if test "x$XMLTO" = "x"; then
+ have_xmlto="no"
+ build_documentation="no (missing xmlto)"
+fi
+
have_xsltproc="yes"
AC_PATH_PROG([XSLTPROC], [xsltproc])
if test "x$XSLTPROC" = "x"; then
AC_MSG_RESULT()
AC_MSG_RESULT([ Tools:])
AC_MSG_RESULT([ AsciiDoc (a2x): . . . . . . $have_a2x])
-AC_MSG_RESULT([ xsltproc: . . . . . . . . . $have_xsltproc])
+AC_MSG_RESULT([ xmlto / xsltproc: . . . . . $have_xmlto / $have_xsltproc])
AC_MSG_RESULT()
AC_MSG_RESULT([ Features:])
AC_MSG_RESULT([ documentation: . . . . . . $build_documentation])