1
0
mirror of https://github.com/php/php-src.git synced 2026-04-01 13:12:16 +02:00
Files
archived-php-src/ext/simplexml/config.m4
Peter Kokot 9cc63e1de9 Autotools: Normalize headers arguments (#15149)
Refactor all "long" arguments into blank-or-newline-separated list of
files with m4_normalize.
2024-07-29 10:08:17 +02:00

21 lines
654 B
Plaintext

PHP_ARG_ENABLE([simplexml],
[whether to enable SimpleXML support],
[AS_HELP_STRING([--disable-simplexml],
[Disable SimpleXML support])],
[yes])
if test "$PHP_SIMPLEXML" != "no"; then
PHP_SETUP_LIBXML([SIMPLEXML_SHARED_LIBADD], [
AC_DEFINE([HAVE_SIMPLEXML], [1],
[Define to 1 if simplexml extension is available.])
PHP_NEW_EXTENSION([simplexml], [simplexml.c], [$ext_shared])
PHP_ADD_EXTENSION_DEP(simplexml, libxml)
PHP_ADD_EXTENSION_DEP(simplexml, spl)
PHP_INSTALL_HEADERS([ext/simplexml], m4_normalize([
php_simplexml_exports.h
php_simplexml.h
]))
PHP_SUBST([SIMPLEXML_SHARED_LIBADD])
])
fi