summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 9657e3f..c96a5bd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -101,7 +101,9 @@ AC_PROG_MAKE_SET
AC_PROG_RANLIB
AC_PROG_LN_S
-AC_PATH_PROG([PATH_ASCIIDOC], [asciidoc])
+AC_PATH_PROG([PATH_ASCIIDOC], [asciidoc], [no])
+AS_IF([test x"$PATH_ASCIIDOC" = x"no"],
+ [AC_MSG_ERROR([asciidoc is required for generating man pages])])
AC_PATH_PROG([PATH_XMLTO], [xmlto], [no])
AS_IF([test x"$PATH_XMLTO" = x"no"],
[AC_MSG_ERROR([xmlto is required for generating man pages])])