summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
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 1105932..f5b8980 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,6 +22,17 @@ AC_PROG_LIBTOOL
22AC_PROG_CC 22AC_PROG_CC
23AC_PROG_INSTALL 23AC_PROG_INSTALL
24 24
25# man page generation
26AC_ARG_VAR([XMLTO], [Path to xmlto command])
27AC_PATH_PROG([XMLTO], [xmlto])
28AC_ARG_VAR([ASCIIDOC], [Path to asciidoc command])
29AC_PATH_PROG([ASCIIDOC], [asciidoc])
30AM_CONDITIONAL([HAVE_DOCTOOLS], [test "x$XMLTO" != "x" && test "x$ASCIIDOC" != "x"])
31if test "x$XMLTO" = "x" || test "x$ASCIIDOC" = "x"; then
32 AC_MSG_WARN([xmlto or asciidoc not found - cannot create man pages without it])
33fi
34
35
25AC_CONFIG_FILES([Makefile 36AC_CONFIG_FILES([Makefile
26 src/Makefile 37 src/Makefile
27 tools/Makefile 38 tools/Makefile