From: Thies C. Arntzen Date: Thu, 2 Aug 2001 11:23:01 +0000 (+0000) Subject: not too sure about this: X-Git-Tag: PRE_ENGINE2_SPLIT~127 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=36a0e6369d8082995cc6a3635806116e1db01dd3;p=php not too sure about this: the uw-imap lib is usually called libc-client.a - kde comes with a libimap.a which (when used instead of libc-client.a) will break the build. so i have reversed the detection for the imap-libs - 1st look for the variations of libc-client and (if 'em are not found) try -limap. i hope this breaks nobodies setup! we should really add a AC_TRY_COMPILE for all extensions that get added thru configure! --- diff --git a/ext/imap/config.m4 b/ext/imap/config.m4 index 058117fa1b..868fcdde0e 100644 --- a/ext/imap/config.m4 +++ b/ext/imap/config.m4 @@ -122,7 +122,7 @@ if test "$PHP_IMAP" != "no"; then ln -s "$IMAP_DIR/lib/c-client.a" "$IMAP_DIR/lib/libc-client.a" >/dev/null 2>&1 fi - for lib in imap c-client4 c-client; do + for lib in c-client4 c-client imap; do IMAP_LIB=$lib IMAP_LIB_CHK(lib) IMAP_LIB_CHK(c-client)