From patchwork Sun Nov 11 19:18:42 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Check more places for local stylesheet directory From: Andreas Schwab X-Patchwork-Id: 198290 Message-Id: To: libstdc++@gcc.gnu.org Cc: gcc-patches@gcc.gnu.org Date: Sun, 11 Nov 2012 20:18:42 +0100 /usr/share/xml/docbook/stylesheet/nwalsh5/current is the place used by openSUSE. Andreas. * acinclude.m4 (GLIBCXX_CONFIGURE_DOCBOOK): Also check for /usr/share/xml/docbook/stylesheet/nwalsh5/current. * configure: Regenerate. diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4 index 10dac63..8c6f170 100644 --- a/libstdc++-v3/acinclude.m4 +++ b/libstdc++-v3/acinclude.m4 @@ -686,6 +686,10 @@ if test x"$glibcxx_stylesheets" = x"yes"; then glibcxx_local_stylesheets=yes XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns fi + if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then + glibcxx_local_stylesheets=yes + XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current + fi fi AC_MSG_RESULT($glibcxx_local_stylesheets)