Mercurial > emacs
comparison configure.in @ 26562:b32d82817493
* 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.
author | Ken Raeburn <raeburn@raeburn.org> |
---|---|
date | Tue, 23 Nov 1999 22:16:16 +0000 |
parents | 794e4734de4b |
children | 815e038876f7 |
comparison
equal
deleted
inserted
replaced
26561:eb53444499e0 | 26562:b32d82817493 |
---|---|
41 [if test "$withval" = yes; then | 41 [if test "$withval" = yes; then |
42 AC_DEFINE(MAIL_USE_POP) | 42 AC_DEFINE(MAIL_USE_POP) |
43 else : | 43 else : |
44 fi], | 44 fi], |
45 AC_DEFINE(MAIL_USE_POP)) | 45 AC_DEFINE(MAIL_USE_POP)) |
46 AC_ARG_WITH(kerberos, | |
47 [ --with-kerberos support Kerberos-authenticated POP], | |
48 [AC_DEFINE(KERBEROS)]) | |
49 AC_ARG_WITH(kerberos5, | |
50 [ --with-kerberos5 support Kerberos version 5 authenticated POP], | |
51 [if test "${with_kerberos5+set}" = set; then | |
52 if test "${with_kerberos+set}" != set; then | |
53 with_kerberos=yes | |
54 AC_DEFINE(KERBEROS) | |
55 fi | |
56 fi | |
57 AC_DEFINE(KERBEROS5)]) | |
46 AC_ARG_WITH(hesiod, | 58 AC_ARG_WITH(hesiod, |
47 [ --with-hesiod support Hesiod to get the POP server host], | 59 [ --with-hesiod support Hesiod to get the POP server host], |
48 [AC_DEFINE(HESIOD)]) | 60 [AC_DEFINE(HESIOD)]) |
49 dnl This should be the last --with option, because --with-x is | 61 dnl This should be the last --with option, because --with-x is |
50 dnl added later on when we find the path of X, and it's best to | 62 dnl added later on when we find the path of X, and it's best to |
1795 # That is because we have not set up to link ncurses in lib-src. | 1807 # That is because we have not set up to link ncurses in lib-src. |
1796 # It's better to believe a function is not available | 1808 # It's better to believe a function is not available |
1797 # than to expect to find it in ncurses. | 1809 # than to expect to find it in ncurses. |
1798 AC_CHECK_LIB(ncurses, tparm) | 1810 AC_CHECK_LIB(ncurses, tparm) |
1799 | 1811 |
1812 # These tell us which Kerberos-related libraries to use. | |
1813 if test "${with_kerberos+set}" = set; then | |
1814 AC_CHECK_LIB(com_err, com_err) | |
1815 AC_CHECK_LIB(k5crypto, mit_des_cbc_encrypt) | |
1816 AC_CHECK_LIB(crypto, mit_des_cbc_encrypt) | |
1817 AC_CHECK_LIB(krb5, krb5_init_context) | |
1818 if test "${with_kerberos5+set}" != set; then | |
1819 AC_CHECK_LIB(des425, des_cbc_encrypt,, | |
1820 AC_CHECK_LIB(des, des_cbc_encrypt)) | |
1821 AC_CHECK_LIB(krb4, krb_get_cred,, | |
1822 AC_CHECK_LIB(krb, krb_get_cred)) | |
1823 fi | |
1824 | |
1825 if test "${with_kerberos5+set}" = set; then | |
1826 AC_CHECK_HEADERS(krb5.h) | |
1827 else | |
1828 AC_CHECK_HEADERS(des.h,, | |
1829 AC_CHECK_HEADERS(kerberosIV/des.h,, | |
1830 AC_CHECK_HEADERS(kerberos/des.h))) | |
1831 AC_CHECK_HEADERS(krb.h,, | |
1832 AC_CHECK_HEADERS(kerberosIV/krb.h,, | |
1833 AC_CHECK_HEADERS(kerberos/krb.h))) | |
1834 fi | |
1835 AC_CHECK_HEADERS(com_err.h) | |
1836 fi | |
1837 | |
1800 # Solaris requires -lintl if you want strerror (which calls dgettext) | 1838 # Solaris requires -lintl if you want strerror (which calls dgettext) |
1801 # to return localized messages. | 1839 # to return localized messages. |
1802 AC_CHECK_LIB(intl, dgettext) | 1840 AC_CHECK_LIB(intl, dgettext) |
1803 | 1841 |
1804 AC_MSG_CHECKING(whether localtime caches TZ) | 1842 AC_MSG_CHECKING(whether localtime caches TZ) |