Revert "build-sys: check for docbook xsl-stylesheets"
authorKay Sievers <kay@vrfy.org>
Sat, 16 Mar 2013 18:22:41 +0000 (19:22 +0100)
committerKay Sievers <kay@vrfy.org>
Sat, 16 Mar 2013 18:22:41 +0000 (19:22 +0100)
Distributions seem to differ greatly where they put the needed
docbook stuff. Go back just using only xsltproc as the automatic
indicator to build man pages. Setups with xsltproc but without
the needed docbook stuff will need to disable the man page
creation manually.

This reverts commit 2423a1e43e6913bf219634576b2bfe55d5289fab.

configure.ac

index eafc9b9..2f17ae0 100644 (file)
@@ -106,14 +106,7 @@ AS_IF([test "x$enable_manpages" != xno], [
         AS_IF([test "x$enable_manpages" = xyes -a "x$XSLTPROC" = x], [
                 AC_MSG_ERROR([*** Manpages requested but xsltproc not found])
         ])
-        AC_CHECK_FILES([
-                /usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl
-                /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl
-                ],[have_docbook=yes])
-        AS_IF([test "x$enable_manpages" = xyes -a "x$have_docbook" = x], [
-                AC_MSG_ERROR([*** Manpages requested but docbook not found])
-        ])
-        AS_IF([test "x$XSLTPROC" != x -a "x$have_docbook" != x], [have_manpages=yes])
+        AS_IF([test "x$XSLTPROC" != x], [have_manpages=yes])
 ])
 AM_CONDITIONAL(ENABLE_MANPAGES, [test "x$have_manpages" = "xyes"])