adjust config.w32

This commit is contained in:
Shuhei Tanuma 2012-06-18 23:53:02 +09:00
parent 6812bfff8a
commit 39679dbdd4

View File

@ -1,7 +1,7 @@
ARG_ENABLE("uv", "for uv support", "no");
if (PHP_UV != "no") {
if (CHECK_HEADER_ADD_INCLUDE("uv.h", "CFLAGS_UV") && CHECK_LIB("uv.lib", "uv", PHP_UV)) {
if (CHECK_HEADER_ADD_INCLUDE("uv.h", "CFLAGS_UV", ".\\libuv\\include") && CHECK_LIB("uv.lib", "uv", PHP_UV, ".\\")) {
EXTENSION('uv', 'php_uv.c uv.c');
} else {
WARNING("uv not enabled; libraries and/or headers not found");