mirror of
https://github.com/phpv8/v8js.git
synced 2025-01-03 12:21:51 +00:00
increase minimum V8 version to 7.5
This commit is contained in:
parent
51d34e0acd
commit
acd9431ec9
@ -21,7 +21,7 @@ Minimum requirements
|
|||||||
V8 is written in C++ and is used in Google Chrome, the open source browser from Google.
|
V8 is written in C++ and is used in Google Chrome, the open source browser from Google.
|
||||||
V8 implements ECMAScript as specified in ECMA-262, 5th edition.
|
V8 implements ECMAScript as specified in ECMA-262, 5th edition.
|
||||||
|
|
||||||
This extension requires V8 6.9 (6.9.427.18 is known to work) or higher.
|
This extension requires V8 7.5 or higher.
|
||||||
|
|
||||||
V8 releases are published rather quickly and the V8 team usually provides security support
|
V8 releases are published rather quickly and the V8 team usually provides security support
|
||||||
for the version line shipped with the Chrome browser (stable channel) and newer (only).
|
for the version line shipped with the Chrome browser (stable channel) and newer (only).
|
||||||
|
@ -140,8 +140,8 @@ int main ()
|
|||||||
set $ac_cv_v8_version
|
set $ac_cv_v8_version
|
||||||
IFS=$ac_IFS
|
IFS=$ac_IFS
|
||||||
V8_API_VERSION=`expr [$]1 \* 1000000 + [$]2 \* 1000 + [$]3`
|
V8_API_VERSION=`expr [$]1 \* 1000000 + [$]2 \* 1000 + [$]3`
|
||||||
if test "$V8_API_VERSION" -lt 6009000 ; then
|
if test "$V8_API_VERSION" -lt 7005000 ; then
|
||||||
AC_MSG_ERROR([libv8 must be version 6.9 or greater])
|
AC_MSG_ERROR([libv8 must be version 7.5 or greater])
|
||||||
fi
|
fi
|
||||||
AC_DEFINE_UNQUOTED([PHP_V8_API_VERSION], $V8_API_VERSION, [ ])
|
AC_DEFINE_UNQUOTED([PHP_V8_API_VERSION], $V8_API_VERSION, [ ])
|
||||||
AC_DEFINE_UNQUOTED([PHP_V8_VERSION], "$ac_cv_v8_version", [ ])
|
AC_DEFINE_UNQUOTED([PHP_V8_VERSION], "$ac_cv_v8_version", [ ])
|
||||||
|
Loading…
Reference in New Issue
Block a user