Mercurial > emacs
comparison configure.in @ 21403:1982fb4daa3f
Add --with-gssapi to specify GSS-API
authentication support for movemail.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Tue, 07 Apr 1998 04:00:53 +0000 |
parents | e77ae6b31cb3 |
children | 1b3491492aae |
comparison
equal
deleted
inserted
replaced
21402:8807303bc8c9 | 21403:1982fb4daa3f |
---|---|
52 fi | 52 fi |
53 AC_DEFINE(KERBEROS5)]) | 53 AC_DEFINE(KERBEROS5)]) |
54 AC_ARG_WITH(hesiod, | 54 AC_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)]) |
57 AC_ARG_WITH(gssapi, | |
58 [ --with-gssapi support GSSAPI-authenticated POP], | |
59 [AC_DEFINE(GSSAPI)]) | |
57 dnl This should be the last --with option, because --with-x is | 60 dnl This should be the last --with option, because --with-x is |
58 dnl added later on when we find the path of X, and it's best to | 61 dnl added later on when we find the path of X, and it's best to |
59 dnl keep them together visually. | 62 dnl keep them together visually. |
60 AC_ARG_WITH(x-toolkit, | 63 AC_ARG_WITH(x-toolkit, |
61 [ --with-x-toolkit=KIT use an X toolkit (KIT = yes/lucid/athena/motif/no)], | 64 [ --with-x-toolkit=KIT use an X toolkit (KIT = yes/lucid/athena/motif/no)], |
1621 # These tell us which Kerberos-related libraries to use. | 1624 # These tell us which Kerberos-related libraries to use. |
1622 if test "${with_kerberos+set}" = set; then | 1625 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,, |
1630 AC_CHECK_LIB(krb4, krb_get_cred)) | 1637 AC_CHECK_LIB(krb4, krb_get_cred)) |
1631 fi | 1638 fi |
1639 AC_CHECK_HEADERS(krb.h,, | 1646 AC_CHECK_HEADERS(krb.h,, |
1640 AC_CHECK_HEADERS(kerberosIV/krb.h,, | 1647 AC_CHECK_HEADERS(kerberosIV/krb.h,, |
1641 AC_CHECK_HEADERS(kerberos/krb.h))) | 1648 AC_CHECK_HEADERS(kerberos/krb.h))) |
1642 fi | 1649 fi |
1643 AC_CHECK_HEADERS(com_err.h) | 1650 AC_CHECK_HEADERS(com_err.h) |
1651 fi | |
1652 | |
1653 if test "${with_gssapi+set}" = set; then | |
1654 AC_CHECK_LIB(gssapi, gss_init_sec_context) | |
1655 AC_CHECK_HEADERS(gssapi.h) | |
1644 fi | 1656 fi |
1645 | 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. |
1648 AC_CHECK_LIB(intl, dgettext) | 1660 AC_CHECK_LIB(intl, dgettext) |