mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
You might as well have 'the Steph special' too :-)
I can never remember the cscript line, so let's just have 'configure' instead.
This commit is contained in:
parent
766b6b606e
commit
7c8ff91218
1 changed files with 5 additions and 3 deletions
|
@ -16,12 +16,13 @@
|
|||
+----------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
/* $Id: buildconf.js,v 1.13.2.2.2.1 2007-01-01 19:32:09 iliaa Exp $ */
|
||||
/* $Id: buildconf.js,v 1.13.2.2.2.1.2.1 2008-03-18 03:23:14 sfox Exp $ */
|
||||
// This generates a configure script for win32 build
|
||||
|
||||
WScript.StdOut.WriteLine("Rebuilding configure.js");
|
||||
var FSO = WScript.CreateObject("Scripting.FileSystemObject");
|
||||
var C = FSO.CreateTextFile("configure.js", true);
|
||||
var B = FSO.CreateTextFile("configure.bat", true);
|
||||
|
||||
var modules = "";
|
||||
var MODULES = WScript.CreateObject("Scripting.Dictionary");
|
||||
|
@ -259,5 +260,6 @@ C.Write(modules);
|
|||
C.WriteBlankLines(1);
|
||||
C.Write(file_get_contents("win32/build/configure.tail"));
|
||||
|
||||
WScript.StdOut.WriteLine("Now run 'cscript /nologo configure.js --help'");
|
||||
|
||||
B.WriteLine("@echo off");
|
||||
B.WriteLine("cscript /nologo configure.js %*");
|
||||
WScript.StdOut.WriteLine("Now run 'configure --help'");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue