summaryrefslogtreecommitdiff
path: root/ext/xmlwriter/config.w32
diff options
context:
space:
mode:
Diffstat (limited to 'ext/xmlwriter/config.w32')
-rw-r--r--ext/xmlwriter/config.w3214
1 files changed, 14 insertions, 0 deletions
diff --git a/ext/xmlwriter/config.w32 b/ext/xmlwriter/config.w32
new file mode 100644
index 0000000..72dc218
--- /dev/null
+++ b/ext/xmlwriter/config.w32
@@ -0,0 +1,14 @@
+// $Id$
+// vim:ft=javascript
+
+ARG_WITH("xmlwriter", "XMLWriter support", "yes");
+
+if (PHP_XMLWRITER == "yes" && PHP_LIBXML == "yes") {
+ EXTENSION("xmlwriter", "php_xmlwriter.c");
+ AC_DEFINE("HAVE_XMLWRITER", 1, "XMLWriter support");
+ if (!PHP_XMLWRITER_SHARED) {
+ ADD_FLAG("CFLAGS_XMLWRITER", "/D LIBXML_STATIC");
+ }
+ ADD_EXTENSION_DEP('xmlwriter', 'libxml');
+}
+