diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2002-12-12 00:19:02 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2002-12-12 00:19:02 +0000 |
commit | 03fd8d0fcc71327a08c3fa0517350965e7fcc9b4 (patch) | |
tree | 26c46cef59f70778db46a27c7669b62133af9776 /win32/configure.js | |
parent | cee0667970121ce1e4a171ee8458758ad0cc07d7 (diff) | |
download | libxslt-03fd8d0fcc71327a08c3fa0517350965e7fcc9b4.tar.gz libxslt-03fd8d0fcc71327a08c3fa0517350965e7fcc9b4.tar.bz2 libxslt-03fd8d0fcc71327a08c3fa0517350965e7fcc9b4.zip |
fixed a bug in merging public info from C modules. patch from Mark Vakoc
* doc/apibuild.py: fixed a bug in merging public info from
C modules.
* win32/Makefile.msvc win32/configure.js: patch from Mark Vakoc
the iconv option to configure.js didn't work, and
added zlib option needed when linking xsltproc statically
Daniel
Diffstat (limited to 'win32/configure.js')
-rw-r--r-- | win32/configure.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/win32/configure.js b/win32/configure.js index 4446d387..8325f5a6 100644 --- a/win32/configure.js +++ b/win32/configure.js @@ -44,6 +44,7 @@ var withXsltDebug = true; var withMemDebug = false; var withDebugger = true; var withIconv = true; +var withZlib = false; /* Win32 build options. */ var compiler = "msvc"; var buildDebug = 0; @@ -97,6 +98,7 @@ function usage() txt += " mem_debug: Enable memory debugger (" + (withMemDebug? "yes" : "no") + ")\n"; txt += " debugger: Enable external debugger support (" + (withDebugger? "yes" : "no") + ")\n"; txt += " iconv: Use iconv library (" + (withIconv? "yes" : "no") + ")\n"; + txt += " zlib: Use zlib library (" + (withZlib? "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 += " debug: Build unoptimised debug executables (" + (buildDebug? "yes" : "no") + ")\n"; @@ -167,6 +169,7 @@ function discoverVersion() vf.WriteLine("WITH_MEM_DEBUG=" + (withMemDebug? "1" : "0")); vf.WriteLine("WITH_DEBUGGER=" + (withDebugger? "1" : "0")); vf.WriteLine("WITH_ICONV=" + (withIconv? "1" : "0")); + vf.WriteLine("WITH_ZLIB=" + (withZlib? "1" : "0")); vf.WriteLine("DEBUG=" + (buildDebug? "1" : "0")); vf.WriteLine("STATIC=" + (buildStatic? "1" : "0")); vf.WriteLine("PREFIX=" + buildPrefix); @@ -317,7 +320,9 @@ for (i = 0; (i < WScript.Arguments.length) && (error == 0); i++) { else if (opt == "debug") buildDebug = strToBool(arg.substring(opt.length + 1, arg.length)); else if (opt == "iconv") - buildIconv = strToBool(arg.substring(opt.length + 1, arg.length)); + withIconv = strToBool(arg.substring(opt.length + 1, arg.length)); + else if (opt == "zlib") + withZlib = strToBool(arg.substring(opt.length + 1, arg.length)); else if (opt == "compiler") compiler = arg.substring(opt.length + 1, arg.length); else if (opt == "static") @@ -398,6 +403,7 @@ txtOut += " Debugging module: " + boolToStr(withXsltDebug) + "\n"; txtOut += " Memory debugging: " + boolToStr(withMemDebug) + "\n"; txtOut += " Debugger support: " + boolToStr(withDebugger) + "\n"; txtOut += " Use iconv: " + boolToStr(withIconv) + "\n"; +txtOut += " With zlib: " + boolToStr(withZlib) + "\n"; txtOut += "\n"; txtOut += "Win32 build configuration\n"; txtOut += "-------------------------\n"; |