openbsd-ports/www/php4/extensions/patches/patch-ext_imap_config_m4
2002-07-09 18:14:16 +00:00

29 lines
1.3 KiB
Plaintext

$OpenBSD: patch-ext_imap_config_m4,v 1.2 2002/07/09 18:14:17 avsm Exp $
--- ext/imap/config.m4.orig Tue Aug 7 12:18:04 2001
+++ ext/imap/config.m4 Sat Apr 6 17:40:25 2002
@@ -36,10 +36,12 @@ AC_DEFUN(PHP_IMAP_KRB_CHK, [
if test "$PHP_KERBEROS" != "no"; then
AC_DEFINE(HAVE_IMAP_KRB,1,[ ])
PHP_ADD_LIBPATH($PHP_KERBEROS/lib, IMAP_SHARED_LIBADD)
- PHP_ADD_LIBRARY(gssapi_krb5, 1, IMAP_SHARED_LIBADD)
+ PHP_ADD_LIBRARY(gssapi, 1, IMAP_SHARED_LIBADD)
+ PHP_ADD_LIBRARY(krb, 1, IMAP_SHARED_LIBADD)
PHP_ADD_LIBRARY(krb5, 1, IMAP_SHARED_LIBADD)
- PHP_ADD_LIBRARY(k5crypto, 1, IMAP_SHARED_LIBADD)
- PHP_ADD_LIBRARY(com_err, 1, IMAP_SHARED_LIBADD)
+ PHP_ADD_LIBRARY(asn1, 1, IMAP_SHARED_LIBADD)
+ PHP_ADD_LIBRARY(des, 1, IMAP_SHARED_LIBADD)
+ PHP_ADD_LIBRARY(kafs, 1, IMAP_SHARED_LIBADD)
else
AC_EGREP_HEADER(auth_gss, $IMAP_INC_DIR/linkage.h, [
AC_MSG_ERROR(This c-client library is build with Kerberos support.
@@ -71,7 +73,7 @@ AC_DEFUN(PHP_IMAP_SSL_CHK, [
old_LIBS=$LIBS
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"
+ LIBS="$LIBS -L$PHP_KERBEROS/lib -lgssapi -lkrb -lkrb5 -lasn1 -lcom_err_pic -lkafs -ldes"
fi
AC_TRY_RUN([