| OLD | NEW |
| 1 /* Configure script for libxslt, specific for Windows with Scripting Host. | 1 /* Configure script for libxslt, specific for Windows with Scripting Host. |
| 2 * | 2 * |
| 3 * This script will configure the libxslt build process and create necessary fil
es. | 3 * This script will configure the libxslt build process and create necessary fil
es. |
| 4 * Run it with an 'help', or an invalid option and it will tell you what options | 4 * Run it with an 'help', or an invalid option and it will tell you what options |
| 5 * it accepts. | 5 * it accepts. |
| 6 * | 6 * |
| 7 * March 2002, Igor Zlatkovic <igor@zlatkovic.com> | 7 * March 2002, Igor Zlatkovic <igor@zlatkovic.com> |
| 8 */ | 8 */ |
| 9 | 9 |
| 10 /* The source directory, relative to the one where this file resides. */ | 10 /* The source directory, relative to the one where this file resides. */ |
| (...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 417 dirSep = "\\"; | 417 dirSep = "\\"; |
| 418 //if (compiler == "mingw") | 418 //if (compiler == "mingw") |
| 419 // dirSep = "/"; | 419 // dirSep = "/"; |
| 420 if (buildBinPrefix == "") | 420 if (buildBinPrefix == "") |
| 421 buildBinPrefix = "$(PREFIX)" + dirSep + "bin"; | 421 buildBinPrefix = "$(PREFIX)" + dirSep + "bin"; |
| 422 if (buildIncPrefix == "") | 422 if (buildIncPrefix == "") |
| 423 buildIncPrefix = "$(PREFIX)" + dirSep + "include"; | 423 buildIncPrefix = "$(PREFIX)" + dirSep + "include"; |
| 424 if (buildLibPrefix == "") | 424 if (buildLibPrefix == "") |
| 425 buildLibPrefix = "$(PREFIX)" + dirSep + "lib"; | 425 buildLibPrefix = "$(PREFIX)" + dirSep + "lib"; |
| 426 if (buildSoPrefix == "") | 426 if (buildSoPrefix == "") |
| 427 » buildSoPrefix = "$(PREFIX)" + dirSep + "lib"; | 427 » buildSoPrefix = "$(PREFIX)" + dirSep + "bin"; |
| 428 | 428 |
| 429 // Discover the version. | 429 // Discover the version. |
| 430 discoverVersion(); | 430 discoverVersion(); |
| 431 if (error != 0) { | 431 if (error != 0) { |
| 432 WScript.Echo("Version discovery failed, aborting."); | 432 WScript.Echo("Version discovery failed, aborting."); |
| 433 WScript.Quit(error); | 433 WScript.Quit(error); |
| 434 } | 434 } |
| 435 | 435 |
| 436 var outVerString = baseNameXslt + " version: " + verMajorXslt + "." + verMinorXs
lt + "." + verMicroXslt; | 436 var outVerString = baseNameXslt + " version: " + verMajorXslt + "." + verMinorXs
lt + "." + verMicroXslt; |
| 437 if (verCvs && verCvs != "") | 437 if (verCvs && verCvs != "") |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 498 txtOut += " Install prefix: " + buildPrefix + "\n"; | 498 txtOut += " Install prefix: " + buildPrefix + "\n"; |
| 499 txtOut += " Put tools in: " + buildBinPrefix + "\n"; | 499 txtOut += " Put tools in: " + buildBinPrefix + "\n"; |
| 500 txtOut += " Put headers in: " + buildIncPrefix + "\n"; | 500 txtOut += " Put headers in: " + buildIncPrefix + "\n"; |
| 501 txtOut += "Put static libs in: " + buildLibPrefix + "\n"; | 501 txtOut += "Put static libs in: " + buildLibPrefix + "\n"; |
| 502 txtOut += "Put shared libs in: " + buildSoPrefix + "\n"; | 502 txtOut += "Put shared libs in: " + buildSoPrefix + "\n"; |
| 503 txtOut += " Include path: " + buildInclude + "\n"; | 503 txtOut += " Include path: " + buildInclude + "\n"; |
| 504 txtOut += " Lib path: " + buildLib + "\n"; | 504 txtOut += " Lib path: " + buildLib + "\n"; |
| 505 WScript.Echo(txtOut); | 505 WScript.Echo(txtOut); |
| 506 | 506 |
| 507 // Done. | 507 // Done. |
| OLD | NEW |