Mercurial > mplayer.hg
diff configure @ 18019:44f76d9a1886
AIX updates by Derek E. Lewis, dlewis__at__solnetworks.....net
author | diego |
---|---|
date | Sun, 02 Apr 2006 08:26:13 +0000 |
parents | 1ada02acd99c |
children | 976fff94d59c |
line wrap: on
line diff
--- a/configure Sun Apr 02 07:55:29 2006 +0000 +++ b/configure Sun Apr 02 08:26:13 2006 +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