mirror of
git://git.savannah.gnu.org/config.git
synced 2025-06-09 07:50:22 +12:00
Error if company name is more than one word.
If $os is `sunos...', don't change it to manufacturer's name.
This commit is contained in:
parent
0a17029f72
commit
b7a280e3bc
8
config.sub
vendored
8
config.sub
vendored
@ -59,6 +59,9 @@ else os=; fi
|
|||||||
### recognize some manufacturers as not being operating systems, so we
|
### recognize some manufacturers as not being operating systems, so we
|
||||||
### can provide default operating systems below.
|
### can provide default operating systems below.
|
||||||
case $os in
|
case $os in
|
||||||
|
-sun*os*)
|
||||||
|
# Prevent following clause from handling this invalid input.
|
||||||
|
;;
|
||||||
-dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
|
-dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
|
||||||
-att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
|
-att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
|
||||||
-unicom* | -ibm* | -next* | -hp | -isi* | -apollo | -altos* | \
|
-unicom* | -ibm* | -next* | -hp | -isi* | -apollo | -altos* | \
|
||||||
@ -94,6 +97,11 @@ case $basic_machine in
|
|||||||
| alpha | we32k | ns16k | clipper )
|
| alpha | we32k | ns16k | clipper )
|
||||||
basic_machine=$basic_machine-unknown
|
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.
|
# Recognize the basic CPU types with with company name.
|
||||||
vax-* | tahoe-* | i[34]86-* | i860-* | m68k-* | m68000-* | m88k-* \
|
vax-* | tahoe-* | i[34]86-* | i860-* | m68k-* | m68000-* | m88k-* \
|
||||||
| sparc-* | ns32k-* | fx80-* | arm-* | c[123]* \
|
| sparc-* | ns32k-* | fx80-* | arm-* | c[123]* \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user