From: Kay Sievers Date: Sat, 16 Mar 2013 18:22:41 +0000 (+0100) Subject: Revert "build-sys: check for docbook xsl-stylesheets" X-Git-Tag: 29~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=59883085674a1eed3ab174a84e039a072393e50d;p=platform%2Fupstream%2Fgummiboot.git 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. --- 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"])