From f9001cba713e35f8539e2d586492915d978e115a Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Fri, 8 Jul 2005 07:25:11 +0000 Subject: [PATCH] * config.sub: Add support for Haiku. * testsuite/config-sub.data: Add test cases for i386, SPARC and PowerPC Haiku. --- ChangeLog | 8 +++++++- config.sub | 10 +++++++--- testsuite/config-sub.data | 3 +++ 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 608ea25..bc52ffc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,10 @@ -2005-07-08 Ben Elliston +2005-07-08 Ben Elliston + + * config.sub: Add support for Haiku. + * testsuite/config-sub.data: Add test cases for i386, SPARC and + PowerPC Haiku. + +2005-07-08 Ben Elliston * Makefile (SHELL): Remove override. diff --git a/config.sub b/config.sub index a81e743..1c366df 100755 --- a/config.sub +++ b/config.sub @@ -3,7 +3,7 @@ # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 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. # 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* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -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. ;; -qnx*) @@ -1205,7 +1206,7 @@ case $os in os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; -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*) ;; -mac*) @@ -1394,6 +1395,9 @@ case $basic_machine in *-be) os=-beos ;; + *-haiku) + os=-haiku + ;; *-ibm) os=-aix ;; diff --git a/testsuite/config-sub.data b/testsuite/config-sub.data index 1363ca8..ddc56c1 100644 --- a/testsuite/config-sub.data +++ b/testsuite/config-sub.data @@ -67,3 +67,6 @@ sh2le-elf sh2le-unknown-elf sh3le-elf sh3le-unknown-elf sh4le-elf sh4le-unknown-elf sh3ele-elf sh3ele-unknown-elf +i386-haiku i386-pc-haiku +sparc-haiku sparc-unknown-haiku +powerpc-haiku powerpc-unknown-haiku