diff options
author | Peter Powell <petpow@saberuk.com> | 2012-10-24 17:18:54 +0100 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2012-10-26 15:23:58 +0200 |
commit | 3f4349f54ad8b7fee75fc1256e12d4eda9de5744 (patch) | |
tree | bc411a4f062c347ca49b284085ca748b074fad58 /configure | |
parent | 9fe15c5988f3eea038a4f495566fb1c26be1d1cd (diff) |
Fix configure system loading cache file too late.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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"; |