set of Win32 patches for 2.6.0 by Joachim Bauch Daniel
* win32/Makefile.bcb win32/Makefile.mingw win32/Makefile.msvc
win32/configure.js: set of Win32 patches for 2.6.0 by Joachim Bauch
Daniel
diff --git a/win32/configure.js b/win32/configure.js
index 3735aa0..2d434c7 100644
--- a/win32/configure.js
+++ b/win32/configure.js
@@ -47,6 +47,7 @@
var withRegExps = true;
var withTree = true;
var withReader = true;
+var withWriter = true;
var withWalker = true;
var withPush = true;
var withValid = true;
@@ -122,6 +123,7 @@
txt += " regexps: Enable regular expressions (" + (withRegExps? "yes" : "no") + ")\n";
txt += " tree: Enable tree api (" + (withTree? "yes" : "no") + ")\n";
txt += " reader: Enable xmlReader api (" + (withReader? "yes" : "no") + ")\n";
+ txt += " writer: Enable xmlWriter api (" + (withWriter? "yes" : "no") + ")\n";
txt += " walker: Enable xmlDocWalker api (" + (withWalker? "yes" : "no") + ")\n";
txt += " push: Enable push api (" + (withPush? "yes" : "no") + ")\n";
txt += " valid: Enable DTD validation support (" + (withValid? "yes" : "no") + ")\n";
@@ -209,6 +211,7 @@
vf.WriteLine("WITH_REGEXPS=" + (withRegExps? "1" : "0"));
vf.WriteLine("WITH_TREE=" + (withTree? "1" : "0"));
vf.WriteLine("WITH_READER=" + (withReader? "1" : "0"));
+ vf.WriteLine("WITH_WRITER=" + (withWriter? "1" : "0"));
vf.WriteLine("WITH_WALKER=" + (withWalker? "1" : "0"));
vf.WriteLine("WITH_PUSH=" + (withPush? "1" : "0"));
vf.WriteLine("WITH_VALID=" + (withValid? "1" : "0"));
@@ -293,6 +296,8 @@
of.WriteLine(s.replace(/\@WITH_TREE\@/, withTree? "1" : "0"));
} else if (s.search(/\@WITH_READER\@/) != -1) {
of.WriteLine(s.replace(/\@WITH_READER\@/, withReader? "1" : "0"));
+ } else if (s.search(/\@WITH_WRITER\@/) != -1) {
+ of.WriteLine(s.replace(/\@WITH_WRITER\@/, withWriter? "1" : "0"));
} else if (s.search(/\@WITH_WALKER\@/) != -1) {
of.WriteLine(s.replace(/\@WITH_WALKER\@/, withWalker? "1" : "0"));
} else if (s.search(/\@WITH_PUSH\@/) != -1) {
@@ -444,6 +449,8 @@
withTree = strToBool(arg.substring(opt.length + 1, arg.length));
else if (opt == "reader")
withReader = strToBool(arg.substring(opt.length + 1, arg.length));
+ else if (opt == "writer")
+ withWriter = strToBool(arg.substring(opt.length + 1, arg.length));
else if (opt == "walker")
withWalker = strToBool(arg.substring(opt.length + 1, arg.length));
else if (opt == "push")
@@ -579,6 +586,7 @@
txtOut += " Regexp support: " + boolToStr(withRegExps) + "\n";
txtOut += " Tree support: " + boolToStr(withTree) + "\n";
txtOut += " Reader support: " + boolToStr(withReader) + "\n";
+txtOut += " Writer support: " + boolToStr(withWriter) + "\n";
txtOut += " Walker support: " + boolToStr(withWalker) + "\n";
txtOut += " Push support: " + boolToStr(withPush) + "\n";
txtOut += "Validation support: " + boolToStr(withValid) + "\n";