aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1996-08-28 15:48:30 +0000
committerRichard M. Stallman1996-08-28 15:48:30 +0000
commit1fc25d6280c6db6dd90a8625969ca2e69051e22f (patch)
treeee2b28dd1e7874b06f4ecdd0710d882446da790c
parent87aed91b30a0aaf4f156e61bd5bae98bb55ce044 (diff)
downloademacs-1fc25d6280c6db6dd90a8625969ca2e69051e22f.tar.gz
emacs-1fc25d6280c6db6dd90a8625969ca2e69051e22f.zip
Check for com_err library, but only if --with-kerberos was used.
Check for krb and des only if --with-kerberos.
-rw-r--r--configure.in9
1 files changed, 6 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index 6f95527f65c..f6e729ab8ee 100644
--- a/configure.in
+++ b/configure.in
@@ -1448,9 +1448,12 @@ strerror fpathconf select mktime euidaccess getpagesize tzset setlocale)
1448# than to expect to find it in ncurses. 1448# than to expect to find it in ncurses.
1449AC_CHECK_LIB(ncurses, tparm) 1449AC_CHECK_LIB(ncurses, tparm)
1450 1450
1451# These tell us whether Kerberos is available. 1451# These tell us which Kerberos-related libraries to use.
1452AC_CHECK_LIB(krb, krb_get_cred) 1452if test "${with_kerberos+set}" = set; then
1453AC_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)
1456fi
1454 1457
1455AC_MSG_CHECKING(whether localtime caches TZ) 1458AC_MSG_CHECKING(whether localtime caches TZ)
1456AC_CACHE_VAL(emacs_cv_localtime_cache, 1459AC_CACHE_VAL(emacs_cv_localtime_cache,