cvs: pecl /phar config.m4 package.php
| From: | Greg Beaver | Date: | Thu, 17 Jan 2008 02:03:58 +0000 |
| Subject: | cvs: pecl /phar config.m4 package.php | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-9527@lists.php.net to get a copy of this message | ||
cellog Thu Jan 17 02:03:58 2008 UTC
Modified files:
/pecl/phar config.m4 package.php
Log:
update m4 to make zip support always enabled so zip headers must be installed, add dep to
package.xml
http://cvs.php.net/viewvc.cgi/pecl/phar/config.m4?r1=1.21&r2=1.22&diff_format=u
Index: pecl/phar/config.m4
diff -u pecl/phar/config.m4:1.21 pecl/phar/config.m4:1.22
--- pecl/phar/config.m4:1.21 Sat Jan 12 05:17:11 2008
+++ pecl/phar/config.m4 Thu Jan 17 02:03:58 2008
@@ -1,24 +1,15 @@
-dnl $Id: config.m4,v 1.21 2008/01/12 05:17:11 cellog Exp $
+dnl $Id: config.m4,v 1.22 2008/01/17 02:03:58 cellog Exp $
dnl config.m4 for extension phar
PHP_ARG_ENABLE(phar, for phar support/phar zlib support,
[ --enable-phar Enable phar support])
-PHP_ARG_WITH(phar-zip, for zip-based phar support,
-[ --without-phar-zip PHAR: Disable zip-based phar archive support], no, no)
-
if test "$PHP_PHAR" != "no"; then
PHP_NEW_EXTENSION(phar, tar.c zip.c stream.c func_interceptors.c dirstream.c phar.c phar_object.c
phar_path_check.c, $ext_shared)
- AC_MSG_CHECKING([for zip-based phar support])
- if test "$PHP_PHAR_ZIP" != "yes"; then
- AC_MSG_RESULT([yes])
- AC_DEFINE(HAVE_PHAR_ZIP,1,[ ])
- PHP_ADD_EXTENSION_DEP(phar, zip, true)
- else
- AC_MSG_RESULT([no])
- fi
+ AC_DEFINE(HAVE_PHAR_ZIP,1,[ ])
PHP_ADD_BUILD_DIR($ext_builddir/lib, 1)
PHP_SUBST(PHAR_SHARED_LIBADD)
+ PHP_ADD_EXTENSION_DEP(phar, zip, true)
PHP_ADD_EXTENSION_DEP(phar, zlib, true)
PHP_ADD_EXTENSION_DEP(phar, bz2, true)
PHP_ADD_EXTENSION_DEP(phar, spl, true)
http://cvs.php.net/viewvc.cgi/pecl/phar/package.php?r1=1.33&r2=1.34&diff_format=u
Index: pecl/phar/package.php
diff -u pecl/phar/package.php:1.33 pecl/phar/package.php:1.34
--- pecl/phar/package.php:1.33 Wed Jan 16 07:24:38 2008
+++ pecl/phar/package.php Thu Jan 17 02:03:58 2008
@@ -64,6 +64,7 @@
// all this false business sets the <providesextension> tag that allows us to have hash built
// in statically
$package->addPackageDepWithChannel('optional', 'hash',
'pecl.php.net', false, false, false, false, 'hash');
+$package->addPackageDepWithChannel('optional', 'zip',
'pecl.php.net', '1.8.11', false, false, false, 'zip');
$package->addExtensionDep('optional', 'spl');
$package->addExtensionDep('optional', 'zlib');
$package->setPackageType('extsrc');