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