mirror of
https://github.com/php/php-src.git
synced 2024-11-23 09:54:15 +08:00
f66feaec0f
This syncs all help texts of extension preprocessor macros to the same style "Define to 1 if the PHP extension '<ext>' is available.". [skip ci]
17 lines
593 B
JavaScript
17 lines
593 B
JavaScript
// vim:ft=javascript
|
|
|
|
ARG_ENABLE("xmlwriter", "XMLWriter support", "yes");
|
|
|
|
if (PHP_XMLWRITER == "yes" && PHP_LIBXML == "yes") {
|
|
if (CHECK_HEADER_ADD_INCLUDE('libxml/xmlwriter.h', 'CFLAGS_XMLWRITER', PHP_XMLWRITER + ";" + PHP_PHP_BUILD + "\\include\\libxml2")) {
|
|
EXTENSION("xmlwriter", "php_xmlwriter.c");
|
|
AC_DEFINE("HAVE_XMLWRITER", 1, "Define to 1 if the PHP extension 'xmlwriter' is available.");
|
|
if (!PHP_XMLWRITER_SHARED) {
|
|
ADD_FLAG("CFLAGS_XMLWRITER", "/D LIBXML_STATIC");
|
|
}
|
|
ADD_EXTENSION_DEP('xmlwriter', 'libxml');
|
|
} else {
|
|
WARNING('Could not find xmlwriter.h');
|
|
}
|
|
}
|