diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2011-02-12 10:56:20 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2011-02-12 12:01:03 +0100 |
commit | 726788204f62e44a193fa84baf7dc8d012467413 (patch) | |
tree | 5f9d66790b631e60f8f9ba8c0aa368b5ebd13efa /configure.ac | |
parent | 32b63129529f267b8f6f3f97f020b7e8ae51b9c1 (diff) | |
download | guile-726788204f62e44a193fa84baf7dc8d012467413.tar.gz |
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.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
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], |