From: Ville Skyttä Date: Wed, 7 Feb 2018 09:40:00 +0000 (+0200) Subject: configure: Make missing docbook2man an error if man build requested X-Git-Tag: v0.8.3~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6143aa55eb8efa715d2511844790dd92cdaa483;p=thirdparty%2Fnftables.git configure: Make missing docbook2man an error if man build requested Previously, if man page build was enabled but no suitable docbook2man or the like tool was found, build failed at a later stage with undescriptive error message. Fail early and explicitly at configure stage instead. Signed-off-by: Ville Skyttä Signed-off-by: Pablo Neira Ayuso --- diff --git a/configure.ac b/configure.ac index 3b8ff96f..1a386535 100644 --- a/configure.ac +++ b/configure.ac @@ -73,7 +73,7 @@ AM_COND_IF([BUILD_MAN], [ [AS_IF([test "$DOCBOOK2MAN" != "no"], [DB2MAN="$DOCBOOK2MAN"], [AS_IF([test "$DB2X_DOCBOOK2MAN" != "no"], [DB2MAN="$DB2X_DOCBOOK2MAN"], - [AC_MSG_WARN([docbookx2-man/db2x_docbook2man not found, no manpages will be built])] + [AC_MSG_ERROR([docbookx2-man/db2x_docbook2man not found, required for building man pages])] )] )] )