blob: 1a787917bfd84c9b492b095582aabebc2e11d8be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// 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, "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');
}
}
|