diff options
author | Richard Stallman <rms@gnu.org> | 1993-01-02 21:51:50 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-01-02 21:51:50 +0000 |
commit | 0bb5b6bce095328bf4c6fe976e05252759b21d89 (patch) | |
tree | 0de0e439e588b52644441be01f3b634051495e3f | |
parent | 5a0e778b760a1ba0221522bfd7ffac4ad36a554b (diff) | |
download | gcc-0bb5b6bce095328bf4c6fe976e05252759b21d89.zip gcc-0bb5b6bce095328bf4c6fe976e05252759b21d89.tar.gz gcc-0bb5b6bce095328bf4c6fe976e05252759b21d89.tar.bz2 |
Translate sunos5 to solaris2, and solaris1 to sunos4.
From-SVN: r3062
-rwxr-xr-x | gcc/config.sub | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/gcc/config.sub b/gcc/config.sub index e2d8d6f..5f719f5 100755 --- a/gcc/config.sub +++ b/gcc/config.sub @@ -490,16 +490,26 @@ esac if [ "$os" ] then case $os in + # -solaris* is a basic system type, with this one exception. + -solaris1 | -solaris1.*) + os=`echo $os | sed -e 's|solaris1|sunos4|'` + ;; # First accept the basic system types. # The portable systems comes first. # Each alternative must end in a *, to match a version number. -bsd* | -sysv* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ - | -vms* | -sco* | -esix* | -isc* | -aix* | -sunos* | -hpux* \ - | -unos* | -osf* | -luna* | -dgux* | -solari* | -sym* \ + | -vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]* | -hpux* \ + | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ | -amigados* | -msdos* | -newsos* | -unicos* | -aos* \ | -nindy* | -vxworks* | -ebmon* | -hds* | -m88kbcs* \ | -riscos* | -linux* | -uniplus* | -iris* | -rtu* | -xenix* ) ;; + -sunos5*) + os=`echo $os | sed -e 's|sunos5|solaris2|'` + ;; + -sunos6*) + os=`echo $os | sed -e 's|sunos6|solaris3|'` + ;; -osfrose*) os=-osfrose ;; |