]> git.sur5r.net Git - i3/i3status/commitdiff
configure.ac: complain when xmlto cannot be found
authorMichael Stapelberg <michael@stapelberg.de>
Mon, 11 Feb 2019 20:43:35 +0000 (21:43 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Mon, 11 Feb 2019 20:43:35 +0000 (21:43 +0100)
related to #338

configure.ac

index 932236671da56db36d137d35b7390e14af0b7589..9657e3f9e3a2ede6e40dd0b3ee44615b755f3806 100644 (file)
@@ -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