xref: /PHP-5.6/ext/xml/config.w32 (revision aea6771d)
1// $Id$
2// vim:ft=javascript
3
4ARG_WITH("xml", "XML support", "yes");
5
6if (PHP_XML == "yes") {
7	if (PHP_LIBXML == "yes"
8	&& ADD_EXTENSION_DEP('xml', 'libxml')) {
9		EXTENSION("xml", "xml.c compat.c");
10		AC_DEFINE("HAVE_XML", 1, "XML support");
11		if (!PHP_XML_SHARED) {
12			ADD_FLAG("CFLAGS_XML", "/D LIBXML_STATIC ");
13		}
14		PHP_INSTALL_HEADERS("", "ext/xml");
15	} else {
16		WARNING("xml support can't be enabled, libraries or headers are missing")
17		PHP_ZLIB = "no"
18	}
19}
20