From 387ccae59eace1a934a2d64f1f6fc90758a21a10 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Wed, 1 Nov 2000 20:00:47 +0000 Subject: [PATCH] * configure.in: If the cache_file is /dev/null (autoconf 2.49), set it to config.cache. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12849 dc483132-0cff-0310-8789-dd5450dbe970 --- src/ChangeLog | 3 +++ src/configure.in | 8 ++++++++ 2 files changed, 11 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index e774222e2..ccfdf1549 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2000-11-01 Ezra Peisach + * configure.in: If the cache_file is /dev/null (autoconf 2.49), + set it to config.cache. + * aclocal.m4 (V5_SET_TOPDIR): In newer versions of autoconf (2.49), AC_LOCALDIR is not set by the reconfiguration process. If AC_LOCALDIR is not set, try to find the top of the tree by looking diff --git a/src/configure.in b/src/configure.in index 3200c32a4..029e604fc 100644 --- a/src/configure.in +++ b/src/configure.in @@ -1,4 +1,12 @@ AC_INIT(aclocal.m4) +dnl +dnl autoconf 2.49 defaults to a /dev/null cache file, which is what we +dnl do not want for performance reasons. +if test "x$cache_file" = "x/dev/null"; then + cache_file=./config.cache + AC_CACHE_LOAD +fi +dnl CONFIG_RULES dnl dnl -- 2.26.2