From 9d28a661a72cd118448e92c30a35b98100aa57bf Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 11 Feb 2019 21:45:20 +0100 Subject: [PATCH] configure.ac: complain when asciidoc cannot be found related to #338 --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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])]) -- 2.39.5