summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Karl Ramm <kcr@mit.edu>2008-12-25 00:03:46 +0000
committerGravatar Karl Ramm <kcr@mit.edu>2008-12-25 00:03:46 +0000
commitc28cb1398dc8179eb76377489d2217a36c5fa163 (patch)
tree0b7d3eb070183a22c8cf27eb182189b0321f000c
parentd44cdd8600187a9c000d1e036c7dd8721c941caf (diff)
revert heimdal hack to aclocal.m4
-rw-r--r--aclocal.m45
1 files changed, 3 insertions, 2 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 8471cbc..fadf7b4 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -244,7 +244,8 @@ if test "$krb5" != yes; then
LDFLAGS="$LDFLAGS -L$krb5/lib"
fi
AC_CHECK_LIB(krb5, krb5_init_context, :,
- [AC_MSG_ERROR(Kerberos 5 libraries not found)])])
+ [AC_MSG_ERROR(Kerberos 5 libraries not found)],
+ -lk5crypto -lcom_err)])
AC_DEFUN([ATHENA_KRB5],
[AC_ARG_WITH(krb5,
@@ -252,7 +253,7 @@ AC_DEFUN([ATHENA_KRB5],
[krb5="$withval"], [krb5=no])
if test "$krb5" != no; then
ATHENA_KRB5_CHECK
- KRB5_LIBS="-lkrb5"
+ KRB5_LIBS="-lkrb5 -lk5crypto -lcom_err"
AC_DEFINE(HAVE_KRB5)
fi
AC_SUBST(KRB5_LIBS)])