Преглед на файлове

Require v8 3.24.6 or higher

Just tested it, v8js builds correctly with 3.24.6 and fails to build
against 3.24.5 due to `RequestInterrupt' being undefined.

Syncing the check in config.m4 (used to test 3.21.12 or newer) against
README.md file (which stated 3.24.10 or newer).
Stefan Siegl преди 10 години
родител
ревизия
0e76b675d2
променени са 2 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 1 1
      README.md
  2. 2 2
      config.m4

+ 1 - 1
README.md

@@ -14,7 +14,7 @@ Minimum requirements
 	V8 is Google's open source Javascript engine.
 	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.
-    This extension makes use of V8 isolates to ensure separation between multiple V8Js instances and uses the new isolate-based mechanism to throw exceptions, hence the need for 3.24.10 or above.
+    This extension makes use of V8 isolates to ensure separation between multiple V8Js instances and uses the new isolate-based mechanism to throw exceptions, hence the need for 3.24.6 or above.
 
     For a detailed overview of which V8 version V8Js can be successfully built against, see the
     [Jenkins V8Js build matrix](https://jenkins.brokenpipe.de/job/docker-v8js-matrix/).

+ 2 - 2
config.m4

@@ -91,8 +91,8 @@ int main ()
     set $ac_cv_v8_version
     IFS=$ac_IFS
     V8_API_VERSION=`expr [$]1 \* 1000000 + [$]2 \* 1000 + [$]3`
-    if test "$V8_API_VERSION" -lt 3021012 ; then
-       AC_MSG_ERROR([libv8 must be version 3.21.12 or greater])
+    if test "$V8_API_VERSION" -lt 3024006 ; then
+       AC_MSG_ERROR([libv8 must be version 3.24.6 or greater])
     fi
     AC_DEFINE_UNQUOTED([PHP_V8_API_VERSION], $V8_API_VERSION, [ ])
     AC_DEFINE_UNQUOTED([PHP_V8_VERSION], "$ac_cv_v8_version", [ ])