aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-11-24 16:07:52 +0000
committerlloyd <[email protected]>2008-11-24 16:07:52 +0000
commitaeddc179a79747dd121dc8a7f097475a92cda5ce (patch)
treefafab773265fd7b284e0b768d453efc91c31e44b
parent5ab10e5d278698425518329e4d994d67a5295091 (diff)
If configure.pl guesses the CPU using /proc/cpuinfo or uname, it reminds
the user that it can override via --cpu, however if it was guessed using Config{'archname'} the user was not so reminded. This is actually the worst possible case since Perl's Config setting is probably the least reliable method (which is why it is only used if /proc/cpuinfo and uname are not around).
-rwxr-xr-xconfigure.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.pl b/configure.pl
index bdb52fc4a..3d4ce733d 100755
--- a/configure.pl
+++ b/configure.pl
@@ -2322,8 +2322,9 @@ sub guess_cpu
if($cpu ne '')
{
- autoconfig("Guessing (based on Config{'archname'} $config_archname) " .
- "that CPU is a $cpu");
+ autoconfig("Guessing CPU using Config{archname} '$config_archname'");
+ autoconfig("Guessing CPU is a $cpu (use --cpu to set)");
+
return $cpu if known_arch($cpu);
}