xref: /php-src/ext/soap/config.m4 (revision 80d78461)
1PHP_ARG_ENABLE([soap],
2  [whether to enable SOAP support],
3  [AS_HELP_STRING([--enable-soap],
4    [Enable SOAP support])])
5
6if test "$PHP_SOAP" != "no"; then
7  PHP_SETUP_LIBXML([SOAP_SHARED_LIBADD], [
8    AC_DEFINE([HAVE_SOAP], [1],
9      [Define to 1 if the PHP extension 'soap' is available.])
10    PHP_NEW_EXTENSION([soap], m4_normalize([
11        php_encoding.c
12        php_http.c
13        php_packet_soap.c
14        php_schema.c
15        php_sdl.c
16        php_xml.c
17        soap.c
18      ]),
19      [$ext_shared],,
20      [-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1])
21    PHP_SUBST([SOAP_SHARED_LIBADD])
22  ])
23  PHP_ADD_EXTENSION_DEP(soap, date)
24  PHP_ADD_EXTENSION_DEP(soap, hash)
25  PHP_ADD_EXTENSION_DEP(soap, libxml)
26  PHP_ADD_EXTENSION_DEP(soap, session, true)
27fi
28