a5c226010f
This module generates a bunch of php4 extensions as shared modules, and seperates them out into multiple packages. End result is that you can pkg_add individual modules now without getting into the mess of flavors that we've had in the past. Work by wilfried@ and me, espie@ ok
29 lines
1.3 KiB
Plaintext
29 lines
1.3 KiB
Plaintext
$OpenBSD: patch-ext_imap_config_m4,v 1.1.1.1 2002/06/24 19:27:48 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(com_err_pic, 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"
|
|
fi
|
|
|
|
AC_TRY_RUN([
|