]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
1998-09-15 Ben Elliston <bje@cygnus.com>
authorBen Elliston <bje+keyword+gnu.7caf74@air.net.au>
Fri, 25 Sep 1998 19:36:12 +0000 (19:36 +0000)
committerBen Elliston <bje+keyword+gnu.7caf74@air.net.au>
Fri, 25 Sep 1998 19:36:12 +0000 (19:36 +0000)
        * config.guess: Handle strange processor ID assignments on AIX
        machines.  Contributed by Didier Desseaux <didess@infonie.fr>.

config.guess

index 34c159404fea35361197487ed44788bd1c2b89a5..79d5f13a82319d5da0b8f9348e62d60b39658fc5 100755 (executable)
@@ -330,7 +330,8 @@ EOF
        fi
        exit 0 ;;
     *:AIX:*:4)
-       if /usr/sbin/lsattr -EHl proc0 | grep POWER >/dev/null 2>&1; then
+       IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'`
+       if /usr/sbin/lsattr -EHl ${IBM_CPU_ID} | grep POWER >/dev/null 2>&1; then
                IBM_ARCH=rs6000
        else
                IBM_ARCH=powerpc