cvs: php4 /ext/imap config.m4
| From: | Jon Parise | Date: | Fri, 03 Aug 2001 19:36:59 +0000 |
| Subject: | cvs: php4 /ext/imap config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-6518@lists.php.net to get a copy of this message | ||
jon Fri Aug 3 15:36:59 2001 EDT
Modified files:
/php4/ext/imap config.m4
Log:
Don't blindly assume -lc-client when linking 'conftest'.
Index: php4/ext/imap/config.m4
diff -u php4/ext/imap/config.m4:1.37 php4/ext/imap/config.m4:1.38
--- php4/ext/imap/config.m4:1.37 Fri Aug 3 01:17:17 2001
+++ php4/ext/imap/config.m4 Fri Aug 3 15:36:58 2001
@@ -1,5 +1,5 @@
dnl
-dnl $Id: config.m4,v 1.37 2001/08/03 05:17:17 sniper Exp $
+dnl $Id: config.m4,v 1.38 2001/08/03 19:36:58 jon Exp $
dnl
AC_DEFUN(IMAP_INC_CHK,[if test -r "$i$1/c-client.h"; then
@@ -69,7 +69,7 @@
PHP_ADD_LIBRARY_DEFER(crypto,, IMAP_SHARED_LIBADD)
else
old_LIBS=$LIBS
- LIBS="$LIBS -L$IMAP_LIBDIR -lc-client"
+ LIBS="$LIBS -L$IMAP_LIBDIR -l$IMAP_LIB"
if test $PHP_KERBEROS != "no"; then
LIBS="$LIBS -L$PHP_KERBEROS/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err"
fi