summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-08-28 15:48:30 +0000
committerRichard M. Stallman <rms@gnu.org>1996-08-28 15:48:30 +0000
commitace825e70b6349e97bd40a1aeed81d95a1b7ddc3 (patch)
treee1d9344a877fb16b1fa69008d8ff9337de837961
parent6ceb414a413927dd2dec7d5912244588d28c7a8f (diff)
downloademacs-ace825e70b6349e97bd40a1aeed81d95a1b7ddc3.tar.gz
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)
# than to expect to find it in ncurses.
AC_CHECK_LIB(ncurses, tparm)
-# These tell us whether Kerberos is available.
-AC_CHECK_LIB(krb, krb_get_cred)
-AC_CHECK_LIB(des, des_cbc_encrypt)
+# These tell us which Kerberos-related libraries to use.
+if test "${with_kerberos+set}" = set; then
+ AC_CHECK_LIB(krb, krb_get_cred)
+ AC_CHECK_LIB(des, des_cbc_encrypt)
+ AC_CHECK_LIB(com_err, com_err)
+fi
AC_MSG_CHECKING(whether localtime caches TZ)
AC_CACHE_VAL(emacs_cv_localtime_cache,