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ä <ville.skytta@iki.fi>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
[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])]
)]
)]
)