mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
75fb74860d
Normalization include: - Use dnl for everything that can be ommitted when configure is built in favor of the shell comment character # which is visible in the output. - Line length normalized to 80 columns - Dots for most of the one line sentences - Macro definitions include similar pattern header comments now
19 lines
515 B
Plaintext
19 lines
515 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
|
|
|
|
if test "$PHP_LIBXML" = "no"; then
|
|
AC_MSG_ERROR([XMLWriter extension requires LIBXML extension, add --with-libxml])
|
|
fi
|
|
|
|
PHP_SETUP_LIBXML(XMLWRITER_SHARED_LIBADD, [
|
|
AC_DEFINE(HAVE_XMLWRITER,1,[ ])
|
|
PHP_NEW_EXTENSION(xmlwriter, php_xmlwriter.c, $ext_shared)
|
|
PHP_SUBST(XMLWRITER_SHARED_LIBADD)
|
|
])
|
|
fi
|