~ubuntu-branches/ubuntu/hardy/libxslt/hardy-security

« back to all changes in this revision

Viewing changes to win32/configure.js

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-11-19 14:47:49 UTC
  • mto: This revision was merged to the branch mainline in revision 15.
  • Revision ID: james.westby@ubuntu.com-20071119144749-fev916fklb1jpa8r
Tags: upstream-1.1.22
ImportĀ upstreamĀ versionĀ 1.1.22

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
var dirSep = "\\";
52
52
var compiler = "msvc";
53
53
var cruntime = "/MD";
 
54
var vcmanifest = false;
54
55
var buildDebug = 0;
55
56
var buildStatic = 0;
56
57
var buildPrefix = ".";
108
109
        txt += "\nWin32 build options, default value given in parentheses:\n\n";
109
110
        txt += "  compiler:   Compiler to be used [msvc|mingw] (" + compiler + ")\n";
110
111
        txt += "  cruntime:   C-runtime compiler option (only msvc) (" + cruntime + ")\n";
 
112
        txt += "  vcmanifest: Embed VC manifest (only msvc) (" + (vcmanifest? "yes" : "no") + ")\n";
111
113
        txt += "  debug:      Build unoptimised debug executables (" + (buildDebug? "yes" : "no")  + ")\n";
112
114
        txt += "  static:     Link xsltproc statically to libxslt (" + (buildStatic? "yes" : "no")  + ")\n";
113
115
        txt += "              Note: automatically enabled if cruntime is not /MD or /MDd\n";
201
203
                vf.WriteLine("INCLUDE=$(INCLUDE);" + buildInclude);
202
204
                vf.WriteLine("LIB=$(LIB);" + buildLib);
203
205
                vf.WriteLine("CRUNTIME=" + cruntime);
 
206
                vf.WriteLine("VCMANIFEST=" + (vcmanifest? "1" : "0"));
204
207
        } else if (compiler == "mingw") {
205
208
                vf.WriteLine("INCLUDE+=;" + buildInclude);
206
209
                vf.WriteLine("LIB+=;" + buildLib);
344
347
                        compiler = arg.substring(opt.length + 1, arg.length);
345
348
                else if (opt == "cruntime")
346
349
                        cruntime = arg.substring(opt.length + 1, arg.length);
 
350
                else if (opt == "vcmanifest")
 
351
                        vcmanifest = strToBool(arg.substring(opt.length + 1, arg.length));
347
352
                else if (opt == "static")
348
353
                        buildStatic = strToBool(arg.substring(opt.length + 1, arg.length));
349
354
                else if (opt == "prefix")
478
483
txtOut += "          Compiler: " + compiler + "\n";
479
484
if (compiler == "msvc")
480
485
        txtOut += "  C-Runtime option: " + cruntime + "\n";
 
486
        txtOut += "    Embed Manifest: " + boolToStr(vcmanifest) + "\n";
481
487
txtOut += "     Debug symbols: " + boolToStr(buildDebug) + "\n";
482
488
txtOut += "   Static xsltproc: " + boolToStr(buildStatic) + "\n";
483
489
txtOut += "    Install prefix: " + buildPrefix + "\n";