mirror of
https://github.com/php/php-src.git
synced 2024-11-23 01:44:06 +08:00
3046e35718
In the buildconf and configure batch files, Windows' cscript utility was being run without the /e:jscript flag. This works on systems that have not had the default .js file association changed, but if .js has been re-associated to (say) an IDE, the batch files fail with the error message: Input Error: There is no script engine for file extension ".js".
8 lines
346 B
Batchfile
8 lines
346 B
Batchfile
@echo off
|
|
cscript /nologo /e:jscript win32\build\buildconf.js %*
|
|
SET PHP_BUILDCONF_PATH=%~dp0
|
|
copy %PHP_BUILDCONF_PATH%\win32\build\configure.bat %PHP_BUILDCONF_PATH% > nul
|
|
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')
|