configure.ac: complain when asciidoc cannot be found

related to #338
This commit is contained in:
Michael Stapelberg 2019-02-11 21:45:20 +01:00
parent fd484c6c58
commit 9d28a661a7

View File

@ -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])])