xref: /PHP-5.3/ext/dom/config.w32 (revision aea6771d)
1// $Id$
2// vim:ft=javascript
3
4ARG_WITH("dom", "DOM support", "yes");
5
6if (PHP_DOM == "yes") {
7	if (PHP_LIBXML == "yes" && ADD_EXTENSION_DEP('dom', 'libxml')) {
8		EXTENSION("dom", "php_dom.c attr.c document.c domerrorhandler.c \
9			domstringlist.c domexception.c namelist.c processinginstruction.c \
10			cdatasection.c documentfragment.c domimplementation.c element.c \
11			node.c string_extend.c characterdata.c documenttype.c \
12			domimplementationlist.c entity.c nodelist.c text.c comment.c \
13			domconfiguration.c domimplementationsource.c entityreference.c \
14			notation.c xpath.c dom_iterators.c typeinfo.c domerror.c \
15			domlocator.c namednodemap.c userdatahandler.c");
16
17		AC_DEFINE("HAVE_DOM", 1, "DOM support");
18
19		if (!PHP_DOM_SHARED) {
20			ADD_FLAG("CFLAGS_DOM", "/D LIBXML_STATIC ");
21		}
22		PHP_INSTALL_HEADERS("ext/dom", "xml_common.h");
23	} else {
24		WARNING("dom support can't be enabled, libxml is not enabled")
25		PHP_DOM = "no"
26	}
27}
28