2003-12-20 09:44:53 +08:00
|
|
|
// $Id$
|
|
|
|
// vim:ft=javascript
|
|
|
|
|
2004-02-09 17:31:18 +08:00
|
|
|
ARG_ENABLE("soap", "SOAP support", "no");
|
2003-12-20 09:44:53 +08:00
|
|
|
|
2009-04-23 03:06:47 +08:00
|
|
|
if (PHP_SOAP != "no") {
|
2015-05-11 03:28:20 +08:00
|
|
|
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")
|
|
|
|
) {
|
2014-10-17 20:31:17 +08:00
|
|
|
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");
|
2008-06-24 02:40:29 +08:00
|
|
|
AC_DEFINE('HAVE_PHP_SOAP', 1, "SOAP support");
|
2003-12-20 09:44:53 +08:00
|
|
|
|
2008-06-24 02:40:29 +08:00
|
|
|
if (!PHP_SOAP_SHARED) {
|
|
|
|
ADD_FLAG('CFLAGS_SOAP', "/D LIBXML_STATIC ");
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
WARNING("soap not enabled, libxml not found");
|
|
|
|
PHP_SOAP = "no"
|
2003-12-20 09:44:53 +08:00
|
|
|
}
|
|
|
|
}
|