Index: configure =================================================================== RCS file: /cvsroot/mplayer/main/configure,v retrieving revision 1.1156 diff -u -r1.1156 configure --- configure 2 Apr 2006 07:44:14 -0000 1.1156 +++ configure 2 Apr 2006 07:51:29 -0000 @@ -774,7 +774,7 @@ _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 @@ 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