1962 |
# than to expect to find it in ncurses. |
# than to expect to find it in ncurses. |
1963 |
AC_CHECK_LIB(ncurses, tparm) |
AC_CHECK_LIB(ncurses, tparm) |
1964 |
|
|
1965 |
|
# Do we need the Hesiod library to provide the support routines? |
1966 |
|
if test "$with_hesiod" = yes ; then |
1967 |
|
# Don't set $LIBS here -- see comments above. |
1968 |
|
resolv=no |
1969 |
|
AC_CHECK_FUNC(res_send, , [AC_CHECK_FUNC(__res_send, , |
1970 |
|
[AC_CHECK_LIB(resolv, res_send, resolv=yes, |
1971 |
|
[AC_CHECK_LIB(resolv, __res_send, resolv=yes)])])]) |
1972 |
|
if test "$resolv" = yes ; then |
1973 |
|
RESOLVLIB=-lresolv |
1974 |
|
AC_DEFINE(HAVE_LIBRESOLV) |
1975 |
|
else |
1976 |
|
RESOLVLIB= |
1977 |
|
fi |
1978 |
|
AC_CHECK_FUNC(hes_getmailhost, , [AC_CHECK_LIB(hesiod, hes_getmailhost, |
1979 |
|
AC_DEFINE(HAVE_LIBHESIOD), :, $RESOLVLIB)]) |
1980 |
|
fi |
1981 |
|
|
1982 |
# These tell us which Kerberos-related libraries to use. |
# These tell us which Kerberos-related libraries to use. |
1983 |
if test "${with_kerberos+set}" = set; then |
if test "${with_kerberos+set}" = set; then |
1984 |
AC_CHECK_LIB(com_err, com_err) |
AC_CHECK_LIB(com_err, com_err) |