diff mbox

Check more places for local stylesheet directory

Message ID m2vcdcj6ct.fsf@igel.home
State New
Headers show

Commit Message

Andreas Schwab Nov. 11, 2012, 7:18 p.m. UTC
/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.

Comments

Jonathan Wakely Nov. 11, 2012, 8:02 p.m. UTC | #1
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.
diff mbox

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)