cvs: pecl /phar config.w32 phar.c
| From: | Greg Beaver | Date: | Fri, 18 Jan 2008 00:11:36 +0000 |
| Subject: | cvs: pecl /phar config.w32 phar.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-9552@lists.php.net to get a copy of this message | ||
cellog Fri Jan 18 00:11:36 2008 UTC
Modified files:
/pecl/phar config.w32 phar.c
Log:
add needed define back into config.w32, make zip required mod on win32, remove lib/.cvsignore
http://cvs.php.net/viewvc.cgi/pecl/phar/config.w32?r1=1.22&r2=1.23&diff_format=u
Index: pecl/phar/config.w32
diff -u pecl/phar/config.w32:1.22 pecl/phar/config.w32:1.23
--- pecl/phar/config.w32:1.22 Thu Jan 17 20:21:54 2008
+++ pecl/phar/config.w32 Fri Jan 18 00:11:36 2008
@@ -1,17 +1,18 @@
-// $Id: config.w32,v 1.22 2008/01/17 20:21:54 cellog Exp $
+// $Id: config.w32,v 1.23 2008/01/18 00:11:36 cellog Exp $
// vim:ft=javascript
ARG_ENABLE("phar", "enable phar support", "no");
if (PHP_PHAR != "no") {
EXTENSION("phar", "tar.c zip.c stream.c dirstream.c func_interceptors.c phar.c
phar_object.c phar_path_check.c");
- ADD_EXTENSION_DEP('phar', 'zip');
if (PHP_ZIP_SHARED) {
ADD_FLAG("CFLAGS_PHAR", "/D COMPILE_DL_ZIP ");
}
if (PHP_PHAR_SHARED) {
ADD_FLAG("CFLAGS_PHAR", "/D COMPILE_DL_PHAR ");
}
+ AC_DEFINE('HAVE_PHAR_ZIP', 1);
+ ADD_EXTENSION_DEP('phar', 'zip');
ADD_EXTENSION_DEP('phar', 'zlib', true);
ADD_EXTENSION_DEP('phar', 'bz2', true);
ADD_EXTENSION_DEP('phar', 'spl', true);
http://cvs.php.net/viewvc.cgi/pecl/phar/phar.c?r1=1.275&r2=1.276&diff_format=u
Index: pecl/phar/phar.c
diff -u pecl/phar/phar.c:1.275 pecl/phar/phar.c:1.276
--- pecl/phar/phar.c:1.275 Thu Jan 17 05:52:17 2008
+++ pecl/phar/phar.c Fri Jan 18 00:11:36 2008
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: phar.c,v 1.275 2008/01/17 05:52:17 cellog Exp $ */
+/* $Id: phar.c,v 1.276 2008/01/18 00:11:36 cellog Exp $ */
#define PHAR_MAIN 1
#include "phar_internal.h"
@@ -3285,7 +3285,7 @@
php_info_print_table_header(2, "Phar: PHP Archive support", "enabled");
php_info_print_table_row(2, "Phar EXT version", PHAR_EXT_VERSION_STR);
php_info_print_table_row(2, "Phar API version", PHAR_API_VERSION_STR);
- php_info_print_table_row(2, "CVS revision", "$Revision: 1.275 $");
+ php_info_print_table_row(2, "CVS revision", "$Revision: 1.276 $");
php_info_print_table_row(2, "Phar-based phar archives", "enabled");
php_info_print_table_row(2, "Tar-based phar archives", "enabled");
#if HAVE_PHAR_ZIP
@@ -3332,7 +3332,11 @@
*/
static zend_module_dep phar_deps[] = {
#if HAVE_PHAR_ZIP
+# ifdef PHP_WIN32
+ ZEND_MOD_REQUIRED("zip")
+# else
ZEND_MOD_OPTIONAL("zip")
+# endif
#endif
ZEND_MOD_OPTIONAL("zlib")
ZEND_MOD_OPTIONAL("bz2")