xref: /PHP-5.4/ext/xmlwriter/config.w32 (revision ab6a987f)
1// $Id$
2// vim:ft=javascript
3
4ARG_ENABLE("xmlwriter", "XMLWriter support", "yes");
5
6if (PHP_XMLWRITER == "yes" && PHP_LIBXML == "yes") {
7	if (CHECK_HEADER_ADD_INCLUDE('libxml/xmlwriter.h', 'CFLAGS_XMLWRITER', PHP_XMLWRITER)) {
8		EXTENSION("xmlwriter", "php_xmlwriter.c");
9		AC_DEFINE("HAVE_XMLWRITER", 1, "XMLWriter support");
10		if (!PHP_XMLWRITER_SHARED) {
11			ADD_FLAG("CFLAGS_XMLWRITER", "/D LIBXML_STATIC");
12		}
13		ADD_EXTENSION_DEP('xmlwriter', 'libxml');
14	} else {
15		WARNING('Could not find xmlwriter.h');
16	}
17}
18
19