0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-12-22 08:11:52 +00:00

emit warning if using V8 version < 6.4.388

This commit is contained in:
Stefan Siegl 2018-01-06 16:46:09 +01:00
parent 723e71c35a
commit 52b9aa4521
No known key found for this signature in database
GPG Key ID: 73942AF5642F3DDA

View File

@ -144,6 +144,9 @@ int main ()
if test "$V8_API_VERSION" -lt 4006076 ; then
AC_MSG_ERROR([libv8 must be version 4.6.76 or greater])
fi
if test "$V8_API_VERSION" -lt 6004388 ; then
AC_MSG_WARN([libv8 prior to 6.4.388.18 is missing speculative execution mitigations])
fi
AC_DEFINE_UNQUOTED([PHP_V8_API_VERSION], $V8_API_VERSION, [ ])
AC_DEFINE_UNQUOTED([PHP_V8_VERSION], "$ac_cv_v8_version", [ ])
else