From b6143aa55eb8efa715d2511844790dd92cdaa483 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Wed, 7 Feb 2018 11:40:00 +0200 Subject: configure: Make missing docbook2man an error if man build requested MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') 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])] )] )] ) -- cgit v1.2.3