mirror of
https://github.com/phpv8/v8js.git
synced 2024-11-09 15:18:41 +00:00
config.w32: fix v8api version generation, refs #210
This commit is contained in:
parent
5d2163ffef
commit
dd2ad91452
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user