mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
- 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)
17 lines
583 B
JavaScript
17 lines
583 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 xmlwriter extension 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');
|
|
}
|
|
}
|