diff options
author | Greg Beaver <cellog@php.net> | 2008-01-22 05:26:38 +0000 |
---|---|---|
committer | Greg Beaver <cellog@php.net> | 2008-01-22 05:26:38 +0000 |
commit | f51bf6118c2bb8fad9e290e721074ccdc929c3c3 (patch) | |
tree | 22750b2058f69389e7151f0d5bfe3d5c143d4595 /ext/phar/config.w32 | |
parent | bc1475c65a0e630c29afef0e3285728a419fb124 (diff) | |
download | php-git-f51bf6118c2bb8fad9e290e721074ccdc929c3c3.tar.gz |
fix tests to match CVS
Diffstat (limited to 'ext/phar/config.w32')
-rw-r--r-- | ext/phar/config.w32 | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/ext/phar/config.w32 b/ext/phar/config.w32 index 96d2368a7f..e99914a2ab 100644 --- a/ext/phar/config.w32 +++ b/ext/phar/config.w32 @@ -5,14 +5,13 @@ ARG_ENABLE("phar", "enable phar support", "no"); if (PHP_PHAR != "no") { EXTENSION("phar", "tar.c zip.c stream.c dirstream.c func_interceptors.c phar.c phar_object.c phar_path_check.c"); - if (PHP_ZIP_SHARED) { - ADD_FLAG("CFLAGS_PHAR", "/D COMPILE_DL_ZIP "); - } if (PHP_PHAR_SHARED) { ADD_FLAG("CFLAGS_PHAR", "/D COMPILE_DL_PHAR "); } - AC_DEFINE('HAVE_PHAR_ZIP', 1); - ADD_EXTENSION_DEP('phar', 'zip'); + if (HAVE_ZIP) { + AC_DEFINE('HAVE_PHAR_ZIP', 1); + ADD_EXTENSION_DEP('phar', 'zip', true); + } ADD_EXTENSION_DEP('phar', 'zlib', true); ADD_EXTENSION_DEP('phar', 'bz2', true); ADD_EXTENSION_DEP('phar', 'spl', true); |