This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/47145] configure test for docbook-xsl-ns stylesheets uses hardcoded path


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]