blob: 2c41200fce05249e76266f5d85f0c7c8c45d188e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// vim:ft=javascript
ARG_ENABLE("xmlreader", "XMLReader support", "yes");
if (PHP_XMLREADER == "yes" &&
PHP_LIBXML == "yes" &&
CHECK_HEADER_ADD_INCLUDE("libxml/parser.h", "CFLAGS_XMLREADER", PHP_PHP_BUILD + "\\include\\libxml2") &&
CHECK_HEADER_ADD_INCLUDE("libxml/tree.h", "CFLAGS_XMLREADER", PHP_PHP_BUILD + "\\include\\libxml2")
) {
EXTENSION("xmlreader", "php_xmlreader.c");
AC_DEFINE("HAVE_XMLREADER", 1, "XMLReader support");
if (!PHP_XMLREADER_SHARED) {
ADD_FLAG("CFLAGS_XMLREADER", "/D LIBXML_STATIC");
}
ADD_EXTENSION_DEP('xmlreader', 'libxml');
ADD_EXTENSION_DEP('xmlreader', 'dom');
}
|