mirror of
https://github.com/php/php-src.git
synced 2026-04-03 14:12:38 +02:00
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
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user