From 9a59e606578889b2a763fc75c7d6d29964371a1f Mon Sep 17 00:00:00 2001 From: Greg Beaver Date: Thu, 17 Jan 2008 03:59:07 +0000 Subject: remove HAVE_ZIP defines just as we removed HAVE_BZ2 defines and for the same reason update outdated description of phar in config.m4 make zip extension mandatory on windows for compiling purposes --- ext/phar/config.w32 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ext/phar/config.w32') diff --git a/ext/phar/config.w32 b/ext/phar/config.w32 index 7c25c4ed47..79a4e43e75 100644 --- a/ext/phar/config.w32 +++ b/ext/phar/config.w32 @@ -2,10 +2,10 @@ // vim:ft=javascript ARG_ENABLE("phar", "enable phar support", "no"); -ARG_WITH("phar-zip", "for zip-based 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"); + ADD_EXTENSION_DEP('phar', 'zip'); if (PHP_ZIP_SHARED) { ADD_FLAG("CFLAGS_PHAR", "/D COMPILE_DL_ZIP "); } @@ -13,7 +13,6 @@ if (PHP_PHAR != "no") { ADD_FLAG("CFLAGS_PHAR", "/D COMPILE_DL_PHAR "); } if (PHP_ZIP != "no") { - ADD_EXTENSION_DEP('phar', 'zip', true); AC_DEFINE('HAVE_PHAR_ZIP', 1); } ADD_EXTENSION_DEP('phar', 'zlib', true); -- cgit v1.2.1