This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/47145] configure test for docbook-xsl-ns stylesheets uses hardcoded path
- From: "bkoz at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 1 Mar 2011 21:32:35 +0000
- Subject: [Bug libstdc++/47145] configure test for docbook-xsl-ns stylesheets uses hardcoded path
- Auto-submitted: auto-generated
- References: <bug-47145-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145
--- Comment #22 from Benjamin Kosnik <bkoz at gcc dot gnu.org> 2011-03-01 21:31:57 UTC ---
Here's a plan.
Remove as per #4
-AC_CHECK_FILE([/usr/share/sgml/docbook/xsl-ns-stylesheets/VERSION],
- [glibcxx_stylesheets=yes], [glibcxx_stylesheets=no])
replace with new
_GLIBCXX_ENABLE_DOCS
in acinclude.m4 that
sets
XSL_STYLE_DIR, SCHEMA_FLAGS
and conditionally exports them in
doc/Makefile.am
as per #12, #18, #19
echo '<article/>' | xsltproc --noout --nonet \
http://docbook.sourceforge.net/release/xsl-ns/current/xhtml-1_1/docbook.xsl -
is the enable flag