aboutsummaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2005-03-08 09:45:19 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2005-03-08 09:45:19 +0000
commit6e6e082d3401c8c1c40d95d1a86431f5553f0f89 (patch)
treedc26b15df8aa45c69e866a60e5fd80eff9e5ff4d /acinclude.m4
parent9d20ee0a39e801c08eb26d50aaca9932bfd451e7 (diff)
when HEIMDAL is linked with :
make spnego able to decrypt data wrapped inside GSSAPI/SPNEGO/KRB5 arcfour-hmac This code will be more etherealified and evolve into being able to link with MIT as well. svn path=/trunk/; revision=13659
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m46
1 files changed, 5 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 6b089c4ea4..db36a63550 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -977,7 +977,7 @@ AC_DEFUN([AC_ETHEREAL_KRB5_CHECK],
ac_mit_version=`grep 'Massachusetts Institute of Technology' $krb5_dir/include/krb5.h | head -n 1 | sed 's/^.*Massachusetts Institute of Technology.*$/MIT/'`
ac_krb5_version="$ac_heimdal_version$ac_mit_version"
if test "x$ac_krb5_version" = "xHEIMDAL"
- KRB5_LIBS="-L$krb5_dir/lib -lkrb5 -lasn1 $SSL_LIBS -lroken -lcrypt"
+ KRB5_LIBS="-L$krb5_dir/lib -lkrb5 -lasn1 $SSL_LIBS -lroken -lcrypt -lgssapi"
then
KRB5_LIBS="-L$krb5_dir/lib -lkrb5 -lk5crypto -lcom_err"
fi
@@ -1018,6 +1018,10 @@ AC_DEFUN([AC_ETHEREAL_KRB5_CHECK],
;;
esac
ac_krb5_version=`"$KRB5_CONFIG" --version | head -n 1 | sed -e 's/^.*heimdal.*$/HEIMDAL/' -e 's/^Kerberos .*$/MIT/'`
+ # linking with HEIMDAL now requires -lgssapi for gssapi decryption
+ if test "${ac_krb5_version}" = "HEIMDAL"; then
+ KRB5_LIBS="$KRB5_LIBS -lgssapi"
+ fi
fi
fi