From: Michael Stapelberg Date: Mon, 11 Feb 2019 20:43:35 +0000 (+0100) Subject: configure.ac: complain when xmlto cannot be found X-Git-Url: https://git.sur5r.net/?p=i3%2Fi3status;a=commitdiff_plain;h=fd484c6c5800577a7b27b7110d641cd12ba6464a configure.ac: complain when xmlto cannot be found related to #338 --- diff --git a/configure.ac b/configure.ac index 9322366..9657e3f 100644 --- a/configure.ac +++ b/configure.ac @@ -102,7 +102,9 @@ AC_PROG_RANLIB AC_PROG_LN_S AC_PATH_PROG([PATH_ASCIIDOC], [asciidoc]) -AC_PATH_PROG([PATH_XMLTO], [xmlto]) +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])]) AM_PROG_AR