From: Richard M. Stallman Date: Wed, 28 Aug 1996 15:48:30 +0000 (+0000) Subject: Check for com_err library, but only if --with-kerberos was used. X-Git-Tag: emacs-20.1~3996 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1fc25d6280c6db6dd90a8625969ca2e69051e22f;p=emacs.git Check for com_err library, but only if --with-kerberos was used. Check for krb and des only if --with-kerberos. --- 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,