diff options
author | Ezra Peisach <epeisach@mit.edu> | 1995-05-21 19:38:36 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 1995-05-21 19:38:36 +0000 |
commit | c81302520a1cf9590e0b3f53220d275e0e200dc4 (patch) | |
tree | b63d21ea945eaf82fc69f2f8bf49cd1f3c317b20 /src/include/krb5/configure.in | |
parent | 943177aeae1c28335ec2f135cede3cb0f6f6efdb (diff) | |
download | krb5-c81302520a1cf9590e0b3f53220d275e0e200dc4.tar.gz krb5-c81302520a1cf9590e0b3f53220d275e0e200dc4.tar.xz krb5-c81302520a1cf9590e0b3f53220d275e0e200dc4.zip |
Determine the location of RCTMPDIR at configuration time. (netbsd does not have
/usr/tmp)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5833 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/krb5/configure.in')
-rw-r--r-- | src/include/krb5/configure.in | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/include/krb5/configure.in b/src/include/krb5/configure.in index 6276d1ba3..e14e3e477 100644 --- a/src/include/krb5/configure.in +++ b/src/include/krb5/configure.in @@ -129,6 +129,22 @@ AC_CHECK_LIB(ndbm,main) AC_CHECK_LIB(dbm,main) AC_FUNC_CHECK([dbm_open], , AC_DEFINE(ODBM)) +dnl +dnl Determine where to put the replay cache. +dnl +AC_MSG_CHECKING([for replay cache directory]) +AC_CACHE_VAL(krb5_cv_sys_rcdir, +[ +for t_dir in /usr/tmp /var/usr/tmp /var/tmp /tmp ; do + test -d $t_dir || continue + krb5_cv_sys_rcdir=$t_dir + break +done])dnl +AC_MSG_RESULT($krb5_cv_sys_rcdir) +KRB5_RCTMPDIR=$krb5_cv_sys_rcdir +AC_SUBST(KRB5_RCTMPDIR) + + AC_ARG_ENABLE([athena], [ --enable-athena build with MIT Project Athena configuration], AC_DEFINE(KRB5_ATHENA_COMPAT),) |