1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/ext/soap/config.m4
Peter Kokot 32210ce967 Autotools: Sync CS in XML related extensions (#15110)
- PHP_SETUP_LIBXML arguments quoted
- Help texts updated for HAVE_LIBXML, HAVE_DOM, HAVE_XMLREADER,
  HAVE_XMLWRITER, HAVE_SOAP, HAVE_SIMPLEXML, and HAVE_XML CPP macros
- Duplicate HAVE_LIBXML symbol definition in PHP_SETUP_LIBXML M4 macro
  removed (the HAVE_LIBXML marks that PHP libxml extension is available and
  not only that libxml2 library is available)
2024-07-27 22:48:51 +02:00

25 lines
669 B
Plaintext

PHP_ARG_ENABLE([soap],
[whether to enable SOAP support],
[AS_HELP_STRING([--enable-soap],
[Enable SOAP support])])
if test "$PHP_SOAP" != "no"; then
PHP_SETUP_LIBXML([SOAP_SHARED_LIBADD], [
AC_DEFINE([HAVE_SOAP], [1], [Define to 1 if soap extension is available.])
PHP_NEW_EXTENSION([soap], m4_normalize([
php_encoding.c
php_http.c
php_packet_soap.c
php_schema.c
php_sdl.c
php_xml.c
soap.c
]),
[$ext_shared],,
[-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1])
PHP_SUBST([SOAP_SHARED_LIBADD])
])
PHP_ADD_EXTENSION_DEP(soap, libxml)
PHP_ADD_EXTENSION_DEP(soap, session, true)
fi