Update Kerberos checks.

This commit is contained in:
Kurt Zeilenga 1998-12-07 23:32:25 +00:00
parent bf414493b7
commit 545048451c
2 changed files with 322 additions and 305 deletions

611
configure vendored

File diff suppressed because it is too large Load diff

View file

@ -305,6 +305,11 @@ if test $ol_link_isode != no; then
AC_PATH_PROG(PEPSY, pepsy)
fi
dnl
dnl check for kerberos
dnl
ol_link_kerberos=no
if test $ol_with_kerberos = auto -o $ol_with_kerberos = k5 ; then
AC_CHECK_HEADERS(kerberosIV/krb.h kerberosIV/des.h)
@ -317,11 +322,11 @@ if test $ol_with_kerberos = auto -o $ol_with_kerberos = k5 ; then
ol_link_kerberos=yes
AC_DEFINE(HAVE_KERBEROS)
KRB_LIBS="-lkrb4 -lkrb5 -ldes425"
fi
fi
fi
if test $ol_with_kerberos = auto -o $ol_with_kerberos = k4 ; then
AC_CHECK_HEADERS(krb.h des.h)
@ -334,12 +339,17 @@ if test $ol_with_kerberos = auto -o $ol_with_kerberos = k4 ; then
AC_DEFINE(HAVE_KERBEROS)
KRB_LIBS="-lkrb -ldes"
AC_CHECK_FUNCS(des_string_to_key)
fi
fi
fi
if test $ol_link_kerberos = yes ; then
save_LIBS=$LIBS
$LIBS="$KRB_LIBS $LIBS"
AC_CHECK_FUNCS(des_string_to_key)
LIBS=$save_LIBS
fi
ol_link_threads=no
if test $ol_with_threads = auto -o $ol_with_threads = yes \
-o $ol_with_threads = posix ; then