# HG changeset patch # User Richard M. Stallman # Date 730850188 0 # Node ID eeb000068cc863fa5cd977b6ce43f1f78a19c2eb # Parent 6051ba81a93860f65e4452e3d6cc13798d8c5cf4 Error if company name is more than one word. If $os is `sunos...', don't change it to manufacturer's name. diff -r 6051ba81a938 -r eeb000068cc8 config.sub --- a/config.sub Fri Feb 26 21:09:25 1993 +0000 +++ b/config.sub Sat Feb 27 21:56:28 1993 +0000 @@ -59,6 +59,9 @@ ### 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 @@ | 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]* \