diff options
| author | Richard M. Stallman | 1993-02-27 21:56:28 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-02-27 21:56:28 +0000 |
| commit | 1f532861cbf5fc76541300740a14b5b1cbffc85e (patch) | |
| tree | 6fe995f4546ef312a1a22ffe67835f2d119d3ab5 | |
| parent | 1c07d0a6345682b6a1d4d8b4bd7fa651a02993f8 (diff) | |
| download | emacs-1f532861cbf5fc76541300740a14b5b1cbffc85e.tar.gz emacs-1f532861cbf5fc76541300740a14b5b1cbffc85e.zip | |
Error if company name is more than one word.
If $os is `sunos...', don't change it to manufacturer's name.
| -rwxr-xr-x | config.sub | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config.sub b/config.sub index d79f104ed78..e6681597c41 100755 --- a/config.sub +++ b/config.sub | |||
| @@ -59,6 +59,9 @@ else os=; fi | |||
| 59 | ### recognize some manufacturers as not being operating systems, so we | 59 | ### recognize some manufacturers as not being operating systems, so we |
| 60 | ### can provide default operating systems below. | 60 | ### can provide default operating systems below. |
| 61 | case $os in | 61 | case $os in |
| 62 | -sun*os*) | ||
| 63 | # Prevent following clause from handling this invalid input. | ||
| 64 | ;; | ||
| 62 | -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ | 65 | -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ |
| 63 | -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ | 66 | -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ |
| 64 | -unicom* | -ibm* | -next* | -hp | -isi* | -apollo | -altos* | \ | 67 | -unicom* | -ibm* | -next* | -hp | -isi* | -apollo | -altos* | \ |
| @@ -94,6 +97,11 @@ case $basic_machine in | |||
| 94 | | alpha | we32k | ns16k | clipper ) | 97 | | alpha | we32k | ns16k | clipper ) |
| 95 | basic_machine=$basic_machine-unknown | 98 | basic_machine=$basic_machine-unknown |
| 96 | ;; | 99 | ;; |
| 100 | # Object if more than one company name word. | ||
| 101 | *-*-*) | ||
| 102 | echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 | ||
| 103 | exit 1 | ||
| 104 | ;; | ||
| 97 | # Recognize the basic CPU types with with company name. | 105 | # Recognize the basic CPU types with with company name. |
| 98 | vax-* | tahoe-* | i[34]86-* | i860-* | m68k-* | m68000-* | m88k-* \ | 106 | vax-* | tahoe-* | i[34]86-* | i860-* | m68k-* | m68000-* | m88k-* \ |
| 99 | | sparc-* | ns32k-* | fx80-* | arm-* | c[123]* \ | 107 | | sparc-* | ns32k-* | fx80-* | arm-* | c[123]* \ |