Mercurial > emacs
changeset 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 | 849a396187cd |
children | c77ea6e08c29 |
files | configure.in |
diffstat | 1 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.in Wed Aug 28 14:27:08 1996 +0000 +++ b/configure.in Wed Aug 28 15:48:30 1996 +0000 @@ -1448,9 +1448,12 @@ # 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,