mirror of
https://github.com/php/php-src.git
synced 2026-04-26 09:28:21 +02:00
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!
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user