diff options
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 11 |
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 | |||
| 22 | AC_PROG_CC | 22 | AC_PROG_CC |
| 23 | AC_PROG_INSTALL | 23 | AC_PROG_INSTALL |
| 24 | 24 | ||
| 25 | # man page generation | ||
| 26 | AC_ARG_VAR([XMLTO], [Path to xmlto command]) | ||
| 27 | AC_PATH_PROG([XMLTO], [xmlto]) | ||
| 28 | AC_ARG_VAR([ASCIIDOC], [Path to asciidoc command]) | ||
| 29 | AC_PATH_PROG([ASCIIDOC], [asciidoc]) | ||
| 30 | AM_CONDITIONAL([HAVE_DOCTOOLS], [test "x$XMLTO" != "x" && test "x$ASCIIDOC" != "x"]) | ||
| 31 | if test "x$XMLTO" = "x" || test "x$ASCIIDOC" = "x"; then | ||
| 32 | AC_MSG_WARN([xmlto or asciidoc not found - cannot create man pages without it]) | ||
| 33 | fi | ||
| 34 | |||
| 35 | |||
| 25 | AC_CONFIG_FILES([Makefile | 36 | AC_CONFIG_FILES([Makefile |
| 26 | src/Makefile | 37 | src/Makefile |
| 27 | tools/Makefile | 38 | tools/Makefile |
