applied the BCB patch by Eric Zurcher
diff --git a/win32/configure.js b/win32/configure.js
index bfbac48..cd1548e 100644
--- a/win32/configure.js
+++ b/win32/configure.js
@@ -112,7 +112,7 @@
txt += " schemas: Enable XML Schema support (" + (withSchemas? "yes" : "no") + ")\n";
txt += " python: Build Python bindings (" + (withPython? "yes" : "no") + ")\n";
txt += "\nWin32 build options, default value given in parentheses:\n\n";
- txt += " compiler: Compiler to be used [msvc|mingw] (" + compiler + ")\n";
+ txt += " compiler: Compiler to be used [msvc|mingw|bcb] (" + compiler + ")\n";
txt += " debug: Build unoptimised debug executables (" + (buildDebug? "yes" : "no") + ")\n";
txt += " static: Link xmllint statically to libxml2 (" + (buildStatic? "yes" : "no") + ")\n";
txt += " prefix: Base directory for the installation (" + buildPrefix + ")\n";
@@ -143,6 +143,8 @@
versionFile = ".\\config.msvc";
else if (compiler == "mingw")
versionFile = ".\\config.mingw";
+ else if (compiler == "bcb")
+ versionFile = ".\\config.bcb";
vf = fso.CreateTextFile(versionFile, true);
vf.WriteLine("# " + versionFile);
vf.WriteLine("# This file is generated automatically by " + WScript.ScriptName + ".");
@@ -197,6 +199,10 @@
vf.WriteLine("INCLUDE+=;" + buildInclude);
vf.WriteLine("LIB+=;" + buildLib);
}
+ } else if (compiler == "bcb") {
+ vf.WriteLine("INCLUDE=" + buildInclude);
+ vf.WriteLine("LIB=" + buildLib);
+ }
vf.Close();
}