+Sun May 21 15:25:45 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * Makefile.in (PROCESS_REPLACE): Replace the RCTMPDIR in stock.h
+ with a configuration determined directory
+
+ * configure.in: Determine which directory to use for the replay
+ cache. (/usr/tmp does not exist on netbsd).
+
Wed May 10 13:20:47 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
* Makefile.in (install): Install ET_HEADERS...
KDB5DIR = $(KRB5ROOT)
KRB5SRVTABDIR = /etc
+KRB5RCTMPDIR= @KRB5_RCTMPDIR@
##DOSBUILDTOP = ..\..
##DOS!include $(BUILDTOP)\config\windows.in
PROCESS_REPLACE = -e "s+@KRB5ROOT+$(KRB5ROOT)+" \
-e "s+@KDB5DIR+$(KDB5DIR)+" \
+ -e "s+@KRB5RCTMPDIR+$(KRB5RCTMPDIR)+" \
-e "s+@KRB5SRVTABDIR+$(KRB5SRVTABDIR)+"
OSCONFSRC = $(srcdir)/stock/osconf.h
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),)
+Sun May 21 15:33:36 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * osconf.h: Setup the RCTMPDIR to be modified by configure.
+
Fri Apr 21 21:00:40 1995 Theodore Y. Ts'o (tytso@dcl)
* osconf.h: Add #define's for DEFAULT_PROFILE_FILENAME.
#define SKDC_TIMEOUT_SHIFT 2 /* left shift of timeout for backoff */
#define SKDC_TIMEOUT_1 1 /* seconds for first timeout */
-#define RCTMPDIR "/usr/tmp" /* directory to store replay caches */
+#define RCTMPDIR "@KRB5RCTMPDIR" /* directory to store replay caches */
#define KRB5_PATH_TTY "/dev/tty"
#define KRB5_PATH_LOGIN "@KRB5ROOT/sbin/login.krb5"