summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index e4c9190337..7cb87e068d 100755
--- a/configure
+++ b/configure
@@ -774,7 +774,7 @@ elif darwin && not x86 ; then
_cpuinfo="hostinfo"
elif aix; then
# use 'lsattr' on AIX
- _cpuinfo="lsattr -E -l proc0"
+ _cpuinfo="lsattr -E -l proc0 -a type"
elif x86; then
# all other OSes try to extract CPU information from a small helper
# program TOOLS/cpuinfo instead
@@ -1197,7 +1197,7 @@ EOF
esac
;;
AIX)
- proc=`$_cpuinfo | grep 'type' | cut -f 7 -d ' ' | sed 's/PowerPC_//'`
+ proc=`$_cpuinfo | grep 'type' | cut -f 2 -d ' ' | sed 's/PowerPC_//'`
;;
esac
if test "$_altivec" = yes; then