aboutsummaryrefslogtreecommitdiffstats
path: root/configure.pl
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-09-16 16:42:16 +0000
committerlloyd <[email protected]>2008-09-16 16:42:16 +0000
commit619404d046541311c5336e02c730d2429f6b2585 (patch)
treec0f40eb9462ddd78d23627674d59e3018454a953 /configure.pl
parent33af4a6f61b98c22c8d3af92732891733f204b9a (diff)
Better autodetection support for the Cell PPU and ppc64 machines generally.
Diffstat (limited to 'configure.pl')
-rwxr-xr-xconfigure.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.pl b/configure.pl
index ec7fbc609..01b6b5586 100755
--- a/configure.pl
+++ b/configure.pl
@@ -1816,11 +1816,13 @@ sub guess_cpu_from_this
$cpu = 'sparc32-v9' if($cpuinfo =~ /ultrasparc/);
# 64-bit PowerPC
+ $cpu = 'ppc64' if($cpuinfo =~ /ppc64/);
$cpu = 'rs64a' if($cpuinfo =~ /rs64-/);
$cpu = 'power3' if($cpuinfo =~ /power3/);
$cpu = 'power4' if($cpuinfo =~ /power4/);
$cpu = 'power5' if($cpuinfo =~ /power5/);
$cpu = 'ppc970' if($cpuinfo =~ /ppc970/);
+ $cpu = 'cellppu' if($cpuinfo = ~/cell broadband engine/);
# Ooh, an Alpha. Try to figure out what kind
if($cpuinfo =~ /alpha/)