From 296058738aa75e8cd58702a2f950c517c37d0542 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Tue, 3 Feb 2009 21:31:24 +1100 Subject: [PATCH] Report from Przemyslaw Szczygielski. * config.guess (i*86:AROS:*:*): Detect AROS. * config.sub (aros, aros-*): Handle these. * testsuite/config-guess.data: Add test cases. * testsuite/config-sub.data: Likewise. --- ChangeLog | 8 ++++++++ config.guess | 5 ++++- config.sub | 8 ++++++-- testsuite/config-guess.data | 1 + testsuite/config-sub.data | 2 ++ 5 files changed, 21 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index c19275d..b1d635f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2009-02-03 Ben Elliston + + Report from Przemyslaw Szczygielski. + * config.guess (i*86:AROS:*:*): Detect AROS. + * config.sub (aros, aros-*): Handle these. + * testsuite/config-guess.data: Add test cases. + * testsuite/config-sub.data: Likewise. + 2009-01-19 Robert Millan * config.sub: Handle -kopensolaris*. diff --git a/config.guess b/config.guess index 3f51f4e..e5716ee 100755 --- a/config.guess +++ b/config.guess @@ -4,7 +4,7 @@ # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 # Free Software Foundation, Inc. -timestamp='2008-12-19' +timestamp='2009-02-03' # 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 @@ -1350,6 +1350,9 @@ EOF i*86:rdos:*:*) echo ${UNAME_MACHINE}-pc-rdos exit ;; + i*86:AROS:*:*) + echo ${UNAME_MACHINE}-pc-aros + exit ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 diff --git a/config.sub b/config.sub index d8573e8..d546a94 100755 --- a/config.sub +++ b/config.sub @@ -4,7 +4,7 @@ # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 # Free Software Foundation, Inc. -timestamp='2009-01-19' +timestamp='2009-02-03' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software @@ -446,6 +446,10 @@ case $basic_machine in basic_machine=m68k-apollo os=-bsd ;; + aros) + basic_machine=i386-pc + os=-aros + ;; aux) basic_machine=m68k-apple os=-aux @@ -1259,7 +1263,7 @@ case $os in | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ | -kopensolaris* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ - | -aos* \ + | -aos* | -aros* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ diff --git a/testsuite/config-guess.data b/testsuite/config-guess.data index 58ee046..9090a9a 100644 --- a/testsuite/config-guess.data +++ b/testsuite/config-guess.data @@ -39,3 +39,4 @@ BePC 1.0 Haiku ignored i586-pc-haiku padre 2.6.15 Linux ignored sparc-unknown-linux-gnu ppc 2.6.9-22 Linux ignored powerpc-unknown-linux-gnu i686 5.11-686 GNU/kOpenSolaris ignored i686-unknown-kopensolaris5.11-gnu +i386 12.1 AROS ignored i386-pc-aros diff --git a/testsuite/config-sub.data b/testsuite/config-sub.data index aef56cf..b68fdfb 100644 --- a/testsuite/config-sub.data +++ b/testsuite/config-sub.data @@ -147,3 +147,5 @@ sh4aeb-elf sh4aeb-unknown-elf lm32-elf lm32-unknown-elf lm32 lm32-unknown-none i686-kopensolaris5.11-gnu i686-pc-kopensolaris5.11-gnu +aros i386-pc-aros +i386-aros i386-pc-aros