aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1998-04-07 04:00:53 +0000
committerKarl Heuer1998-04-07 04:00:53 +0000
commitaef8a36fb09453f4be66be9d04a16cd6e8f1fe44 (patch)
tree58afc53f1bd301934d740169e03685a7d80bdec8
parente0834ad2c7fd755c09a90ab59ff097d7b00941bf (diff)
downloademacs-aef8a36fb09453f4be66be9d04a16cd6e8f1fe44.tar.gz
emacs-aef8a36fb09453f4be66be9d04a16cd6e8f1fe44.zip
Add --with-gssapi to specify GSS-API
authentication support for movemail.
-rw-r--r--configure.in14
1 files changed, 13 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 7fcc825a3cd..0196170f8fa 100644
--- a/configure.in
+++ b/configure.in
@@ -54,6 +54,9 @@ AC_DEFINE(KERBEROS5)])
54AC_ARG_WITH(hesiod, 54AC_ARG_WITH(hesiod,
55[ --with-hesiod support Hesiod to get the POP server host], 55[ --with-hesiod support Hesiod to get the POP server host],
56[AC_DEFINE(HESIOD)]) 56[AC_DEFINE(HESIOD)])
57AC_ARG_WITH(gssapi,
58[ --with-gssapi support GSSAPI-authenticated POP],
59[AC_DEFINE(GSSAPI)])
57dnl This should be the last --with option, because --with-x is 60dnl This should be the last --with option, because --with-x is
58dnl added later on when we find the path of X, and it's best to 61dnl added later on when we find the path of X, and it's best to
59dnl keep them together visually. 62dnl keep them together visually.
@@ -1623,7 +1626,11 @@ if test "${with_kerberos+set}" = set; then
1623 AC_CHECK_LIB(com_err, com_err) 1626 AC_CHECK_LIB(com_err, com_err)
1624 AC_CHECK_LIB(crypto, mit_des_cbc_encrypt) 1627 AC_CHECK_LIB(crypto, mit_des_cbc_encrypt)
1625 AC_CHECK_LIB(krb5, krb5_init_context) 1628 AC_CHECK_LIB(krb5, krb5_init_context)
1626 if test "${with_kerberos5+set}" != set; then 1629 if test "${with_kerberos5+set}" = set; then
1630 if test "${with_gssapi+set}" = set; then
1631 AC_CHECK_LIB(gssapi_krb5,gss_init_sec_context)
1632 fi
1633 else
1627 AC_CHECK_LIB(des, des_cbc_encrypt,, 1634 AC_CHECK_LIB(des, des_cbc_encrypt,,
1628 AC_CHECK_LIB(des425, des_cbc_encrypt)) 1635 AC_CHECK_LIB(des425, des_cbc_encrypt))
1629 AC_CHECK_LIB(krb, krb_get_cred,, 1636 AC_CHECK_LIB(krb, krb_get_cred,,
@@ -1643,6 +1650,11 @@ if test "${with_kerberos+set}" = set; then
1643 AC_CHECK_HEADERS(com_err.h) 1650 AC_CHECK_HEADERS(com_err.h)
1644fi 1651fi
1645 1652
1653if test "${with_gssapi+set}" = set; then
1654 AC_CHECK_LIB(gssapi, gss_init_sec_context)
1655 AC_CHECK_HEADERS(gssapi.h)
1656fi
1657
1646# Solaris requires -lintl if you want strerror (which calls dgettext) 1658# Solaris requires -lintl if you want strerror (which calls dgettext)
1647# to return localized messages. 1659# to return localized messages.
1648AC_CHECK_LIB(intl, dgettext) 1660AC_CHECK_LIB(intl, dgettext)