diff options
author | Richard Stallman <rms@gnu.org> | 1993-02-27 21:56:28 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-02-27 21:56:28 +0000 |
commit | d25887bddc10ef058de773976abf22eed9160db2 (patch) | |
tree | 97d1455ce1085ae8524bd42399f1ac0e224408f3 | |
parent | 24e4939efce2d78926e863a1406053966ada3faa (diff) | |
download | gcc-d25887bddc10ef058de773976abf22eed9160db2.zip gcc-d25887bddc10ef058de773976abf22eed9160db2.tar.gz gcc-d25887bddc10ef058de773976abf22eed9160db2.tar.bz2 |
Error if company name is more than one word.
If $os is `sunos...', don't change it to manufacturer's name.
From-SVN: r3565
-rwxr-xr-x | gcc/config.sub | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/config.sub b/gcc/config.sub index d79f104..e668159 100755 --- a/gcc/config.sub +++ b/gcc/config.sub @@ -59,6 +59,9 @@ else os=; fi ### recognize some manufacturers as not being operating systems, so we ### can provide default operating systems below. case $os in + -sun*os*) + # Prevent following clause from handling this invalid input. + ;; -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ -unicom* | -ibm* | -next* | -hp | -isi* | -apollo | -altos* | \ @@ -94,6 +97,11 @@ case $basic_machine in | alpha | we32k | ns16k | clipper ) basic_machine=$basic_machine-unknown ;; + # Object if more than one company name word. + *-*-*) + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 + exit 1 + ;; # Recognize the basic CPU types with with company name. vax-* | tahoe-* | i[34]86-* | i860-* | m68k-* | m68000-* | m88k-* \ | sparc-* | ns32k-* | fx80-* | arm-* | c[123]* \ |