comparison configure.in @ 15948:0bfc53371444

Check for com_err library, but only if --with-kerberos was used. Check for krb and des only if --with-kerberos.
author Richard M. Stallman <rms@gnu.org>
date Wed, 28 Aug 1996 15:48:30 +0000
parents efee374bede6
children 7efe73695144
comparison
equal deleted inserted replaced
15947:849a396187cd 15948:0bfc53371444
1446 # That is because we have not set up to link ncurses in lib-src. 1446 # That is because we have not set up to link ncurses in lib-src.
1447 # It's better to believe a function is not available 1447 # It's better to believe a function is not available
1448 # than to expect to find it in ncurses. 1448 # than to expect to find it in ncurses.
1449 AC_CHECK_LIB(ncurses, tparm) 1449 AC_CHECK_LIB(ncurses, tparm)
1450 1450
1451 # These tell us whether Kerberos is available. 1451 # These tell us which Kerberos-related libraries to use.
1452 AC_CHECK_LIB(krb, krb_get_cred) 1452 if test "${with_kerberos+set}" = set; then
1453 AC_CHECK_LIB(des, des_cbc_encrypt) 1453 AC_CHECK_LIB(krb, krb_get_cred)
1454 AC_CHECK_LIB(des, des_cbc_encrypt)
1455 AC_CHECK_LIB(com_err, com_err)
1456 fi
1454 1457
1455 AC_MSG_CHECKING(whether localtime caches TZ) 1458 AC_MSG_CHECKING(whether localtime caches TZ)
1456 AC_CACHE_VAL(emacs_cv_localtime_cache, 1459 AC_CACHE_VAL(emacs_cv_localtime_cache,
1457 [if test x$ac_cv_func_tzset = xyes; then 1460 [if test x$ac_cv_func_tzset = xyes; then
1458 AC_TRY_RUN([#include <time.h> 1461 AC_TRY_RUN([#include <time.h>