3 |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
4 |
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc. |
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc. |
5 |
|
|
6 |
timestamp='2003-07-17' |
timestamp='2003-08-18' |
7 |
|
|
8 |
# This file is (in principle) common to ALL GNU software. |
# This file is (in principle) common to ALL GNU software. |
9 |
# 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 |
118 |
# Here we must recognize all the valid KERNEL-OS combinations. |
# Here we must recognize all the valid KERNEL-OS combinations. |
119 |
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` |
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` |
120 |
case $maybe_os in |
case $maybe_os in |
121 |
nto-qnx* | linux-gnu* | kfreebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) |
nto-qnx* | linux-gnu* | linux-dietlibc | kfreebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) |
122 |
os=-$maybe_os |
os=-$maybe_os |
123 |
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` |
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` |
124 |
;; |
;; |
1165 |
-mac*) |
-mac*) |
1166 |
os=`echo $os | sed -e 's|mac|macos|'` |
os=`echo $os | sed -e 's|mac|macos|'` |
1167 |
;; |
;; |
1168 |
|
-linux-dietlibc) |
1169 |
|
os=-linux-dietlibc |
1170 |
|
;; |
1171 |
-linux*) |
-linux*) |
1172 |
os=`echo $os | sed -e 's|linux|linux-gnu|'` |
os=`echo $os | sed -e 's|linux|linux-gnu|'` |
1173 |
;; |
;; |