1// $Id$ 2// vim:ft=javascript 3 4ARG_ENABLE("soap", "SOAP support", "no"); 5 6if (PHP_SOAP != "no") { 7 if (PHP_LIBXML == "yes" && ADD_EXTENSION_DEP('soap', 'libxml')) { 8 EXTENSION('soap', 'soap.c php_encoding.c php_http.c php_packet_soap.c php_schema.c php_sdl.c php_xml.c'); 9 AC_DEFINE('HAVE_PHP_SOAP', 1, "SOAP support"); 10 11 if (!PHP_SOAP_SHARED) { 12 ADD_FLAG('CFLAGS_SOAP', "/D LIBXML_STATIC "); 13 } 14 } else { 15 WARNING("soap not enabled, libxml not found"); 16 PHP_SOAP = "no" 17 } 18} 19