From 3f4349f54ad8b7fee75fc1256e12d4eda9de5744 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Wed, 24 Oct 2012 17:18:54 +0100 Subject: Fix configure system loading cache file too late. --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index 2db2b98d0..f2b5d0698 100755 --- a/configure +++ b/configure @@ -145,6 +145,7 @@ chomp(our $topdir = getcwd()); our $this = resolve_directory($topdir); # PWD, Regardless. our @modlist = (); # Declare for Module List.. our %config = (); # Initiate Configuration Hash.. +our $cache_loaded = getcache(); $config{ME} = resolve_directory($topdir); # Present Working Directory $config{BASE_DIR} = $config{ME}."/run"; @@ -344,7 +345,7 @@ sub test_compile { print "Running non-interactive configure...\n" unless $interactive; print "Checking for cache from previous configure... "; -print ((!getcache()) ? "not found\n" : "found\n"); +print ($cache_loaded ? "found\n" : "not found\n"); $config{SYSTEM} = lc $^O; print "Checking operating system version... $config{SYSTEM}\n"; -- cgit v1.2.3