diff options
author | lloyd <[email protected]> | 2007-01-28 10:51:23 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2007-01-28 10:51:23 +0000 |
commit | db4b955da817a25f2d133667a7aa926eb7af3635 (patch) | |
tree | 6230b026a8b33b8be7ff9969c3f5a2732918af7c | |
parent | 0e8774107cc0f5a314db6f0c53e37f6340b7b5c8 (diff) |
Fix up autodetection on AMD Athlon64 systems.
-rwxr-xr-x | configure.pl | 5 |
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 |