#39952 [Asn->Opn]: [patch] zip ignoring --with-libdir on zlib checks
| From: | pajoye@php.net | Date: | Tue, 26 Dec 2006 09:57:18 +0000 |
| Subject: | #39952 [Asn->Opn]: [patch] zip ignoring --with-libdir on zlib checks | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-106887@lists.php.net to get a copy of this message | ||
ID: 39952
Updated by: pajoye@php.net
Reported By: judas dot iscariote at gmail dot com
-Status: Assigned
+Status: Open
Bug Type: Zip Related
Operating System: *
PHP Version: 5CVS-2006-12-26 (CVS)
Assigned To: pajoye
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Thanks for the patch!
Previous Comments:
------------------------------------------------------------------------
[2006-12-26 08:56:20] judas dot iscariote at gmail dot com
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 this bug report at http://bugs.php.net/?id=39952&edit=1