mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00

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".
10 lines
288 B
Batchfile
10 lines
288 B
Batchfile
@echo off
|
|
SET PHP_BUILDCONF_PATH=%~dp0
|
|
cscript /nologo /e:jscript %PHP_BUILDCONF_PATH%\script\phpize.js %*
|
|
IF NOT EXIST configure.bat (
|
|
echo Error generating configure script, configure script was not copied
|
|
exit /b 3
|
|
) ELSE (
|
|
echo Now run 'configure --help'
|
|
)
|
|
SET PHP_BUILDCONF_PATH=
|