Mercurial > emacs
comparison configure.in @ 19500:cc9a8c64d799
Support auto-configuration of both Kerberos V4 and
Kerberos V5 for movemail, including detection of V4 and V5 header
files and libraries.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 24 Aug 1997 02:18:34 +0000 |
parents | 1b0ccfac70e8 |
children | 92c0e1253d88 |
comparison
equal
deleted
inserted
replaced
19499:1b0ccfac70e8 | 19500:cc9a8c64d799 |
---|---|
40 [ --with-pop support POP for mail retrieval], | 40 [ --with-pop support POP for mail retrieval], |
41 [AC_DEFINE(MAIL_USE_POP)]) | 41 [AC_DEFINE(MAIL_USE_POP)]) |
42 AC_ARG_WITH(kerberos, | 42 AC_ARG_WITH(kerberos, |
43 [ --with-kerberos support Kerberos-authenticated POP], | 43 [ --with-kerberos support Kerberos-authenticated POP], |
44 [AC_DEFINE(KERBEROS)]) | 44 [AC_DEFINE(KERBEROS)]) |
45 AC_ARG_WITH(kerberos5, | |
46 [ --with-kerberos5 support Kerberos version 5 authenticated POP], | |
47 [if test "${with_kerberos5+set}" = set; then | |
48 if test "${with_kerberos+set}" != set; then | |
49 with_kerberos=yes | |
50 AC_DEFINE(KERBEROS) | |
51 fi | |
52 fi | |
53 AC_DEFINE(KERBEROS5)]) | |
45 AC_ARG_WITH(hesiod, | 54 AC_ARG_WITH(hesiod, |
46 [ --with-hesiod support Hesiod to get the POP server host], | 55 [ --with-hesiod support Hesiod to get the POP server host], |
47 [AC_DEFINE(HESIOD)]) | 56 [AC_DEFINE(HESIOD)]) |
48 dnl This should be the last --with option, because --with-x is | 57 dnl This should be the last --with option, because --with-x is |
49 dnl added later on when we find the path of X, and it's best to | 58 dnl added later on when we find the path of X, and it's best to |
1562 # than to expect to find it in ncurses. | 1571 # than to expect to find it in ncurses. |
1563 AC_CHECK_LIB(ncurses, tparm) | 1572 AC_CHECK_LIB(ncurses, tparm) |
1564 | 1573 |
1565 # These tell us which Kerberos-related libraries to use. | 1574 # These tell us which Kerberos-related libraries to use. |
1566 if test "${with_kerberos+set}" = set; then | 1575 if test "${with_kerberos+set}" = set; then |
1567 AC_CHECK_LIB(krb, krb_get_cred) | 1576 if test "${with_kerberos5+set}" != set; then |
1568 AC_CHECK_LIB(des, des_cbc_encrypt) | 1577 AC_CHECK_LIB(krb, krb_get_cred,, |
1578 AC_CHECK_LIB(krb4, krb_get_cred)) | |
1579 AC_CHECK_LIB(des, des_cbc_encrypt,, | |
1580 AC_CHECK_LIB(des425, des_cbc_encrypt)) | |
1581 fi | |
1582 AC_CHECK_LIB(krb5, krb5_init_context) | |
1583 AC_CHECK_LIB(crypto, mit_des_cbc_encrypt) | |
1569 AC_CHECK_LIB(com_err, com_err) | 1584 AC_CHECK_LIB(com_err, com_err) |
1585 | |
1586 if test "${with_kerberos5+set}" = set; then | |
1587 AC_CHECK_HEADERS(krb5.h) | |
1588 else | |
1589 AC_CHECK_HEADERS(des.h,, | |
1590 AC_CHECK_HEADERS(kerberosIV/des.h,, | |
1591 AC_CHECK_HEADERS(kerberos/des.h))) | |
1592 AC_CHECK_HEADERS(krb.h,, | |
1593 AC_CHECK_HEADERS(kerberosIV/krb.h,, | |
1594 AC_CHECK_HEADERS(kerberos/krb.h))) | |
1595 fi | |
1596 AC_CHECK_HEADERS(com_err.h) | |
1570 fi | 1597 fi |
1571 | 1598 |
1572 AC_MSG_CHECKING(whether localtime caches TZ) | 1599 AC_MSG_CHECKING(whether localtime caches TZ) |
1573 AC_CACHE_VAL(emacs_cv_localtime_cache, | 1600 AC_CACHE_VAL(emacs_cv_localtime_cache, |
1574 [if test x$ac_cv_func_tzset = xyes; then | 1601 [if test x$ac_cv_func_tzset = xyes; then |