On Fri, Jan 18, 2008 at 2:33 AM, Greg Beaver <[EMAIL PROTECTED]> wrote: > cellog Fri Jan 18 00:33:15 2008 UTC > > Modified files: > /php-src/ext/zip Makefile.frag config.m4 php_zip.c > Log: > MF5.3: install headers, use correct zip version > > http://cvs.php.net/viewvc.cgi/php-src/ext/zip/Makefile.frag?r1=1.1&r2=1.2&diff_format=u > Index: php-src/ext/zip/Makefile.frag > diff -u /dev/null php-src/ext/zip/Makefile.frag:1.2 > --- /dev/null Fri Jan 18 00:33:15 2008 > +++ php-src/ext/zip/Makefile.frag Fri Jan 18 00:33:15 2008 > @@ -0,0 +1,28 @@ > +phpincludedir=$(prefix)/include/php > + > +ZIP_HEADER_FILES= \ > + zip.h \ > + zipint.h \ > + zip_alias.h \ > + zipint_alias.h > + > +install-zip-headers: > + @echo "Installing ZIP headers: > $(INSTALL_ROOT)$(phpincludedir)/ext/zip/lib" > + @$(mkinstalldirs) $(INSTALL_ROOT)$(phpincludedir)/ext/zip/lib > + @for f in $(ZIP_HEADER_FILES); do \ > + if test -f "$(top_srcdir)/lib/$$f"; then \ > + $(INSTALL_DATA) $(top_srcdir)/lib/$$f > $(INSTALL_ROOT)$(phpincludedir)/ext/zip/lib; \ > + elif test -f "$(top_builddir)/lib/$$f"; then \ > + $(INSTALL_DATA) $(top_builddir)/lib/$$f > $(INSTALL_ROOT)$(phpincludedir)/ext/zip/lib; \ > + elif test -f "$(top_srcdir)/ext/zip/lib/$$f"; then \ > + $(INSTALL_DATA) $(top_srcdir)/ext/zip/lib/$$f > $(INSTALL_ROOT)$(phpincludedir)/ext/zip/lib; \ > + elif test -f "$(top_builddir)/ext/zip/lib/$$f"; then \ > + $(INSTALL_DATA) $(top_builddir)/ext/zip/lib/$$f > $(INSTALL_ROOT)$(phpincludedir)/ext/zip/lib; \ > + else \ > + echo "hmmm"; \ > + fi \
echo "Sayyy whaaat? :)"; -Hannes -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php