diff options
author | Marcus Boerger <helly@php.net> | 2006-01-11 23:55:57 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2006-01-11 23:55:57 +0000 |
commit | 8166072ea3eae403cac281e26820d0fb82b245d3 (patch) | |
tree | 99ba477ec8af7dddaa6a808952162f620683ebc5 /ext/phar/config.w32 | |
parent | ae81cb9a1cdc75204fa84dc72e3c671c27e7e651 (diff) | |
download | php-git-8166072ea3eae403cac281e26820d0fb82b245d3.tar.gz |
- Change to use streams filters which simplifies decompression a lot and
easily allows to use other compression algos too
Diffstat (limited to 'ext/phar/config.w32')
-rw-r--r-- | ext/phar/config.w32 | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/ext/phar/config.w32 b/ext/phar/config.w32 index 58791a3a7e..c1c427f887 100644 --- a/ext/phar/config.w32 +++ b/ext/phar/config.w32 @@ -4,19 +4,7 @@ ARG_ENABLE("phar", "enable phar support", "no"); if (PHP_PHAR != "no") { - if (PHP_ZLIB != "no") { - EXTENSION("phar", "phar.c"); - if (!PHP_ZLIB_SHARED) { - AC_DEFINE("HAVE_PHAR_ZLIB", 1, "ZLIB support in phar"); - } - } else { - EXTENSION("phar", "phar.c", null, "/D ZLIB_EXPORTS"); - AC_DEFINE("HAVE_PHAR_ZLIB", 1, "ZLIB support in phar"); - CHECK_LIB("zlib.lib", "zlib", PHP_ZLIB); - CHECK_HEADER_ADD_INCLUDE("zlib.h", "CFLAGS", "..\\zlib;" + php_usual_include_suspects); - if (!PHP_ZLIB_SHARED) { - ADD_DEF_FILE("ext\\zlib\\php_zlib.def"); - } - } + EXTENSION("phar", "phar.c"); + ADD_EXTENSION_DEP('phar', 'zlib', true); } |