xref: /PHP-5.5/ext/simplexml/config.w32 (revision 294e69dd)
1// $Id$
2// vim:ft=javascript
3
4ARG_WITH("simplexml", "Simple XML support", "yes");
5
6if (PHP_SIMPLEXML == "yes") {
7	if(PHP_LIBXML == "yes"
8	&& ADD_EXTENSION_DEP('simplexml', 'libxml')) {
9		EXTENSION("simplexml", "simplexml.c sxe.c");
10		AC_DEFINE("HAVE_SIMPLEXML", 1, "Simple XML support");
11		if (!PHP_SIMPLEXML_SHARED) {
12			ADD_FLAG("CFLAGS_SIMPLEXML", "/D LIBXML_STATIC");
13		}
14
15		if (!ADD_EXTENSION_DEP('simplexml', 'spl', true)) {
16			MESSAGE("\tSPL support in simplexml disabled");
17		}
18		ADD_FLAG("CFLAGS_SIMPLEXML", "/D PHP_SIMPLEXML_EXPORTS ");
19	} else {
20		PHP_SIMPLEXML = "no";
21		WARNING("simplexml not enabled; libraries and headers not found");
22	}
23}
24