Accept i370, mvs.
authorrms <rms>
Fri, 9 Apr 1993 21:53:00 +0000 (21:53 +0000)
committerrms <rms>
Fri, 9 Apr 1993 21:53:00 +0000 (21:53 +0000)
For i370-ibm*, assume mvs by default.
Later, likewise, for i370-*.
For -mvs*, assume ibm as default vendor.

config.sub

index 729c23d..657bb8b 100755 (executable)
@@ -97,7 +97,7 @@ case $basic_machine in
        # Some are omitted here because they have special meanings below.
        tahoe | i[34]86 | i860 | m68k | m68000 | m88k | ns32k | arm | pyramid \
                | tron | a29k | 580 | i960 | h8300 | hppa1.0 | hppa1.1 \
-               | alpha | we32k | ns16k | clipper | sparclite )
+               | alpha | we32k | ns16k | clipper | sparclite | i370 )
                basic_machine=$basic_machine-unknown
                ;;
        # Object if more than one company name word.
@@ -123,6 +123,10 @@ case $basic_machine in
                basic_machine=vax-dec
                os=-vms
                ;;
+       i370-ibm* | ibm*)
+               basic_machine=i370-ibm
+               os=-mvs
+               ;;
 # I'm not sure what "Sysv32" means.  Should this be sysv3.2?
        i[34]86v32)
                basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'`
@@ -488,7 +492,7 @@ case $os in
              | -vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]* | -hpux* \
              | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
              | -amigados* | -msdos* | -newsos* | -unicos* | -aos* \
-             | -nindy* | -vxworks* | -ebmon* | -hms*  \
+             | -nindy* | -vxworks* | -ebmon* | -hms* | -mvs* \
              | -riscos* | -linux* | -uniplus* | -iris* | -rtu* | -xenix* )
                ;;
        -sunos5*)
@@ -600,6 +604,9 @@ case $basic_machine in
        *-ns)
                os=-genix
                ;;
+       i370-*)
+               os=-mvs
+               ;;
        i[34]86-*)
                os=-sco3.2v2
                ;;
@@ -651,6 +658,9 @@ case $basic_machine in
                        -genix*)
                                vendor=ns
                                ;;
+                       -mvs*)
+                               vendor=ibm
+                               ;;
                esac
                basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
                ;;