cvs: php4 /ext/imap config.m4

From: Date: Thu, 02 Aug 2001 11:23:01 +0000
Subject: cvs: php4 /ext/imap config.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-6472@lists.php.net to get a copy of this message
thies Thu Aug 2 07:23:01 2001 EDT Modified files: /php4/ext/imap config.m4 Log: 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! Index: php4/ext/imap/config.m4 diff -u php4/ext/imap/config.m4:1.35 php4/ext/imap/config.m4:1.36 --- php4/ext/imap/config.m4:1.35 Tue Jul 31 10:37:40 2001 +++ php4/ext/imap/config.m4 Thu Aug 2 07:23:01 2001 @@ -1,5 +1,5 @@ dnl -dnl $Id: config.m4,v 1.35 2001/07/31 14:37:40 sniper Exp $ +dnl $Id: config.m4,v 1.36 2001/08/02 11:23:01 thies Exp $ dnl AC_DEFUN(IMAP_INC_CHK,[if test -r "$i$1/c-client.h"; then @@ -122,7 +122,7 @@ 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)

« previous php.cvs (#6472) next »