mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-06 06:59:54 -05:00
Update Kerberos checks.
This commit is contained in:
parent
bf414493b7
commit
545048451c
2 changed files with 322 additions and 305 deletions
16
configure.in
16
configure.in
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue