From abba85699f85f2e5dda340bd5b32ea5c9968b296 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Sun, 13 Nov 2005 03:28:48 +0000 Subject: [PATCH] 2005-11-13 Kean Johnston * config.sub: Allow -sco6 and -sco5v6 to be aliases for SCO OpenServer 6. * testsuite/config-sub.data: New tests. --- ChangeLog | 6 ++++++ config.sub | 10 +++++++++- testsuite/config-sub.data | 2 ++ 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 645d607..407262c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-11-13 Kean Johnston + + * config.sub: Allow -sco6 and -sco5v6 to be aliases for SCO + OpenServer 6. + * testsuite/config-sub.data: New tests. + 2005-11-11 Ben Elliston * testsuite/config-guess.data: Add test case for Linux PPC64. diff --git a/config.sub b/config.sub index 1c366df..a4aba16 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-08' +timestamp='2005-11-13' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software @@ -171,6 +171,10 @@ case $os in -hiux*) os=-hiuxwe2 ;; + -sco6) + os=-sco5v6 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; -sco5) os=-sco3.2v5 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` @@ -187,6 +191,10 @@ case $os in # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; + -sco5v6*) + # Don't forget version if it is 3.2v4 or newer. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; -sco*) os=-sco3.2v2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` diff --git a/testsuite/config-sub.data b/testsuite/config-sub.data index ddc56c1..12de63b 100644 --- a/testsuite/config-sub.data +++ b/testsuite/config-sub.data @@ -70,3 +70,5 @@ sh3ele-elf sh3ele-unknown-elf i386-haiku i386-pc-haiku sparc-haiku sparc-unknown-haiku powerpc-haiku powerpc-unknown-haiku +i386-pc-sco6 i386-pc-sco5v6 +i386-pc-sco5v6 i386-pc-sco5v6