summaryrefslogtreecommitdiff
path: root/ext/soap/config.w32
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-05-10 21:28:20 +0200
committerAnatol Belski <ab@php.net>2015-05-10 22:22:03 +0200
commitbecfdeb2ffe0927a74952e026158d33a6c0ac83d (patch)
tree8c771fccbfc2b89354688dde3b31db2c8b17f4d1 /ext/soap/config.w32
parente570bb430d83c93e5e06505349222996c6072003 (diff)
downloadphp-git-becfdeb2ffe0927a74952e026158d33a6c0ac83d.tar.gz
improve searchability for libxml2 headers
and bring the configs inline with the current libxml2 build
Diffstat (limited to 'ext/soap/config.w32')
-rw-r--r--ext/soap/config.w326
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/soap/config.w32 b/ext/soap/config.w32
index bb26a90471..1124eb2f4e 100644
--- a/ext/soap/config.w32
+++ b/ext/soap/config.w32
@@ -4,7 +4,11 @@
ARG_ENABLE("soap", "SOAP support", "no");
if (PHP_SOAP != "no") {
- if (PHP_LIBXML == "yes" && ADD_EXTENSION_DEP('soap', 'libxml')) {
+ if (PHP_LIBXML == "yes" &&
+ ADD_EXTENSION_DEP('soap', 'libxml') &&
+ CHECK_HEADER_ADD_INCLUDE("libxml/parser.h", "CFLAGS_SOAP", PHP_PHP_BUILD + "\\include\\libxml2") &&
+ CHECK_HEADER_ADD_INCLUDE("libxml/tree.h", "CFLAGS_SOAP", PHP_PHP_BUILD + "\\include\\libxml2")
+ ) {
EXTENSION('soap', 'soap.c php_encoding.c php_http.c php_packet_soap.c php_schema.c php_sdl.c php_xml.c', null, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
AC_DEFINE('HAVE_PHP_SOAP', 1, "SOAP support");