1
0
mirror of https://github.com/php/php-src.git synced 2026-04-01 21:22:13 +02:00
Files
archived-php-src/ext/xmlwriter/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

16 lines
500 B
Plaintext

PHP_ARG_ENABLE([xmlwriter],
[whether to enable XMLWriter support],
[AS_HELP_STRING([--disable-xmlwriter],
[Disable XMLWriter support])],
[yes])
if test "$PHP_XMLWRITER" != "no"; then
PHP_SETUP_LIBXML([XMLWRITER_SHARED_LIBADD], [
AC_DEFINE([HAVE_XMLWRITER], [1],
[Define to 1 if xmlwriter extension is available.])
PHP_NEW_EXTENSION([xmlwriter], [php_xmlwriter.c], [$ext_shared])
PHP_ADD_EXTENSION_DEP(xmlwriter, libxml)
PHP_SUBST([XMLWRITER_SHARED_LIBADD])
])
fi