Add error when turning off man switch

Print a warning and abort in case xsltproc is missing.
This commit is contained in:
Michael Vetter 2017-09-08 16:25:29 +02:00 committed by Michael Vetter
parent fb04f2723a
commit ef6890c31d

View File

@ -324,6 +324,7 @@ if test "$enable_man" = "yes"; then
AC_PATH_PROG([XSLTPROC], [xsltproc])
if test -z "$XSLTPROC"; then
enable_man=no
AC_MSG_ERROR([xsltproc is missing.])
fi
dnl check for DocBook DTD and stylesheets in the local catalog.