Browse Source

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
PECL
Greg Beaver 18 years ago
parent
commit
a5ec4d5f2b
  1. 2
      ext/phar/config.m4
  2. 2
      ext/phar/config.w32

2
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)

2
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");

Loading…
Cancel
Save