Accept i370, mvs.

For i370-ibm*, assume mvs by default.
Later, likewise, for i370-*.
For -mvs*, assume ibm as default vendor.
This commit is contained in:
rms 1993-04-09 21:53:00 +00:00
parent b452502305
commit 94bfc75689

14
config.sub vendored
View File

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