Skip to content

Commit be8d3a6

Browse files
committed
Check if configure script was copied, and output an error if it wasn't
1 parent 0383c01 commit be8d3a6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

buildconf.bat

+2
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ cscript /nologo win32\build\buildconf.js %*
33
SET PHP_BUILDCONF_PATH=%~dp0
44
copy %PHP_BUILDCONF_PATH%\win32\build\configure.bat %PHP_BUILDCONF_PATH% > nul
55
SET PHP_SDK_SCRIPT_PATH=
6+
7+
IF NOT EXIST %PHP_BUILDCONF_PATH% (echo Error generating configure script, configure script was not copied) ELSE (echo Now run 'configure --help')

win32/build/buildconf.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
+----------------------------------------------------------------------+
1717
*/
1818

19-
/* $Id: buildconf.js,v 1.19 2008-07-21 09:56:37 sfox Exp $ */
19+
/* $Id: buildconf.js,v 1.20 2009-01-02 12:16:42 kalle Exp $ */
2020
// This generates a configure script for win32 build
2121

2222
WScript.StdOut.WriteLine("Rebuilding configure.js");
@@ -278,4 +278,3 @@ C.Write(file_get_contents("win32/build/configure.tail"));
278278

279279
B.WriteLine("@echo off");
280280
B.WriteLine("cscript /nologo configure.js %*");
281-
WScript.StdOut.WriteLine("Now run 'configure --help'");

0 commit comments

Comments
 (0)