From 7247e9fee0f072ba9a8401fd4183316ea645723d Mon Sep 17 00:00:00 2001 From: Stefan Siegl Date: Tue, 31 May 2022 12:28:24 +0200 Subject: [PATCH] change minimum v8 version to 9.0 --- README.md | 2 +- config.m4 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 64182da..f0da5ca 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Minimum requirements 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 requires V8 7.5 or higher. + This extension requires V8 9.0 or higher. 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). diff --git a/config.m4 b/config.m4 index 44918de..bb823f4 100644 --- a/config.m4 +++ b/config.m4 @@ -140,8 +140,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 7005000 ; then - AC_MSG_ERROR([libv8 must be version 7.5 or greater]) + if test "$V8_API_VERSION" -lt 9000000 ; then + AC_MSG_ERROR([libv8 must be version 9.0 or greater]) fi AC_DEFINE_UNQUOTED([PHP_V8_API_VERSION], $V8_API_VERSION, [ ]) AC_DEFINE_UNQUOTED([PHP_V8_VERSION], "$ac_cv_v8_version", [ ])