summaryrefslogtreecommitdiff
path: root/ext/phar/config.m4
diff options
context:
space:
mode:
authorGreg Beaver <cellog@php.net>2008-05-17 20:07:22 +0000
committerGreg Beaver <cellog@php.net>2008-05-17 20:07:22 +0000
commit4aa4f1fabbdf4273786a9373bfae35a8b2945fd8 (patch)
tree6ab22453d991548ae82d18ea5ccc519c08f7030a /ext/phar/config.m4
parentd35f27b896af9ee8a25966099448631019af1333 (diff)
downloadphp-git-4aa4f1fabbdf4273786a9373bfae35a8b2945fd8.tar.gz
enable by default statically instead of shared
this is done by removing zlib/bz2 explicit dependencies because they are unnecessary we only ever use the stream filter, and the check for existence has been moved to runtime where it is after startup
Diffstat (limited to 'ext/phar/config.m4')
-rw-r--r--ext/phar/config.m44
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/phar/config.m4 b/ext/phar/config.m4
index e1009d39d5..e7a577d6a8 100644
--- a/ext/phar/config.m4
+++ b/ext/phar/config.m4
@@ -2,14 +2,12 @@ dnl $Id$
dnl config.m4 for extension phar
PHP_ARG_ENABLE(phar, for phar archive support,
-[ --disable-phar Disable phar support], shared)
+[ --disable-phar Disable phar support], yes)
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)
PHP_ADD_BUILD_DIR($ext_builddir/lib, 1)
PHP_SUBST(PHAR_SHARED_LIBADD)
- PHP_ADD_EXTENSION_DEP(phar, zlib, true)
- PHP_ADD_EXTENSION_DEP(phar, bz2, true)
PHP_ADD_EXTENSION_DEP(phar, spl, true)
PHP_ADD_MAKEFILE_FRAGMENT
fi