aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2007-01-28 10:51:23 +0000
committerlloyd <[email protected]>2007-01-28 10:51:23 +0000
commitdb4b955da817a25f2d133667a7aa926eb7af3635 (patch)
tree6230b026a8b33b8be7ff9969c3f5a2732918af7c
parent0e8774107cc0f5a314db6f0c53e37f6340b7b5c8 (diff)
Fix up autodetection on AMD Athlon64 systems.
-rwxr-xr-xconfigure.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.pl b/configure.pl
index cbd5df49e..fd1c31631 100755
--- a/configure.pl
+++ b/configure.pl
@@ -1583,8 +1583,9 @@ sub guess_cpu_from_this
$cpu = 'core2duo' if($cpuinfo =~ /intel\(r\) core\(tm\)2/);
- $cpu = 'amd64' if($cpuinfo =~ /athlon64/);
- $cpu = 'amd64' if($cpuinfo =~ /opteron/);
+ $cpu = 'athlon64' if($cpuinfo =~ /athlon64/);
+ $cpu = 'athlon64' if($cpuinfo =~ /athlon\(tm\) 64/);
+ $cpu = 'opteron' if($cpuinfo =~ /opteron/);
# The 32-bit SPARC stuff is impossible to match to arch type easily, and
# anyway the uname stuff will pick up that it's a SPARC so it doesn't