From: judas dot iscariote at gmail dot com
Operating system: *
PHP version: 5CVS-2006-12-26 (CVS)
PHP Bug Type: Zip Related
Bug description: [patch] zip ignoring --with-libdir on zlib checks
Description:
------------
A follow up of #39935...
--with-libdir is ignored on zlib check
Index: ext/zip/config.m4
===================================================================
RCS file: /repository/php-src/ext/zip/config.m4,v
retrieving revision 1.8.2.1
diff -u -r1.8.2.1 config.m4
--- ext/zip/config.m4 3 Nov 2006 16:46:18 -0000 1.8.2.1
+++ ext/zip/config.m4 26 Dec 2006 08:54:43 -0000
@@ -40,7 +40,7 @@
AC_MSG_ERROR([zip support requires ZLIB. Use
--with-zlib-dir=<DIR> to specify prefix where ZLIB include and library are
located])
else
AC_MSG_RESULT([$PHP_ZLIB_DIR])
- PHP_ADD_LIBRARY_WITH_PATH(z, $PHP_ZLIB_DIR/lib,
ZIP_SHARED_LIBADD)
+ PHP_ADD_LIBRARY_WITH_PATH(z, $PHP_ZLIB_DIR/$PHP_LIBDIR,
ZIP_SHARED_LIBADD)
PHP_ADD_INCLUDE($PHP_ZLIB_INCDIR)
fi
Reproduce code:
---------------
---------
Expected result:
----------------
-----------
Actual result:
--------------
---------
--
Edit bug report at http://bugs.php.net/?id=39952&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=39952&r=trysnapshot44
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=39952&r=trysnapshot52
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=39952&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=39952&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=39952&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=39952&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=39952&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=39952&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=39952&r=support
Expected behavior: http://bugs.php.net/fix.php?id=39952&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=39952&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=39952&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=39952&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39952&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=39952&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=39952&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=39952&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=39952&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=39952&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=39952&r=mysqlcfg