521279458c
ok sthen@
30 lines
1.2 KiB
Plaintext
30 lines
1.2 KiB
Plaintext
$OpenBSD: patch-m4_gssapi_m4,v 1.2 2010/10/18 20:29:53 jsg Exp $
|
|
--- m4/gssapi.m4.orig Wed Mar 19 21:07:06 2008
|
|
+++ m4/gssapi.m4 Sat Oct 16 14:32:52 2010
|
|
@@ -49,11 +49,20 @@ AC_DEFUN([MUTT_AM_PATH_GSSAPI],
|
|
dnl Heimdal kerberos V support
|
|
if test "$GSSAPI_IMPL" = "none"
|
|
then
|
|
- AC_CHECK_LIB(gssapi, gss_init_sec_context, [
|
|
- GSSAPI_IMPL="Heimdal"
|
|
- GSSAPI_LIBS="$GSSAPI_LDFLAGS -lgssapi -lkrb5 -ldes -lasn1 -lroken"
|
|
- GSSAPI_LIBS="$GSSAPI_LIBS -lcrypt -lcom_err"
|
|
- ],, -lkrb5 -ldes -lasn1 -lroken -lcrypt -lcom_err)
|
|
+ if test `uname -s` = "OpenBSD"
|
|
+ then
|
|
+ AC_CHECK_LIB(gssapi, gss_init_sec_context, [
|
|
+ GSSAPI_IMPL="Heimdal"
|
|
+ GSSAPI_LIBS="$GSSAPI_LDFLAGS -lgssapi -lkrb5 -lcrypto"
|
|
+ GSSAPI_CFLAGS="$CPPFLAGS -I/usr/include/kerberosV"
|
|
+ ],, -lkrb5 -lcrypto)
|
|
+ else
|
|
+ AC_CHECK_LIB(gssapi, gss_init_sec_context, [
|
|
+ GSSAPI_IMPL="Heimdal"
|
|
+ GSSAPI_LIBS="$GSSAPI_LDFLAGS -lgssapi -lkrb5 -ldes -lasn1 -lroken"
|
|
+ GSSAPI_LIBS="$GSSAPI_LIBS -lcrypt -lcom_err"
|
|
+ ],, -lkrb5 -ldes -lasn1 -lroken -lcrypt -lcom_err)
|
|
+ fi
|
|
fi
|
|
|
|
dnl Old MIT Kerberos V
|