]> granicus.if.org Git - php/commitdiff
as discussed on internals, enable phar by default for testing purposes.
authorGreg Beaver <cellog@php.net>
Fri, 16 May 2008 00:01:56 +0000 (00:01 +0000)
committerGreg Beaver <cellog@php.net>
Fri, 16 May 2008 00:01:56 +0000 (00:01 +0000)
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

ext/phar/config.m4
ext/phar/config.w32

index d3e4d5a54fdb39b42e9c5c609bd0809312993026..4d44e9d802da03c8006c484f52fcad9e87b03cae 100644 (file)
@@ -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)
index 35127a7b139cf706e6ab4d88ec44efdd7c552e0f..211443c452e69a40a86e7a022b1e3df1941cfbde 100644 (file)
@@ -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");