aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Blandy1992-11-20 17:14:50 +0000
committerJim Blandy1992-11-20 17:14:50 +0000
commitefc3fd67074c2d6dd6ee49ab7dd59bde64c504e6 (patch)
tree1f07857310a2a59162db4919bf3e11dcf420665b
parentcbd6b57c278d9f61e70abce471ed17d393f6b68e (diff)
downloademacs-efc3fd67074c2d6dd6ee49ab7dd59bde64c504e6.tar.gz
emacs-efc3fd67074c2d6dd6ee49ab7dd59bde64c504e6.zip
Fri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
* config.sub: Added machines and operating systems for Emacs ports, since Emacs now uses config.sub for its configuration. New manufacturers recognized not to be operating systems: High Level Hardware (highlevel, defaults to using BSD), Gould (gould, defaults to System V), Commodore (cbm, defaults to amigados), National Semiconductor (ns, defaults to Genix), and Masscomp (masscomp, defaults to RTU). Recognize the NS1600 (ns16k) and the Clipper (clipper) as processors. Recognize these processors with default manufacturers: the Cydra (cydra) from Cydrome (cydrome), the XPS100 (xps100) from Honeywell (honeywell), and the Orion (orion) and Orion 1/05 (orion105) from High Level Hardware (highlevel). If the ISC operating system is given with a version number, don't kill it and set it to 2.2; just have it default to 2.2 if omitted. Make Irix SGI's default operating system, not SYSV. Make BSD Encore's default, so it applies for all Encore machines, not just the umax and mmax abbreviations. All of Encore's machines use BSD, not just the ns32k-based ones. Make it the manufacturer's default. Make it possible to specify an operating system for a Gould machine. Make sysv the manufacturer's default, so it applies when we specify the manufacturer as well as when we omit it. Add Uniplus (uniplus), Iris (iris), Xenix (xenix), and RTU (rtu) as recognized operating system names.
-rwxr-xr-xconfig.sub77
1 files changed, 57 insertions, 20 deletions
diff --git a/config.sub b/config.sub
index 8a68fbbf1e5..3d6dc83fcc9 100755
--- a/config.sub
+++ b/config.sub
@@ -36,7 +36,7 @@
36# The goal of this file is to map all the various variations of a given 36# The goal of this file is to map all the various variations of a given
37# machine specification into a single specification in the form: 37# machine specification into a single specification in the form:
38# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM 38# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
39# it is wrong to echo any other type of specification 39# It is wrong to echo any other type of specification.
40 40
41# First pass through any local machine types. 41# First pass through any local machine types.
42case $1 in 42case $1 in
@@ -54,15 +54,17 @@ if [ $basic_machine != $1 ]
54then os=`echo $1 | sed 's/.*-/-/'` 54then os=`echo $1 | sed 's/.*-/-/'`
55else os=; fi 55else os=; fi
56 56
57# Lets recognize common machines as not being OS so that things like 57### Let's recognize common machines as not being operating systems so
58# config.subr decstation-3100 work. 58### that things like config.sub decstation-3100 work. We also
59### recognize some manufacturers as not being operating systems, so we
60### can provide default operating systems below.
59case $os in 61case $os in
60 -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ 62 -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
61 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ 63 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
62 -unicom* | -ibm* | -next* | -hp | -isi* | -apollo | -altos* | \ 64 -unicom* | -ibm* | -next* | -hp | -isi* | -apollo | -altos* | \
63 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | \ 65 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | \
64 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ 66 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
65 -harris | -dolphin) 67 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp )
66 os= 68 os=
67 basic_machine=$1 69 basic_machine=$1
68 ;; 70 ;;
@@ -75,8 +77,11 @@ case $os in
75 os=-sco3.2v2 77 os=-sco3.2v2
76 basic_machine=i386-unknown 78 basic_machine=i386-unknown
77 ;; 79 ;;
80 -isc)
81 os=-isc2.2
82 basic_machine=i386-unknown
83 ;;
78 -isc*) 84 -isc*)
79 os=-isc
80 basic_machine=i386-unknown 85 basic_machine=i386-unknown
81 ;; 86 ;;
82esac 87esac
@@ -87,7 +92,7 @@ case $basic_machine in
87 # Some are omitted here because they have special meanings below. 92 # Some are omitted here because they have special meanings below.
88 tahoe | i[34]86 | i860 | m68k | m68000 | m88k | ns32k | arm | pyramid \ 93 tahoe | i[34]86 | i860 | m68k | m68000 | m88k | ns32k | arm | pyramid \
89 | tron | a29k | 580 | i960 | h8300 | hppa1.0 | hppa1.1 \ 94 | tron | a29k | 580 | i960 | h8300 | hppa1.0 | hppa1.1 \
90 | alpha | we32k) 95 | alpha | we32k | ns16k | clipper )
91 basic_machine=$basic_machine-unknown 96 basic_machine=$basic_machine-unknown
92 ;; 97 ;;
93 # Recognize the basic CPU types with with company name. 98 # Recognize the basic CPU types with with company name.
@@ -95,7 +100,8 @@ case $basic_machine in
95 | sparc-* | ns32k-* | fx80-* | arm-* | c[123]* \ 100 | sparc-* | ns32k-* | fx80-* | arm-* | c[123]* \
96 | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \ 101 | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
97 | none-* | 580-* | cray2-* | h8300-* | i960-* | xmp-* | ymp-* \ 102 | none-* | 580-* | cray2-* | h8300-* | i960-* | xmp-* | ymp-* \
98 | hppa1.0-* | hppa1.1-* | alpha-* | we32k-*) 103 | hppa1.0-* | hppa1.1-* | alpha-* | we32k-* | cydra-* | ns16k-* \
104 | pn-* | np1-* | xps100-* | clipper-* | orion-* )
99 ;; 105 ;;
100 # Recognize the various machine names and aliases which stand 106 # Recognize the various machine names and aliases which stand
101 # for a CPU type and a company and sometimes even an OS. 107 # for a CPU type and a company and sometimes even an OS.
@@ -189,7 +195,6 @@ case $basic_machine in
189 ;; 195 ;;
190 encore | umax | mmax) 196 encore | umax | mmax)
191 basic_machine=ns32k-encore 197 basic_machine=ns32k-encore
192 os=-bsd
193 ;; 198 ;;
194 genix) 199 genix)
195 basic_machine=ns32k-ns 200 basic_machine=ns32k-ns
@@ -284,6 +289,14 @@ case $basic_machine in
284 amiga) 289 amiga)
285 basic_machine=m68k-cbm 290 basic_machine=m68k-cbm
286 ;; 291 ;;
292 amigados)
293 basic_machine=m68k-cbm
294 os=-amigados
295 ;;
296 amigaunix | amix)
297 basic_machine=m68k-cbm
298 os=-sysv4
299 ;;
287 hp9k3[2-9][0-9]) 300 hp9k3[2-9][0-9])
288 basic_machine=m68k-hp 301 basic_machine=m68k-hp
289 ;; 302 ;;
@@ -339,14 +352,6 @@ case $basic_machine in
339 basic_machine=580-amdahl 352 basic_machine=580-amdahl
340 os=-sysv 353 os=-sysv
341 ;; 354 ;;
342 amigados)
343 basic_machine=m68k-cbm
344 os=-amigados
345 ;;
346 amigaunix | amix)
347 basic_machine=m68k-cbm
348 os=-sysv4
349 ;;
350 cray | ymp) 355 cray | ymp)
351 basic_machine=ymp-cray 356 basic_machine=ymp-cray
352 os=-unicos 357 os=-unicos
@@ -409,11 +414,9 @@ case $basic_machine in
409 ;; 414 ;;
410 pn) 415 pn)
411 basic_machine=pn-gould 416 basic_machine=pn-gould
412 os=-sysv
413 ;; 417 ;;
414 np1) 418 np1)
415 basic_machine=np1-gould 419 basic_machine=np1-gould
416 os=-sysv
417 ;; 420 ;;
418 ultra3) 421 ultra3)
419 basic_machine=a29k-nyu 422 basic_machine=a29k-nyu
@@ -427,6 +430,9 @@ case $basic_machine in
427 basic_machine=m68k-wrs 430 basic_machine=m68k-wrs
428 os=-vxworks 431 os=-vxworks
429 ;; 432 ;;
433 xps | xps100)
434 basic_machine=xps100-honeywell
435 ;;
430 none) 436 none)
431 basic_machine=none-none 437 basic_machine=none-none
432 os=-none 438 os=-none
@@ -452,6 +458,15 @@ case $basic_machine in
452 sparc) 458 sparc)
453 basic_machine=sparc-sun 459 basic_machine=sparc-sun
454 ;; 460 ;;
461 cydra)
462 basic_machine=cydra-cydrome
463 ;;
464 orion)
465 basic_machine=orion-highlevel
466 ;;
467 orion105)
468 basic_machine=clipper-highlevel
469 ;;
455 *) 470 *)
456 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 471 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
457 exit 1 472 exit 1
@@ -483,7 +498,7 @@ case $os in
483 | -unos* | -osf* | -luna* | -dgux* | -solari* | -sym* \ 498 | -unos* | -osf* | -luna* | -dgux* | -solari* | -sym* \
484 | -amigados* | -msdos* | -newsos* | -unicos* | -aos* \ 499 | -amigados* | -msdos* | -newsos* | -unicos* | -aos* \
485 | -nindy* | -vxworks* | -ebmon* | -hds* | -m88kbcs* \ 500 | -nindy* | -vxworks* | -ebmon* | -hds* | -m88kbcs* \
486 | -riscos* | -linux* ) 501 | -riscos* | -linux* | -uniplus* | -iris* | -rtu* | -xenix* )
487 ;; 502 ;;
488 -osfrose*) 503 -osfrose*)
489 os=-osfrose 504 os=-osfrose
@@ -532,6 +547,13 @@ else
532# Here we handle the default operating systems that come with various machines. 547# Here we handle the default operating systems that come with various machines.
533# The value should be what the vendor currently ships out the door with their 548# The value should be what the vendor currently ships out the door with their
534# machine or put another way, the most popular os provided with the machine. 549# machine or put another way, the most popular os provided with the machine.
550
551# Note that if you're going to try to match "-MANUFACTURER" here (say,
552# "-sun"), then you have to tell the case statement up towards the top
553# that MANUFACTURER isn't an operating system. Otherwise, code above
554# will signal an error saying that MANUFACTURER isn't an operating
555# system, and we'll never get to this point.
556
535case $basic_machine in 557case $basic_machine in
536 *-dec | vax-*) 558 *-dec | vax-*)
537 os=-ultrix4.2 559 os=-ultrix4.2
@@ -557,7 +579,7 @@ case $basic_machine in
557 *-hp) 579 *-hp)
558 os=-hpux 580 os=-hpux
559 ;; 581 ;;
560 *-sgi | i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) 582 i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
561 os=-sysv 583 os=-sysv
562 ;; 584 ;;
563 *-cbm) 585 *-cbm)
@@ -581,6 +603,21 @@ case $basic_machine in
581 i[34]86-*) 603 i[34]86-*)
582 os=-sco3.2v2 604 os=-sco3.2v2
583 ;; 605 ;;
606 *-gould)
607 os=-sysv
608 ;;
609 *-highlevel)
610 os=-bsd
611 ;;
612 *-encore)
613 os=-bsd
614 ;;
615 *-sgi)
616 os=-irix
617 ;;
618 *-masscomp)
619 os=-rtu
620 ;;
584 *) 621 *)
585 os=-none 622 os=-none
586 ;; 623 ;;