summaryrefslogtreecommitdiff
path: root/xsltproc
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2006-10-11 20:28:25 +0000
committerDaniel Veillard <veillard@src.gnome.org>2006-10-11 20:28:25 +0000
commite810227affa1f0f69d291532898e3efc84181df9 (patch)
tree194ecffee66484a8bc73ee38bcb568f336cf5627 /xsltproc
parent7f5d41168563ac05d13c5ca190ddb87676cad8cd (diff)
downloadlibxslt-e810227affa1f0f69d291532898e3efc84181df9.tar.gz
apply patch from Gary Coady to compile when libxml2 has no xinclude
* xsltproc/xsltproc.c: apply patch from Gary Coady to compile when libxml2 has no xinclude support #319886 * docs/*: renamed Gnome to GNOME fixes #352159 Daniel
Diffstat (limited to 'xsltproc')
-rw-r--r--xsltproc/xsltproc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xsltproc/xsltproc.c b/xsltproc/xsltproc.c
index da80e037..15848f44 100644
--- a/xsltproc/xsltproc.c
+++ b/xsltproc/xsltproc.c
@@ -391,8 +391,10 @@ xsltProcess(xmlDocPtr doc, xsltStylesheetPtr cur, const char *filename) {
if (ctxt == NULL)
return;
xsltSetCtxtParseOptions(ctxt, options);
+#ifdef LIBXML_XINCLUDE_ENABLED
if (xinclude)
ctxt->xinclude = 1;
+#endif
if (profile) {
res = xsltApplyStylesheetUser(cur, doc, params, NULL,
stderr, ctxt);