From 59883085674a1eed3ab174a84e039a072393e50d Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Sat, 16 Mar 2013 19:22:41 +0100 Subject: [PATCH] Revert "build-sys: check for docbook xsl-stylesheets" 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 | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/configure.ac b/configure.ac index eafc9b9..2f17ae0 100644 --- a/configure.ac +++ b/configure.ac @@ -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"]) -- 2.7.4