xref: /PHP-8.2/ext/soap/config.m4 (revision 75fb7486)
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
8  if test "$PHP_LIBXML" = "no"; then
9    AC_MSG_ERROR([SOAP extension requires LIBXML extension, add --with-libxml])
10  fi
11
12  PHP_SETUP_LIBXML(SOAP_SHARED_LIBADD, [
13    AC_DEFINE(HAVE_SOAP,1,[ ])
14    PHP_NEW_EXTENSION(soap, soap.c php_encoding.c php_http.c php_packet_soap.c php_schema.c php_sdl.c php_xml.c, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
15    PHP_SUBST(SOAP_SHARED_LIBADD)
16  ])
17fi
18