Bug #65721 [Opn]: configure script broken in 5.5.4 and 5.4.20 when enabling imap

From: Date: Fri, 20 Sep 2013 09:47:02 +0000
Subject: Bug #65721 [Opn]: configure script broken in 5.5.4 and 5.4.20 when enabling imap
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-181709@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=65721&edit=1 ID: 65721 User updated by: ryotakatsuki at gmail dot com Reported by: ryotakatsuki at gmail dot com Summary: configure script broken in 5.5.4 and 5.4.20 when enabling imap Status: Open Type: Bug Package: Compile Failure Operating System: All PHP Version: 5.5.4 Block user comment: N Private report: N New Comment: It also happens in 5.4.20 Previous Comments: ------------------------------------------------------------------------ [2013-09-20 09:45:01] ryotakatsuki at gmail dot com 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 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=65721&edit=1

« previous php.bugs (#181709) next »