summaryrefslogtreecommitdiff
path: root/ext/phar/config.w32
diff options
context:
space:
mode:
Diffstat (limited to 'ext/phar/config.w32')
-rw-r--r--ext/phar/config.w3214
1 files changed, 14 insertions, 0 deletions
diff --git a/ext/phar/config.w32 b/ext/phar/config.w32
new file mode 100644
index 0000000000..35127a7b13
--- /dev/null
+++ b/ext/phar/config.w32
@@ -0,0 +1,14 @@
+// $Id$
+// vim:ft=javascript
+
+ARG_ENABLE("phar", "enable phar support", "no");
+
+if (PHP_PHAR != "no") {
+ EXTENSION("phar", "dirstream.c func_interceptors.c phar.c phar_object.c phar_path_check.c stream.c tar.c util.c zip.c");
+ if (PHP_PHAR_SHARED) {
+ ADD_FLAG("CFLAGS_PHAR", "/D COMPILE_DL_PHAR ");
+ }
+ ADD_EXTENSION_DEP('phar', 'bz2', true);
+ ADD_EXTENSION_DEP('phar', 'spl', true);
+ ADD_EXTENSION_DEP('phar', 'zlib', true);
+}