mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-21 10:24:55 +00:00
* configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
be deleted. Check for the k5crypto library as well as the crypto library; MIT Kerberos 1.1 changed the name.
This commit is contained in:
parent
5ebc0846ef
commit
a21616bdc5
@ -1,3 +1,9 @@
|
||||
1999-11-23 Ken Raeburn <raeburn@gnu.org>
|
||||
|
||||
* configure.in: Restore Kerberos code deleted on 1999-05-29 that
|
||||
didn't need to be deleted. Check for the k5crypto library as well
|
||||
as the crypto library; MIT Kerberos 1.1 changed the name.
|
||||
|
||||
1999-11-18 Dave Love <fx@gnu.org>
|
||||
|
||||
* configure.in: Fix NON_GNU_CPP for Irix 6 to avoid failing tests.
|
||||
|
38
configure.in
38
configure.in
@ -43,6 +43,18 @@ AC_ARG_WITH(pop,
|
||||
else :
|
||||
fi],
|
||||
AC_DEFINE(MAIL_USE_POP))
|
||||
AC_ARG_WITH(kerberos,
|
||||
[ --with-kerberos support Kerberos-authenticated POP],
|
||||
[AC_DEFINE(KERBEROS)])
|
||||
AC_ARG_WITH(kerberos5,
|
||||
[ --with-kerberos5 support Kerberos version 5 authenticated POP],
|
||||
[if test "${with_kerberos5+set}" = set; then
|
||||
if test "${with_kerberos+set}" != set; then
|
||||
with_kerberos=yes
|
||||
AC_DEFINE(KERBEROS)
|
||||
fi
|
||||
fi
|
||||
AC_DEFINE(KERBEROS5)])
|
||||
AC_ARG_WITH(hesiod,
|
||||
[ --with-hesiod support Hesiod to get the POP server host],
|
||||
[AC_DEFINE(HESIOD)])
|
||||
@ -1797,6 +1809,32 @@ __fpending ftello getloadavg mblen mbrlen strsignal)
|
||||
# than to expect to find it in ncurses.
|
||||
AC_CHECK_LIB(ncurses, tparm)
|
||||
|
||||
# These tell us which Kerberos-related libraries to use.
|
||||
if test "${with_kerberos+set}" = set; then
|
||||
AC_CHECK_LIB(com_err, com_err)
|
||||
AC_CHECK_LIB(k5crypto, mit_des_cbc_encrypt)
|
||||
AC_CHECK_LIB(crypto, mit_des_cbc_encrypt)
|
||||
AC_CHECK_LIB(krb5, krb5_init_context)
|
||||
if test "${with_kerberos5+set}" != set; then
|
||||
AC_CHECK_LIB(des425, des_cbc_encrypt,,
|
||||
AC_CHECK_LIB(des, des_cbc_encrypt))
|
||||
AC_CHECK_LIB(krb4, krb_get_cred,,
|
||||
AC_CHECK_LIB(krb, krb_get_cred))
|
||||
fi
|
||||
|
||||
if test "${with_kerberos5+set}" = set; then
|
||||
AC_CHECK_HEADERS(krb5.h)
|
||||
else
|
||||
AC_CHECK_HEADERS(des.h,,
|
||||
AC_CHECK_HEADERS(kerberosIV/des.h,,
|
||||
AC_CHECK_HEADERS(kerberos/des.h)))
|
||||
AC_CHECK_HEADERS(krb.h,,
|
||||
AC_CHECK_HEADERS(kerberosIV/krb.h,,
|
||||
AC_CHECK_HEADERS(kerberos/krb.h)))
|
||||
fi
|
||||
AC_CHECK_HEADERS(com_err.h)
|
||||
fi
|
||||
|
||||
# Solaris requires -lintl if you want strerror (which calls dgettext)
|
||||
# to return localized messages.
|
||||
AC_CHECK_LIB(intl, dgettext)
|
||||
|
Loading…
Reference in New Issue
Block a user