0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-12-22 20:51:51 +00:00
This commit is contained in:
Patrick Reilly 2013-09-28 10:27:07 -07:00
commit b89efab0cd

19
config.w32 Normal file
View File

@ -0,0 +1,19 @@
ARG_WITH("v8js", "for V8 Javascript Engine", "no");
if (PHP_V8JS != "no") {
if (CHECK_LIB("v8.lib", "v8js") &&
CHECK_HEADER_ADD_INCLUDE("v8.h", "CFLAGS_V8JS")) {
AC_DEFINE("PHP_V8_API_VERSION", "3017015", "", false);
AC_DEFINE("PHP_V8_VERSION", "3.17.15", "", true);
EXTENSION("v8js", "v8js.cc v8js_convert.cc v8js_methods.cc v8js_variables.cc", "yes");
} else {
WARNING("v8js not enabled, headers or libs not found");
}
}