]> granicus.if.org Git - shadow/commitdiff
Add error when turning off man switch
authorMichael Vetter <jubalh@openmailbox.org>
Fri, 8 Sep 2017 14:25:29 +0000 (16:25 +0200)
committerMichael Vetter <jubalh@iodoru.org>
Fri, 29 Sep 2017 09:01:39 +0000 (11:01 +0200)
Print a warning and abort in case xsltproc is missing.

configure.ac

index 2dcf9666b8654d52ae9d81d6adf4d75897ac3e1b..7b3480c7b48fb7aef71cff8740054fbd07cc9259 100644 (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.