2000-12-15 Ben Elliston <bje@redhat.com>

* config.guess: Detect AIX version 5. Contributed by
	mcnichol@austin.ibm.com.
This commit is contained in:
Ben Elliston 2000-12-14 21:29:50 +00:00
parent 9906971b42
commit 798c3422e4
2 changed files with 17 additions and 1 deletions

View File

@ -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>.

15
config.guess vendored
View File

@ -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 ;;