From dd2ad914520343bb177476c58ae1c80ae931d4cc Mon Sep 17 00:00:00 2001 From: Stefan Siegl Date: Wed, 9 Mar 2016 11:42:14 +0100 Subject: [PATCH] config.w32: fix v8api version generation, refs #210 --- config.w32 | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/config.w32 b/config.w32 index 4f4c737..43492b8 100644 --- a/config.w32 +++ b/config.w32 @@ -38,13 +38,12 @@ if (PHP_V8JS != "no") { } else { WARNING("Could not parse v8-version.h"); } - var v8api = v8major + v8js_zeroPad(v8minor,2) + v8js_zeroPad(v8build,2) + v8js_zeroPad(v8patch,2); - var v8ver = v8major+"."+v8minor+"."+v8build+"."+v8patch; - //WARNING("v8api = " + v8api + ", v8ver = " + v8ver); + + var v8api = v8major + v8js_zeroPad(v8minor, 3) + v8js_zeroPad(v8build, 3); + var v8ver = v8major + "." + v8minor + "." + v8build + "." + v8patch; + AC_DEFINE("PHP_V8_API_VERSION", v8api, "", false); AC_DEFINE("PHP_V8_VERSION", v8ver, "", true); - //AC_DEFINE("PHP_V8_API_VERSION", "4007075", "", false); - //AC_DEFINE("PHP_V8_VERSION", "4.7.75", "", true); EXTENSION("v8js", "v8js_array_access.cc v8js.cc v8js_class.cc v8js_commonjs.cc v8js_convert.cc v8js_exceptions.cc v8js_methods.cc v8js_object_export.cc v8js_timer.cc v8js_v8.cc v8js_v8object_class.cc v8js_variables.cc", "yes");