Skip to content

Commit 52b9aa4

Browse files
committed
emit warning if using V8 version < 6.4.388
1 parent 723e71c commit 52b9aa4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

config.m4

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,9 @@ int main ()
144144
if test "$V8_API_VERSION" -lt 4006076 ; then
145145
AC_MSG_ERROR([libv8 must be version 4.6.76 or greater])
146146
fi
147+
if test "$V8_API_VERSION" -lt 6004388 ; then
148+
AC_MSG_WARN([libv8 prior to 6.4.388.18 is missing speculative execution mitigations])
149+
fi
147150
AC_DEFINE_UNQUOTED([PHP_V8_API_VERSION], $V8_API_VERSION, [ ])
148151
AC_DEFINE_UNQUOTED([PHP_V8_VERSION], "$ac_cv_v8_version", [ ])
149152
else

0 commit comments

Comments
 (0)