mirror of
https://github.com/php/php-src.git
synced 2024-11-25 02:44:58 +08:00
19 lines
513 B
JavaScript
19 lines
513 B
JavaScript
// $Id$
|
|
// vim:ft=javascript
|
|
|
|
ARG_WITH("xmlwriter", "XMLWriter support", "no");
|
|
|
|
if (PHP_XMLWRITER == "yes" && PHP_LIBXML == "yes") {
|
|
if (CHECK_HEADER_ADD_INCLUDE('libxml/xmlwriter.h', 'CFLAGS_XMLWRITER', PHP_XMLWRITER)) {
|
|
EXTENSION("xmlwriter", "php_xmlwriter.c");
|
|
AC_DEFINE("HAVE_XMLWRITER", 1, "XMLWriter support");
|
|
if (!PHP_XMLWRITER_SHARED) {
|
|
ADD_FLAG("CFLAGS_XMLWRITER", "/D LIBXML_STATIC");
|
|
}
|
|
ADD_EXTENSION_DEP('xmlwriter', 'libxml');
|
|
} else {
|
|
WARNING('Could not find xmlwriter.h');
|
|
}
|
|
}
|
|
|