From: Ezra Peisach Date: Wed, 1 Nov 2000 20:00:47 +0000 (+0000) Subject: * configure.in: If the cache_file is /dev/null (autoconf 2.49), X-Git-Tag: krb5-1.3-alpha1~1765 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=387ccae59eace1a934a2d64f1f6fc90758a21a10;p=krb5.git * 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 --- 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