aboutsummaryrefslogtreecommitdiffstats
path: root/configure.pl
diff options
context:
space:
mode:
Diffstat (limited to 'configure.pl')
-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