config.sub: Make sure to match an already-canonicalized machine name (eg.

2001-04-05  Alexandre Oliva  <aoliva@redhat.com>

        * config.sub: Make sure to match an already-canonicalized
        machine name (eg. mn10300-unknown-elf).

From-SVN: r41145
This commit is contained in:
Alexandre Oliva 2001-04-06 07:06:32 +00:00 committed by Benjamin Kosnik
parent 79065db2d1
commit d2bc06280b
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2001-04-05 Alexandre Oliva <aoliva@redhat.com>
* config.sub: Make sure to match an already-canonicalized
machine name (eg. mn10300-unknown-elf).
2001-04-01 Alexandre Oliva <aoliva@redhat.com> 2001-04-01 Alexandre Oliva <aoliva@redhat.com>
* Makefile.in (CXX_FOR_TARGET_FOR_RECURSIVE_MAKE, RECURSE_FLAGS): * Makefile.in (CXX_FOR_TARGET_FOR_RECURSIVE_MAKE, RECURSE_FLAGS):

5
config.sub vendored
View file

@ -3,7 +3,7 @@
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
# Free Software Foundation, Inc. # Free Software Foundation, Inc.
version='2000-11-02' version='2001-04-06'
# This file is (in principle) common to ALL GNU software. # This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME 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 basic_machine=c4x-none
os=-coff os=-coff
;; ;;
*-unknown)
# Make sure to match an already-canonicalized machine name.
;;
*) *)
echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
exit 1 exit 1