php-src/ext/xmlwriter/config.m4
Peter Kokot 75fb74860d Normalize comments in *nix build system m4 files
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
2019-05-12 18:43:03 +02:00

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