configure: test have_docbook_style != yes, not have_docbook_dtd

This commit is contained in:
Alexander Larsson 2015-06-17 17:31:19 +02:00
parent 4b02bfd6ee
commit f5d4543139

View File

@ -2603,7 +2603,7 @@ AS_IF([test "$enable_man" != no], [
dnl check for DocBook XSL stylesheets in the local catalog
JH_CHECK_XML_CATALOG([http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl],
[DocBook XSL Stylesheets], [have_docbook_style=yes],[have_docbook_style=no])
AS_IF([ test "$have_docbook_dtd" != yes ], [
AS_IF([ test "$have_docbook_style" != yes ], [
AS_IF([ test "$enable_man" = yes ], [
AC_MSG_ERROR([DocBook XSL Stylesheets are required for --enable-man])
])