Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:6307 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27378 invoked by uid 1010); 9 Dec 2003 19:21:13 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 27301 invoked from network); 9 Dec 2003 19:21:13 -0000 Received: from unknown (HELO mail.de-punkt.de) (62.4.81.205) by pb1.pair.com with SMTP; 9 Dec 2003 19:21:13 -0000 Received: (qmail 3261 invoked by uid 508); 9 Dec 2003 19:21:12 -0000 Received: from sb@sebastian-bergmann.de by webby by uid 511 with qmail-scanner-1.16 (f-prot: 3.12. spamassassin: 2.60. Clear:. Processed in 0.219442 secs); 09 Dec 2003 19:21:12 -0000 Received: from unknown (HELO wopr) (sb@de-punkt.de@80.142.26.187) by webby.de-punkt.de with SMTP; 9 Dec 2003 19:21:12 -0000 Received: from wopr [127.0.0.1] by wopr (192.168.2.100) (userid 19) with Hamster-NewsToMail-Gate (Classic Hamster Version 2.0 Build 2.0.2.2) ; Tue, 09 Dec 2003 20:21:04 +0100 Date: Tue, 09 Dec 2003 20:21:04 +0100 Organization: www.sebastian-bergmann.de User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------010209040304040301070407" To: internals@lists.php.net Sender: admin Lines: 67 X-Qmail-Scanner-Message-ID: <10709976725263254@webby> Subject: Patch to new Win32 Build System From: sebastian@php.net (Sebastian Bergmann) Message-ID: --------------010209040304040301070407 Content-Type: text/plain; charset=us-ascii format=flowed Content-Transfer-Encoding: 7bit The attached patch adds support for broken cscript installations (like mine) where JScript is not registered with cscript.exe. It works for me and should do so, too, for sane installations as well. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/ --------------010209040304040301070407 Content-Type: text/plain; name="patch.txt"; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch.txt" Index: buildconf.bat =================================================================== RCS file: /repository/php-src/buildconf.bat,v retrieving revision 1.1 diff -u -r1.1 buildconf.bat --- buildconf.bat 2 Dec 2003 23:16:47 -0000 1.1 +++ buildconf.bat 9 Dec 2003 19:17:38 -0000 @@ -1,2 +1,2 @@ @echo off -cscript /nologo win32\build\buildconf.js +cscript //E:jscript /nologo win32\build\buildconf.js Index: win32/build/buildconf.js =================================================================== RCS file: /repository/php-src/win32/build/buildconf.js,v retrieving revision 1.5 diff -u -r1.5 buildconf.js --- win32/build/buildconf.js 4 Dec 2003 13:38:47 -0000 1.5 +++ win32/build/buildconf.js 9 Dec 2003 19:18:44 -0000 @@ -113,5 +113,5 @@ C.WriteBlankLines(1); C.Write(file_get_contents("win32/build/configure.tail")); -WScript.StdOut.WriteLine("Now run 'cscript /nologo configure.js --help'"); +WScript.StdOut.WriteLine("Now run 'cscript //E:jscript /nologo configure.js --help'"); Index: win32/build/confutils.js =================================================================== RCS file: /repository/php-src/win32/build/confutils.js,v retrieving revision 1.19 diff -u -r1.19 confutils.js --- win32/build/confutils.js 7 Dec 2003 02:58:56 -0000 1.19 +++ win32/build/confutils.js 9 Dec 2003 19:16:08 -0000 @@ -174,7 +174,7 @@ var i, j; var configure_help_mode = false; var analyzed = false; - var nice = "cscript /nologo configure.js "; + var nice = "cscript //E:jscript /nologo configure.js "; args = WScript.Arguments; for (i = 0; i < args.length; i++) { --------------010209040304040301070407--