# HG changeset patch # User diego # Date 1143966373 0 # Node ID 44f76d9a1886554bfa58cdb4901e43ff31e9476c # Parent a55ff9c68ef8135cff6990c177e88c75de2a9804 AIX updates by Derek E. Lewis, dlewis__at__solnetworks.....net diff -r a55ff9c68ef8 -r 44f76d9a1886 configure --- 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