diff --git a/ChangeLog b/ChangeLog index 2190461..033af0d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2000-12-15 Ben Elliston <bje@redhat.com> + * config.guess: Detect AIX version 5. Contributed by + mcnichol@austin.ibm.com. + * config.sub: Accept f301 for Fujitsu machines. Reported by Pavel Roskin <proski@gnu.org>. diff --git a/config.guess b/config.guess index 69b1ab9..980ea5b 100755 --- a/config.guess +++ b/config.guess @@ -3,7 +3,7 @@ # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000 # Free Software Foundation, Inc. -timestamp='2000-12-07' +timestamp='2000-12-15' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -502,6 +502,19 @@ EOF fi echo ${IBM_ARCH}-ibm-aix${IBM_REV} exit 0 ;; + *:AIX:*:5) + case "`lsattr -El proc0 -a type -F value`" in + PowerPC*) IBM_ARCH=powerpc + IBM_MANUF=ibm ;; + Itanium) IBM_ARCH=ia64 + IBM_MANUF=unknown ;; + POWER*) IBM_ARCH=power + IBM_MANUF=ibm ;; + *) IBM_ARCH=powerpc + IBM_MANUF=ibm ;; + esac + echo ${IBM_ARCH}-${IBM_MANUF}-aix${UNAME_VERSION}.${UNAME_RELEASE} + exit 0 ;; *:AIX:*:*) echo rs6000-ibm-aix exit 0 ;;