770af9ab9d
Not much response to my post to ports@ asking for testing, so there will probably be some breakage in the more obscure flavors and non-x86 arches.
27 lines
1.2 KiB
Plaintext
27 lines
1.2 KiB
Plaintext
$OpenBSD: patch-ext_imap_config_m4,v 1.3 2001/12/18 01:40:48 avsm Exp $
|
|
--- ext/imap/config.m4.orig Tue Aug 7 16:18:04 2001
|
|
+++ ext/imap/config.m4 Sat Nov 24 19:10:23 2001
|
|
@@ -36,10 +36,10 @@ 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(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(com_err_pic, 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 +71,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 -lkrb5 -lasn1 -lcom_err_pic"
|
|
fi
|
|
|
|
AC_TRY_RUN([
|