Patchwork Check more places for local stylesheet directory

login
register
mail settings
Submitter Andreas Schwab
Date Nov. 11, 2012, 7:18 p.m.
Message ID <m2vcdcj6ct.fsf@igel.home>
Download mbox | patch
Permalink /patch/198290/
State New
Headers show

Comments

Andreas Schwab - Nov. 11, 2012, 7:18 p.m.
/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.
Jonathan Wakely - Nov. 11, 2012, 8:02 p.m.
On 11 November 2012 19:18, Andreas Schwab wrote:
> /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.

This is OK, thanks.

Patch

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)