comparison configure.in @ 23909:040b8e4d01e7

Remove GSS-API support, since it has been removed from movemail.
author Karl Heuer <kwzh@gnu.org>
date Wed, 16 Dec 1998 21:13:48 +0000
parents a4722c0bd856
children 2a947c3ed586
comparison
equal deleted inserted replaced
23908:2a56bdf4cef7 23909:040b8e4d01e7
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)])
60 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
61 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
62 dnl keep them together visually. 59 dnl keep them together visually.
63 AC_ARG_WITH(x-toolkit, 60 AC_ARG_WITH(x-toolkit,
64 [ --with-x-toolkit=KIT use an X toolkit (KIT = yes/lucid/athena/motif/no)], 61 [ --with-x-toolkit=KIT use an X toolkit (KIT = yes/lucid/athena/motif/no)],
1637 # These tell us which Kerberos-related libraries to use. 1634 # These tell us which Kerberos-related libraries to use.
1638 if test "${with_kerberos+set}" = set; then 1635 if test "${with_kerberos+set}" = set; then
1639 AC_CHECK_LIB(com_err, com_err) 1636 AC_CHECK_LIB(com_err, com_err)
1640 AC_CHECK_LIB(crypto, mit_des_cbc_encrypt) 1637 AC_CHECK_LIB(crypto, mit_des_cbc_encrypt)
1641 AC_CHECK_LIB(krb5, krb5_init_context) 1638 AC_CHECK_LIB(krb5, krb5_init_context)
1642 if test "${with_kerberos5+set}" = set; then 1639 if test "${with_kerberos5+set}" != set; then
1643 if test "${with_gssapi+set}" = set; then
1644 AC_CHECK_LIB(gssapi_krb5,gss_init_sec_context)
1645 fi
1646 else
1647 AC_CHECK_LIB(des, des_cbc_encrypt,, 1640 AC_CHECK_LIB(des, des_cbc_encrypt,,
1648 AC_CHECK_LIB(des425, des_cbc_encrypt)) 1641 AC_CHECK_LIB(des425, des_cbc_encrypt))
1649 AC_CHECK_LIB(krb, krb_get_cred,, 1642 AC_CHECK_LIB(krb, krb_get_cred,,
1650 AC_CHECK_LIB(krb4, krb_get_cred)) 1643 AC_CHECK_LIB(krb4, krb_get_cred))
1651 fi 1644 fi
1659 AC_CHECK_HEADERS(krb.h,, 1652 AC_CHECK_HEADERS(krb.h,,
1660 AC_CHECK_HEADERS(kerberosIV/krb.h,, 1653 AC_CHECK_HEADERS(kerberosIV/krb.h,,
1661 AC_CHECK_HEADERS(kerberos/krb.h))) 1654 AC_CHECK_HEADERS(kerberos/krb.h)))
1662 fi 1655 fi
1663 AC_CHECK_HEADERS(com_err.h) 1656 AC_CHECK_HEADERS(com_err.h)
1664 fi
1665
1666 if test "${with_gssapi+set}" = set; then
1667 AC_CHECK_LIB(gssapi, gss_init_sec_context)
1668 AC_CHECK_HEADERS(gssapi.h)
1669 fi 1657 fi
1670 1658
1671 # Solaris requires -lintl if you want strerror (which calls dgettext) 1659 # Solaris requires -lintl if you want strerror (which calls dgettext)
1672 # to return localized messages. 1660 # to return localized messages.
1673 AC_CHECK_LIB(intl, dgettext) 1661 AC_CHECK_LIB(intl, dgettext)