[PATCH] Check more places for local stylesheet directory
Andreas Schwab
schwab@linux-m68k.org
Sun Nov 11 19:18:00 GMT 2012
/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)
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Libstdc++
mailing list