summaryrefslogtreecommitdiff
path: root/config.sub
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2001-04-06 07:06:32 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2001-04-06 07:06:32 +0000
commita28f421efb690378e8b646c724bfa5653292fe94 (patch)
tree154df5793f8bed8a272e0a1faa882aa7ab33a0c6 /config.sub
parentd39816434b94d087af3c92bfdd8d0ec4c8c3f9e6 (diff)
downloadgcc-a28f421efb690378e8b646c724bfa5653292fe94.tar.gz
2001-04-05 Alexandre Oliva <aoliva@redhat.com>
* config.sub: Make sure to match an already-canonicalized machine name (eg. mn10300-unknown-elf). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41145 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'config.sub')
-rwxr-xr-xconfig.sub5
1 files changed, 4 insertions, 1 deletions
diff --git a/config.sub b/config.sub
index edfef570a5c..86351bcb913 100755
--- a/config.sub
+++ b/config.sub
@@ -3,7 +3,7 @@
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
# Free Software Foundation, Inc.
-version='2000-11-02'
+version='2001-04-06'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
@@ -940,6 +940,9 @@ case $basic_machine in
basic_machine=c4x-none
os=-coff
;;
+ *-unknown)
+ # Make sure to match an already-canonicalized machine name.
+ ;;
*)
echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
exit 1