|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patchesphp-imap-configure-error.patch (last revision 2013-09-20 09:45 UTC by ryotakatsuki at gmail dot com)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-09-20 09:47 UTC] ryotakatsuki at gmail dot com
[2013-09-20 21:23 UTC] aharvey@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: aharvey
[2013-09-20 21:23 UTC] aharvey@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 04:00:02 2025 UTC |
Description: ------------ When compiling PHP enabling IMAP (--with-imap) the configure script breaks checking for c-client.a because of invalid syntax in the conditions: if test ! -r "$IMAP_DIR/c-client/libc-client.a" && -r "$IMAP_DIR/c-client/c- client.a" ; then ... elif test ! -r "$IMAP_DIR/$PHP_LIBDIR/libc-client.a" && -r "$IMAP_DIR/$PHP_LIBDIR/c-client.a"; then ... fi Where the second check is missing the "test" command (&& -r ... instead of && test -r ...),. It should be: if test ! -r "$IMAP_DIR/c-client/libc-client.a" && test -r "$IMAP_DIR/c-client/c- client.a" ; then ... elif test ! -r "$IMAP_DIR/$PHP_LIBDIR/libc-client.a" && test -r "$IMAP_DIR/$PHP_LIBDIR/c-client.a"; then ... fi