* config.guess (*:Interix*:[3456]*): Consolidate all machine

possibilities into a single entry with a case statement that
	examines ${UNAME_MACHINE}. Suggested by <jerker.back@telia.com>.
This commit is contained in:
Ben Elliston 2007-03-06 04:12:53 +00:00
parent d234fa051e
commit b3c5852d35
2 changed files with 16 additions and 7 deletions

View File

@ -1,3 +1,9 @@
2007-03-06 Ben Elliston <bje@gnu.org>
* config.guess (*:Interix*:[3456]*): Consolidate all machine
possibilities into a single entry with a case statement that
examines ${UNAME_MACHINE}. Suggested by <jerker.back@telia.com>.
2007-01-18 Ben Elliston <bje@gnu.org> 2007-01-18 Ben Elliston <bje@gnu.org>
* testsuite/config-sub.data: Add MeP test cases. * testsuite/config-sub.data: Add MeP test cases.

17
config.guess vendored
View File

@ -4,7 +4,7 @@
# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
# Inc. # Inc.
timestamp='2007-01-15' timestamp='2007-03-06'
# This file is free software; you can redistribute it and/or modify it # 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 # under the terms of the GNU General Public License as published by
@ -791,12 +791,15 @@ EOF
i*:PW*:*) i*:PW*:*)
echo ${UNAME_MACHINE}-pc-pw32 echo ${UNAME_MACHINE}-pc-pw32
exit ;; exit ;;
x86:Interix*:[3456]*) *:Interix*:[3456]*)
echo i586-pc-interix${UNAME_RELEASE} case ${UNAME_MACHINE} in
exit ;; x86)
EM64T:Interix*:[3456]* | authenticamd:Interix*:[3456]*) echo i586-pc-interix${UNAME_RELEASE}
echo x86_64-unknown-interix${UNAME_RELEASE} exit ;;
exit ;; EM64T | authenticamd)
echo x86_64-unknown-interix${UNAME_RELEASE}
exit ;;
esac ;;
[345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
echo i${UNAME_MACHINE}-pc-mks echo i${UNAME_MACHINE}-pc-mks
exit ;; exit ;;