changeset 18019:44f76d9a1886

AIX updates by Derek E. Lewis, dlewis__at__solnetworks.....net
author diego
date Sun, 02 Apr 2006 08:26:13 +0000
parents a55ff9c68ef8
children cddd588f8d8a
files configure
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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