]> granicus.if.org Git - php/commitdiff
not too sure about this:
authorThies C. Arntzen <thies@php.net>
Thu, 2 Aug 2001 11:23:01 +0000 (11:23 +0000)
committerThies C. Arntzen <thies@php.net>
Thu, 2 Aug 2001 11:23:01 +0000 (11:23 +0000)
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!

ext/imap/config.m4

index 058117fa1bac3b04a203b3e11e9037f531df5569..868fcdde0ed80c4b8219cc513a4e60ef99354699 100644 (file)
@@ -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)