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