summaryrefslogtreecommitdiff
path: root/config.sub
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-04-09 21:53:00 +0000
committerRichard M. Stallman <rms@gnu.org>1993-04-09 21:53:00 +0000
commite7290a110506ac3cb85b0ee1b4d963bac8d51620 (patch)
tree4f64058896e7be1add0bc762ca52bed42b3c6f94 /config.sub
parent157e447aeca2d57252c77a78b9ad6bdbd818980a (diff)
downloademacs-e7290a110506ac3cb85b0ee1b4d963bac8d51620.tar.gz
Accept i370, mvs.
For i370-ibm*, assume mvs by default. Later, likewise, for i370-*. For -mvs*, assume ibm as default vendor.
Diffstat (limited to 'config.sub')
-rwxr-xr-xconfig.sub14
1 files changed, 12 insertions, 2 deletions
diff --git a/config.sub b/config.sub
index 729c23d3606..657bb8bb16c 100755
--- a/config.sub
+++ b/config.sub
@@ -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/"`
;;