cvs: pecl /phar config.m4

From: Date: Thu, 17 Jan 2008 04:04:29 +0000
Subject: cvs: pecl /phar config.m4
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-9532@lists.php.net to get a copy of this message
cellog Thu Jan 17 04:04:29 2008 UTC Modified files: /pecl/phar config.m4 Log: refine config.m4 to use the newly found zip headers http://cvs.php.net/viewvc.cgi/pecl/phar/config.m4?r1=1.25&r2=1.26&diff_format=u Index: pecl/phar/config.m4 diff -u pecl/phar/config.m4:1.25 pecl/phar/config.m4:1.26 --- pecl/phar/config.m4:1.25 Thu Jan 17 03:59:06 2008 +++ pecl/phar/config.m4 Thu Jan 17 04:04:29 2008 @@ -1,4 +1,4 @@ -dnl $Id: config.m4,v 1.25 2008/01/17 03:59:06 cellog Exp $ +dnl $Id: config.m4,v 1.26 2008/01/17 04:04:29 cellog Exp $ dnl config.m4 for extension phar PHP_ARG_ENABLE(phar, for phar archive support, @@ -10,20 +10,23 @@ zip_inc_path=$abs_srcdir/ext AC_DEFINE(HAVE_PHAR_ZIP,1,[ ]) AC_MSG_RESULT($zip_inc_path) + 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,,-I$zip_inc_path $PHAR_DEFS) elif test -f $abs_srcdir/ext/zip/lib/zip.h; then zip_inc_path=$abs_srcdir/ext AC_DEFINE(HAVE_PHAR_ZIP,1,[ ]) AC_MSG_RESULT($zip_inc_path) + 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,,-I$zip_inc_path $PHAR_DEFS) elif test -f $prefix/include/php/ext/zip/lib/zip.h; then zip_inc_path=$prefix/include/php/ext AC_DEFINE(HAVE_PHAR_ZIP,1,[ ]) AC_MSG_RESULT($zip_inc_path) + 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,,-I$zip_inc_path $PHAR_DEFS) else zip_inc_path=/dev/null AC_DEFINE(HAVE_PHAR_ZIP,0,[ ]) AC_MSG_RESULT([not found, disabling ZIP-based phar support]) + 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) fi - 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) PHP_ADD_BUILD_DIR($ext_builddir/lib, 1) PHP_SUBST(PHAR_SHARED_LIBADD) PHP_ADD_EXTENSION_DEP(phar, zip, true)

« previous php.pecl.cvs (#9532) next »