mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
MFH: Check if configure script was copied, and output an error if it wasn't
This commit is contained in:
parent
7c12271a56
commit
46dc120cdc
2 changed files with 3 additions and 2 deletions
|
@ -3,3 +3,5 @@ cscript /nologo win32\build\buildconf.js %*
|
||||||
SET PHP_BUILDCONF_PATH=%~dp0
|
SET PHP_BUILDCONF_PATH=%~dp0
|
||||||
copy %PHP_BUILDCONF_PATH%\win32\build\configure.bat %PHP_BUILDCONF_PATH% > nul
|
copy %PHP_BUILDCONF_PATH%\win32\build\configure.bat %PHP_BUILDCONF_PATH% > nul
|
||||||
SET PHP_SDK_SCRIPT_PATH=
|
SET PHP_SDK_SCRIPT_PATH=
|
||||||
|
|
||||||
|
IF NOT EXIST %PHP_BUILDCONF_PATH% (echo Error generating configure script, configure script was not copied) ELSE (echo Now run 'configure --help')
|
|
@ -16,7 +16,7 @@
|
||||||
+----------------------------------------------------------------------+
|
+----------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: buildconf.js,v 1.13.2.2.2.1.2.4 2008-07-20 02:20:31 sfox Exp $ */
|
/* $Id: buildconf.js,v 1.13.2.2.2.1.2.5 2009-01-02 12:18:21 kalle Exp $ */
|
||||||
// This generates a configure script for win32 build
|
// This generates a configure script for win32 build
|
||||||
|
|
||||||
WScript.StdOut.WriteLine("Rebuilding configure.js");
|
WScript.StdOut.WriteLine("Rebuilding configure.js");
|
||||||
|
@ -278,4 +278,3 @@ C.Write(file_get_contents("win32/build/configure.tail"));
|
||||||
|
|
||||||
B.WriteLine("@echo off");
|
B.WriteLine("@echo off");
|
||||||
B.WriteLine("cscript /nologo configure.js %*");
|
B.WriteLine("cscript /nologo configure.js %*");
|
||||||
WScript.StdOut.WriteLine("Now run 'configure --help'");
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue