From 90bfe65e54f45351219f48581a927ec52c6a9dd1 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 20 Nov 2008 08:59:55 +0100 Subject: doc: process protocol.xml with xmlto Generate and install protocol.html if xmlto is available. --- configure.ac | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 944c1c153..4d0788273 100644 --- a/configure.ac +++ b/configure.ac @@ -852,6 +852,22 @@ fi AM_CONDITIONAL(HAVE_ZEROCONF, test x$with_zeroconf != xno) +dnl +dnl Documentation +dnl + +AC_MSG_CHECKING([for xmlto (DocBook processing)]) +AC_PATH_PROG(XMLTO, xmlto) +if test x$XMLTO != x; then + AC_SUBST(XMLTO) + AC_MSG_RESULT($XMLTO) +else + AC_MSG_RESULT(no) +fi + +AM_CONDITIONAL(HAVE_XMLTO, test x$XMLTO != x) + + dnl dnl build options dnl -- cgit v1.2.3