* config.sub: Add support for Haiku.

* testsuite/config-sub.data: Add test cases for i386, SPARC and
	PowerPC Haiku.
This commit is contained in:
Ben Elliston 2005-07-08 07:25:11 +00:00
parent 024f4743f5
commit f9001cba71
3 changed files with 17 additions and 4 deletions

View File

@ -1,4 +1,10 @@
2005-07-08 Ben Elliston <bje@au.ibm.com> 2005-07-08 Ben Elliston <bje@gnu.org>
* config.sub: Add support for Haiku.
* testsuite/config-sub.data: Add test cases for i386, SPARC and
PowerPC Haiku.
2005-07-08 Ben Elliston <bje@gnu.org>
* Makefile (SHELL): Remove override. * Makefile (SHELL): Remove override.

10
config.sub vendored
View File

@ -3,7 +3,7 @@
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
timestamp='2005-07-04' timestamp='2005-07-08'
# This file is (in principle) common to ALL GNU software. # This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software # The presence of a machine in this file suggests that SOME GNU software
@ -1187,7 +1187,8 @@ case $os in
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* | -skyos*) | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
| -skyos* | -haiku*)
# Remember, each alternative MUST END IN *, to match a version number. # Remember, each alternative MUST END IN *, to match a version number.
;; ;;
-qnx*) -qnx*)
@ -1205,7 +1206,7 @@ case $os in
os=`echo $os | sed -e 's|nto|nto-qnx|'` os=`echo $os | sed -e 's|nto|nto-qnx|'`
;; ;;
-sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
| -windows* | -osx | -abug | -netware* | -os9* | -beos* \ | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
| -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
;; ;;
-mac*) -mac*)
@ -1394,6 +1395,9 @@ case $basic_machine in
*-be) *-be)
os=-beos os=-beos
;; ;;
*-haiku)
os=-haiku
;;
*-ibm) *-ibm)
os=-aix os=-aix
;; ;;

View File

@ -67,3 +67,6 @@ sh2le-elf sh2le-unknown-elf
sh3le-elf sh3le-unknown-elf sh3le-elf sh3le-unknown-elf
sh4le-elf sh4le-unknown-elf sh4le-elf sh4le-unknown-elf
sh3ele-elf sh3ele-unknown-elf sh3ele-elf sh3ele-unknown-elf
i386-haiku i386-pc-haiku
sparc-haiku sparc-unknown-haiku
powerpc-haiku powerpc-unknown-haiku