xref: /PHP-7.0/ext/soap/config.w32 (revision becfdeb2)
1// $Id$
2// vim:ft=javascript
3
4ARG_ENABLE("soap", "SOAP support", "no");
5
6if (PHP_SOAP != "no") {
7	if (PHP_LIBXML == "yes" &&
8		ADD_EXTENSION_DEP('soap', 'libxml') &&
9		CHECK_HEADER_ADD_INCLUDE("libxml/parser.h", "CFLAGS_SOAP", PHP_PHP_BUILD + "\\include\\libxml2") &&
10		CHECK_HEADER_ADD_INCLUDE("libxml/tree.h", "CFLAGS_SOAP", PHP_PHP_BUILD + "\\include\\libxml2")
11		) {
12		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");
13		AC_DEFINE('HAVE_PHP_SOAP', 1, "SOAP support");
14
15		if (!PHP_SOAP_SHARED) {
16			ADD_FLAG('CFLAGS_SOAP', "/D LIBXML_STATIC ");
17		}
18	} else {
19			WARNING("soap not enabled, libxml not found");
20			PHP_SOAP = "no"
21	}
22}
23