comparison configure.in @ 24793:10e8ff07a198

Delete the Kerberos stuff.
author Karl Heuer <kwzh@gnu.org>
date Sat, 29 May 1999 19:26:53 +0000
parents 9186fd78775b
children 5252fd6955f3
comparison
equal deleted inserted replaced
24792:c4e546aa9dd5 24793:10e8ff07a198
37 AC_ARG_WITH(gcc, 37 AC_ARG_WITH(gcc,
38 [ --with-gcc use GCC to compile Emacs]) 38 [ --with-gcc use GCC to compile Emacs])
39 AC_ARG_WITH(pop, 39 AC_ARG_WITH(pop,
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,
43 [ --with-kerberos support Kerberos-authenticated POP],
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)])
54 AC_ARG_WITH(hesiod, 42 AC_ARG_WITH(hesiod,
55 [ --with-hesiod support Hesiod to get the POP server host], 43 [ --with-hesiod support Hesiod to get the POP server host],
56 [AC_DEFINE(HESIOD)]) 44 [AC_DEFINE(HESIOD)])
57 dnl This should be the last --with option, because --with-x is 45 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 46 dnl added later on when we find the path of X, and it's best to
1641 # That is because we have not set up to link ncurses in lib-src. 1629 # That is because we have not set up to link ncurses in lib-src.
1642 # It's better to believe a function is not available 1630 # It's better to believe a function is not available
1643 # than to expect to find it in ncurses. 1631 # than to expect to find it in ncurses.
1644 AC_CHECK_LIB(ncurses, tparm) 1632 AC_CHECK_LIB(ncurses, tparm)
1645 1633
1646 # These tell us which Kerberos-related libraries to use.
1647 if test "${with_kerberos+set}" = set; then
1648 AC_CHECK_LIB(com_err, com_err)
1649 AC_CHECK_LIB(crypto, mit_des_cbc_encrypt)
1650 AC_CHECK_LIB(krb5, krb5_init_context)
1651 if test "${with_kerberos5+set}" != set; then
1652 AC_CHECK_LIB(des425, des_cbc_encrypt,,
1653 AC_CHECK_LIB(des, des_cbc_encrypt))
1654 AC_CHECK_LIB(krb4, krb_get_cred,,
1655 AC_CHECK_LIB(krb, krb_get_cred))
1656 fi
1657
1658 if test "${with_kerberos5+set}" = set; then
1659 AC_CHECK_HEADERS(krb5.h)
1660 else
1661 AC_CHECK_HEADERS(des.h,,
1662 AC_CHECK_HEADERS(kerberosIV/des.h,,
1663 AC_CHECK_HEADERS(kerberos/des.h)))
1664 AC_CHECK_HEADERS(krb.h,,
1665 AC_CHECK_HEADERS(kerberosIV/krb.h,,
1666 AC_CHECK_HEADERS(kerberos/krb.h)))
1667 fi
1668 AC_CHECK_HEADERS(com_err.h)
1669 fi
1670
1671 # Solaris requires -lintl if you want strerror (which calls dgettext) 1634 # Solaris requires -lintl if you want strerror (which calls dgettext)
1672 # to return localized messages. 1635 # to return localized messages.
1673 AC_CHECK_LIB(intl, dgettext) 1636 AC_CHECK_LIB(intl, dgettext)
1674 1637
1675 AC_MSG_CHECKING(whether localtime caches TZ) 1638 AC_MSG_CHECKING(whether localtime caches TZ)