From 726788204f62e44a193fa84baf7dc8d012467413 Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Sat, 12 Feb 2011 10:56:20 +0100 Subject: [PATCH] Save config.cache before tests which are likely to fail. Guile's configure script takes fairly long. On a system without automatic build dependency installation, it is amplified by the fact that your user might be both impatient and not read the build instructions, thus needs to rerun configure several times only to find out there is another dependency to install. Still, there is help even for such kinds of misguided figures such as me: save the temporary config.cache file (if one is used anyway) before embarking upon the set of tests that are likely to error out. That way, the second and further reruns are much faster. The downside of this patch is that, when fixing the errors requires changing to precious variables (such as CPPFLAGS or so), the user will need to 'rm -f config.cache' to keep configure happy. * configure.ac: Call AC_CACHE_SAVE before the gmp tests. --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 69f35e278..2cd8b4d4f 100644 --- a/configure.ac +++ b/configure.ac @@ -855,6 +855,7 @@ main (void) esac fi +AC_CACHE_SAVE dnl GMP tests AC_LIB_HAVE_LINKFLAGS([gmp],