mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
Add --with-gssapi to specify GSS-API
authentication support for movemail.
This commit is contained in:
parent
e0834ad2c7
commit
aef8a36fb0
1 changed files with 13 additions and 1 deletions
14
configure.in
14
configure.in
|
|
@ -54,6 +54,9 @@ AC_DEFINE(KERBEROS5)])
|
|||
AC_ARG_WITH(hesiod,
|
||||
[ --with-hesiod support Hesiod to get the POP server host],
|
||||
[AC_DEFINE(HESIOD)])
|
||||
AC_ARG_WITH(gssapi,
|
||||
[ --with-gssapi support GSSAPI-authenticated POP],
|
||||
[AC_DEFINE(GSSAPI)])
|
||||
dnl This should be the last --with option, because --with-x is
|
||||
dnl added later on when we find the path of X, and it's best to
|
||||
dnl keep them together visually.
|
||||
|
|
@ -1623,7 +1626,11 @@ if test "${with_kerberos+set}" = set; then
|
|||
AC_CHECK_LIB(com_err, com_err)
|
||||
AC_CHECK_LIB(crypto, mit_des_cbc_encrypt)
|
||||
AC_CHECK_LIB(krb5, krb5_init_context)
|
||||
if test "${with_kerberos5+set}" != set; then
|
||||
if test "${with_kerberos5+set}" = set; then
|
||||
if test "${with_gssapi+set}" = set; then
|
||||
AC_CHECK_LIB(gssapi_krb5,gss_init_sec_context)
|
||||
fi
|
||||
else
|
||||
AC_CHECK_LIB(des, des_cbc_encrypt,,
|
||||
AC_CHECK_LIB(des425, des_cbc_encrypt))
|
||||
AC_CHECK_LIB(krb, krb_get_cred,,
|
||||
|
|
@ -1643,6 +1650,11 @@ if test "${with_kerberos+set}" = set; then
|
|||
AC_CHECK_HEADERS(com_err.h)
|
||||
fi
|
||||
|
||||
if test "${with_gssapi+set}" = set; then
|
||||
AC_CHECK_LIB(gssapi, gss_init_sec_context)
|
||||
AC_CHECK_HEADERS(gssapi.h)
|
||||
fi
|
||||
|
||||
# Solaris requires -lintl if you want strerror (which calls dgettext)
|
||||
# to return localized messages.
|
||||
AC_CHECK_LIB(intl, dgettext)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue