From: Michael Stapelberg Date: Mon, 11 Feb 2019 20:45:20 +0000 (+0100) Subject: configure.ac: complain when asciidoc cannot be found X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9d28a661a72cd118448e92c30a35b98100aa57bf;p=i3%2Fi3status configure.ac: complain when asciidoc cannot be found related to #338 --- 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])])