summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorGravatar Karl Ramm <kcr@mit.edu>2008-12-24 23:52:23 +0000
committerGravatar Karl Ramm <kcr@mit.edu>2008-12-24 23:52:23 +0000
commitd44cdd8600187a9c000d1e036c7dd8721c941caf (patch)
treefb4a4262d802dff06ee1c03a3c6e67d047310ac7 /aclocal.m4
parentb1aa1f99237b8743dc10defbbc14a8fa359a6c9f (diff)
make this work^H^H^H^Hcompile with Heimdal
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m45
1 files changed, 2 insertions, 3 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index fadf7b4..8471cbc 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -244,8 +244,7 @@ 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)],
- -lk5crypto -lcom_err)])
+ [AC_MSG_ERROR(Kerberos 5 libraries not found)])])
AC_DEFUN([ATHENA_KRB5],
[AC_ARG_WITH(krb5,
@@ -253,7 +252,7 @@ AC_DEFUN([ATHENA_KRB5],
[krb5="$withval"], [krb5=no])
if test "$krb5" != no; then
ATHENA_KRB5_CHECK
- KRB5_LIBS="-lkrb5 -lk5crypto -lcom_err"
+ KRB5_LIBS="-lkrb5"
AC_DEFINE(HAVE_KRB5)
fi
AC_SUBST(KRB5_LIBS)])