summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-04-02 08:26:13 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-04-02 08:26:13 +0000
commit8f4cca7dd592927bae5d3e13e93196b1e31df6cd (patch)
tree78fbff4a7379f0e5523e163edc8d5ee5194ba4eb /configure
parenta94b2c2e4fa60d0555f78e0146b0b04c37d728a7 (diff)
downloadmpv-8f4cca7dd592927bae5d3e13e93196b1e31df6cd.tar.bz2
mpv-8f4cca7dd592927bae5d3e13e93196b1e31df6cd.tar.xz
AIX updates by Derek E. Lewis, dlewis__at__solnetworks.....net
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18020 b3059339-0415-0410-9bf9-f77b7e298cf2
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