Exactly what are you trying to fix here? This is not PECL, this is core and it
works fine here!
--Jani
Greg Beaver kirjoitti:
cellog Fri Jan 18 00:30:10 2008 UTC
Added files: (Branch: PHP_5_3)
/php-src/ext/zip Makefile.frag
Modified files:
/php-src/ext/zip config.m4
Log:
MFPECL: install headers
http://cvs.php.net/viewvc.cgi/php-src/ext/zip/config.m4?r1=1.8.2.3&r2=1.8.2.3.2.1&diff_format=u
Index: php-src/ext/zip/config.m4
diff -u php-src/ext/zip/config.m4:1.8.2.3 php-src/ext/zip/config.m4:1.8.2.3.2.1
--- php-src/ext/zip/config.m4:1.8.2.3 Tue Jul 3 17:25:35 2007
+++ php-src/ext/zip/config.m4 Fri Jan 18 00:30:10 2008
@@ -1,5 +1,5 @@
dnl
-dnl $Id: config.m4,v 1.8.2.3 2007/07/03 17:25:35 sniper Exp $
+dnl $Id: config.m4,v 1.8.2.3.2.1 2008/01/18 00:30:10 cellog Exp $
dnl
PHP_ARG_ENABLE(zip, for zip archive read/writesupport,
@@ -66,4 +66,12 @@
PHP_NEW_EXTENSION(zip, php_zip.c zip_stream.c $PHP_ZIP_SOURCES,
$ext_shared)
PHP_ADD_BUILD_DIR($ext_builddir/lib, 1)
PHP_SUBST(ZIP_SHARED_LIBADD)
+ ifdef([PHP_INSTALL_HEADERS],
+ [
+ dnl Sadly, this is a complete NOP for pecl extensions
+ PHP_INSTALL_HEADERS(ext/zip/lib, [lib/zip.h lib/zipint.h
lib/zip_alias.h lib/zipint_alias.h])
+ ])
+
+ dnl so we always include the known-good working hack.
+ PHP_ADD_MAKEFILE_FRAGMENT
fi
http://cvs.php.net/viewvc.cgi/php-src/ext/zip/Makefile.frag?view=markup&rev=1.1
Index: php-src/ext/zip/Makefile.frag
+++ php-src/ext/zip/Makefile.frag
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php