From: Greg Beaver Date: Fri, 16 May 2008 00:01:56 +0000 (+0000) Subject: as discussed on internals, enable phar by default for testing purposes. X-Git-Tag: BEFORE_NEW_PARAMETER_PARSE~214 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a5ec4d5f2bbca3d252ab43eafdc2d6141b5cef65;p=php as discussed on internals, enable phar by default for testing purposes. Phar is enabled as a shared extension by default in order to allow zlib/bz2 to be built shared. If phar is statically built, both zlib and bz2 must be statically built in order for phar to use them, so default compile as shared is much more flexible --- diff --git a/ext/phar/config.m4 b/ext/phar/config.m4 index d3e4d5a54f..4d44e9d802 100644 --- a/ext/phar/config.m4 +++ b/ext/phar/config.m4 @@ -2,7 +2,7 @@ dnl $Id$ dnl config.m4 for extension phar PHP_ARG_ENABLE(phar, for phar archive support, -[ --enable-phar Enable phar support]) +[ --disable-phar Disable phar support], shared) if test "$PHP_PHAR" != "no"; then PHP_NEW_EXTENSION(phar, util.c tar.c zip.c stream.c func_interceptors.c dirstream.c phar.c phar_object.c phar_path_check.c, $ext_shared) diff --git a/ext/phar/config.w32 b/ext/phar/config.w32 index 35127a7b13..211443c452 100644 --- a/ext/phar/config.w32 +++ b/ext/phar/config.w32 @@ -1,7 +1,7 @@ // $Id$ // vim:ft=javascript -ARG_ENABLE("phar", "enable phar support", "no"); +ARG_ENABLE("phar", "disable phar support", "shared"); 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");