Conan_Kudo / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame etc/config.sub

Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
#! /bin/sh
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# Configuration validation subroutine script.
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
#   Copyright 1992-2016 Free Software Foundation, Inc.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
timestamp='2016-06-20'
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# This file is free software; you can redistribute it and/or modify it
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# under the terms of the GNU General Public License as published by
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# the Free Software Foundation; either version 3 of the License, or
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# (at your option) any later version.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
#
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# This program is distributed in the hope that it will be useful, but
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# WITHOUT ANY WARRANTY; without even the implied warranty of
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# General Public License for more details.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
#
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# You should have received a copy of the GNU General Public License
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# along with this program; if not, see <http://www.gnu.org/licenses/>.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
#
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# As a special exception to the GNU General Public License, if you
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# distribute this file as part of a program that contains a
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# configuration script generated by Autoconf, you may include it under
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# the same distribution terms that you use for the rest of that
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# program.  This Exception is an additional permission under section 7
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# of the GNU General Public License, version 3 ("GPLv3").
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
# Please send patches to <config-patches@gnu.org>.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
#
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# Configuration subroutine to validate and canonicalize a configuration type.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# Supply the specified configuration type as an argument.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# If it is invalid, we print an error message on stderr and exit with code 1.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# Otherwise, we print the canonical config type on stdout and succeed.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# You can get the latest version of this script from:
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# This file is supposed to be the same for all GNU packages
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# and recognize all the CPU types, system types and aliases
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# that are meaningful with *any* GNU software.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# Each package is responsible for reporting which valid configurations
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# it does not support.  The user should be able to distinguish
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# a failure to support a valid configuration from a meaningless
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# configuration.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# The goal of this file is to map all the various variations of a given
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# machine specification into a single specification in the form:
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
#	CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# or in some cases, the newer four-part form:
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
#	CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# It is wrong to echo any other type of specification.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
me=`echo "$0" | sed -e 's,.*/,,'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
usage="\
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Canonicalize a configuration name.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Operation modes:
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
  -h, --help         print this help, then exit
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
  -t, --time-stamp   print date of last modification, then exit
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
  -v, --version      print version number, then exit
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Report bugs and patches to <config-patches@gnu.org>."
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
version="\
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
GNU config.sub ($timestamp)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
Copyright 1992-2016 Free Software Foundation, Inc.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
This is free software; see the source for copying conditions.  There is NO
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
help="
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Try \`$me --help' for more information."
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# Parse command line
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
while test $# -gt 0 ; do
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
  case $1 in
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
    --time-stamp | --time* | -t )
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
       echo "$timestamp" ; exit ;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
    --version | -v )
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
       echo "$version" ; exit ;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
    --help | --h* | -h )
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
       echo "$usage"; exit ;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
    -- )     # Stop option processing
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
       shift; break ;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
    - )	# Use stdin as input.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
       break ;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
    -* )
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
       echo "$me: invalid option $1$help"
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
       exit 1 ;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
    *local*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
       # First pass through any local machine types.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
       echo $1
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
       exit ;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
    * )
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
       break ;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
  esac
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
done
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
case $# in
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
 0) echo "$me: missing argument$help" >&2
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
    exit 1;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
 1) ;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
 *) echo "$me: too many arguments$help" >&2
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
    exit 1;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
esac
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# Here we must recognize all the valid KERNEL-OS combinations.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
case $maybe_os in
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
  nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
  linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
  knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
  kopensolaris*-gnu* | \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
  storm-chaos* | os2-emx* | rtmk-nova*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
    os=-$maybe_os
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
    ;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
  android-linux)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
    os=-linux-android
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
    ;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
  *)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
    basic_machine=`echo $1 | sed 's/-[^-]*$//'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
    if [ $basic_machine != $1 ]
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
    then os=`echo $1 | sed 's/.*-/-/'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
    else os=; fi
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
    ;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
esac
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
### Let's recognize common machines as not being operating systems so
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
### that things like config.sub decstation-3100 work.  We also
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
### recognize some manufacturers as not being operating systems, so we
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
### can provide default operating systems below.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
case $os in
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-sun*os*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		# Prevent following clause from handling this invalid input.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-apple | -axis | -knuth | -cray | -microblaze*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=$1
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-bluegene*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-cnk
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-sim | -cisco | -oki | -wec | -winbond)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=$1
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-scout)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-wrs)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-vxworks
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=$1
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-chorusos*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-chorusos
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=$1
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-chorusrdb)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-chorusrdb
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=$1
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-hiux*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-hiuxwe2
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-sco6)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sco5v6
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-sco5)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sco3.2v5
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-sco4)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sco3.2v4
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-sco3.2.[4-9]*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-sco3.2v[4-9]*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		# Don't forget version if it is 3.2v4 or newer.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-sco5v6*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		# Don't forget version if it is 3.2v4 or newer.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-sco*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sco3.2v2
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-udk*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-isc)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-isc2.2
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-clix*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=clipper-intergraph
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-isc*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-lynx*178)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-lynxos178
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-lynx*5)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-lynxos5
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-lynx*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-lynxos
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-ptx*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-windowsnt*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=`echo $os | sed -e 's/windowsnt/winnt/'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-psos*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-psos
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-mint | -mint[0-9]*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68k-atari
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-mint
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
esac
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# Decode aliases for certain CPU-COMPANY combinations.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
case $basic_machine in
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	# Recognize the basic CPU types without company name.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	# Some are omitted here because they have special meanings below.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	1750a | 580 \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| a29k \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| aarch64 | aarch64_be \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| am33_2.0 \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| arc | arceb \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| avr | avr32 \
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
	| ba \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| be32 | be64 \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| bfin \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| c4x | c8051 | clipper \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| d10v | d30v | dlx | dsp16xx \
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
	| e2k | epiphany \
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
	| fido | fr30 | frv | ft32 \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| hexagon \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| i370 | i860 | i960 | ia64 \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| ip2k | iq2000 \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| k1om \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| le32 | le64 \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| lm32 \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| m32c | m32r | m32rle | m68000 | m68k | m88k \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| maxq | mb | microblaze | microblazeel | mcore | mep | metag \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mips | mipsbe | mipseb | mipsel | mipsle \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mips16 \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mips64 | mips64el \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mips64octeon | mips64octeonel \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mips64orion | mips64orionel \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mips64r5900 | mips64r5900el \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mips64vr | mips64vrel \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mips64vr4100 | mips64vr4100el \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mips64vr4300 | mips64vr4300el \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mips64vr5000 | mips64vr5000el \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mips64vr5900 | mips64vr5900el \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mipsisa32 | mipsisa32el \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mipsisa32r2 | mipsisa32r2el \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mipsisa32r6 | mipsisa32r6el \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mipsisa64 | mipsisa64el \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mipsisa64r2 | mipsisa64r2el \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mipsisa64r6 | mipsisa64r6el \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mipsisa64sb1 | mipsisa64sb1el \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mipsisa64sr71k | mipsisa64sr71kel \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mipsr5900 | mipsr5900el \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mipstx39 | mipstx39el \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mn10200 | mn10300 \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| moxie \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mt \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| msp430 \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| nds32 | nds32le | nds32be \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| nios | nios2 | nios2eb | nios2el \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| ns16k | ns32k \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| open8 | or1k | or1knd | or32 \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| pdp10 | pdp11 | pj | pjl \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| powerpc | powerpc64 | powerpc64le | powerpcle \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| pyramid \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| riscv32 | riscv64 \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| rl78 | rx \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| score \
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
	| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| sh64 | sh64le \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| spu \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| ubicom32 \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
	| visium \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| we32k \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| x86 | xc16x | xstormy16 | xtensa \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| z8k | z80)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=$basic_machine-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	c54x)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=tic54x-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	c55x)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=tic55x-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	c6x)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=tic6x-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
	leon|leon[3-9])
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
		basic_machine=sparc-$basic_machine
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=$basic_machine-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-none
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	ms1)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=mt-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	strongarm | thumb | xscale)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=arm-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	xgate)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=$basic_machine-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-none
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	xscaleeb)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=armeb-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	xscaleel)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=armel-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	# We use `pc' rather than `unknown'
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	# because (1) that's what they normally are, and
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	# (2) the word "unknown" tends to confuse beginning users.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	i*86 | x86_64)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	  basic_machine=$basic_machine-pc
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	  ;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	# Object if more than one company name word.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*-*-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		exit 1
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	# Recognize the basic CPU types with company name.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	580-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| a29k-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| aarch64-* | aarch64_be-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| avr-* | avr32-* \
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
	| ba-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| be32-* | be64-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| bfin-* | bs2000-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| c[123]* | c30-* | [cjt]90-* | c4x-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| c8051-* | clipper-* | craynv-* | cydra-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| d10v-* | d30v-* | dlx-* \
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
	| e2k-* | elxsi-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| h8300-* | h8500-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| hexagon-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| i*86-* | i860-* | i960-* | ia64-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| ip2k-* | iq2000-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| k1om-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| le32-* | le64-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| lm32-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| m32c-* | m32r-* | m32rle-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| microblaze-* | microblazeel-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mips16-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mips64-* | mips64el-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mips64octeon-* | mips64octeonel-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mips64orion-* | mips64orionel-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mips64r5900-* | mips64r5900el-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mips64vr-* | mips64vrel-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mips64vr4100-* | mips64vr4100el-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mips64vr4300-* | mips64vr4300el-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mips64vr5000-* | mips64vr5000el-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mips64vr5900-* | mips64vr5900el-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mipsisa32-* | mipsisa32el-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mipsisa32r2-* | mipsisa32r2el-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mipsisa32r6-* | mipsisa32r6el-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mipsisa64-* | mipsisa64el-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mipsisa64r2-* | mipsisa64r2el-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mipsisa64r6-* | mipsisa64r6el-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mipsisa64sb1-* | mipsisa64sb1el-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mipsisa64sr71k-* | mipsisa64sr71kel-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mipsr5900-* | mipsr5900el-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mipstx39-* | mipstx39el-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mmix-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| mt-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| msp430-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| nds32-* | nds32le-* | nds32be-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| nios-* | nios2-* | nios2eb-* | nios2el-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| none-* | np1-* | ns16k-* | ns32k-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| open8-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| or1k*-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| orion-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| pyramid-* \
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
	| riscv32-* | riscv64-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| rl78-* | romp-* | rs6000-* | rx-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| sparclite-* \
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
	| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| tahoe-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| tile*-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| tron-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| ubicom32-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| vax-* \
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
	| visium-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| we32k-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| x86-* | x86_64-* | xc16x-* | xps100-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| xstormy16-* | xtensa*-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| ymp-* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	| z8k-* | z80-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	# Recognize the basic CPU types without company name, with glob match.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	xtensa*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=$basic_machine-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	# Recognize the various machine names and aliases which stand
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	# for a CPU type and a company and sometimes even an OS.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	386bsd)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=i386-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-bsd
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68000-att
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	3b*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=we32k-att
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	a29khif)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=a29k-amd
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-udi
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	abacus)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=abacus-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	adobe68k)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68010-adobe
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-scout
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	alliant | fx80)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=fx80-alliant
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	altos | altos3068)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68k-altos
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	am29k)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=a29k-none
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-bsd
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	amd64)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=x86_64-pc
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	amd64-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	amdahl)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=580-amdahl
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sysv
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	amiga | amiga-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68k-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	amigaos | amigados)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68k-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-amigaos
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	amigaunix | amix)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68k-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sysv4
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	apollo68)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68k-apollo
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sysv
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	apollo68bsd)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68k-apollo
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-bsd
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	aros)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=i386-pc
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-aros
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
	asmjs)
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
		basic_machine=asmjs-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	aux)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68k-apple
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-aux
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	balance)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=ns32k-sequent
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-dynix
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	blackfin)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=bfin-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-linux
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	blackfin-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-linux
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	bluegene*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=powerpc-ibm
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-cnk
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	c54x-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	c55x-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	c6x-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	c90)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=c90-cray
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-unicos
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	cegcc)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=arm-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-cegcc
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	convex-c1)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=c1-convex
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-bsd
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	convex-c2)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=c2-convex
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-bsd
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	convex-c32)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=c32-convex
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-bsd
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	convex-c34)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=c34-convex
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-bsd
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	convex-c38)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=c38-convex
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-bsd
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	cray | j90)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=j90-cray
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-unicos
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	craynv)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=craynv-cray
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-unicosmp
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	cr16 | cr16-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=cr16-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-elf
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	crds | unos)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68k-crds
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	crisv32 | crisv32-* | etraxfs*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=crisv32-axis
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	cris | cris-* | etrax*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=cris-axis
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	crx)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=crx-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-elf
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	da30 | da30-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68k-da30
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=mips-dec
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	decsystem10* | dec10*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=pdp10-dec
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-tops10
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	decsystem20* | dec20*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=pdp10-dec
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-tops20
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	delta | 3300 | motorola-3300 | motorola-delta \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	      | 3300-motorola | delta-motorola)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68k-motorola
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	delta88)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m88k-motorola
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sysv3
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	dicos)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=i686-pc
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-dicos
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	djgpp)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=i586-pc
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-msdosdjgpp
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	dpx20 | dpx20-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=rs6000-bull
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-bosx
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	dpx2* | dpx2*-bull)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68k-bull
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sysv3
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
	e500v[12])
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
		basic_machine=powerpc-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
		os=$os"spe"
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
	e500v[12]-*)
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
		basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
		os=$os"spe"
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	ebmon29k)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=a29k-amd
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-ebmon
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	elxsi)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=elxsi-elxsi
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-bsd
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	encore | umax | mmax)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=ns32k-encore
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	es1800 | OSE68k | ose68k | ose | OSE)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68k-ericsson
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-ose
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	fx2800)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=i860-alliant
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	genix)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=ns32k-ns
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	gmicro)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=tron-gmicro
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sysv
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	go32)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=i386-pc
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-go32
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	h3050r* | hiux*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=hppa1.1-hitachi
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-hiuxwe2
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	h8300hms)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=h8300-hitachi
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-hms
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	h8300xray)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=h8300-hitachi
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-xray
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	h8500hms)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=h8500-hitachi
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-hms
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	harris)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m88k-harris
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sysv3
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	hp300-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68k-hp
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	hp300bsd)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68k-hp
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-bsd
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	hp300hpux)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68k-hp
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-hpux
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	hp3k9[0-9][0-9] | hp9[0-9][0-9])
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=hppa1.0-hp
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	hp9k2[0-9][0-9] | hp9k31[0-9])
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68000-hp
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	hp9k3[2-9][0-9])
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68k-hp
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	hp9k6[0-9][0-9] | hp6[0-9][0-9])
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=hppa1.0-hp
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	hp9k7[0-79][0-9] | hp7[0-79][0-9])
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=hppa1.1-hp
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	hp9k78[0-9] | hp78[0-9])
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		# FIXME: really hppa2.0-hp
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=hppa1.1-hp
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		# FIXME: really hppa2.0-hp
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=hppa1.1-hp
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	hp9k8[0-9][13679] | hp8[0-9][13679])
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=hppa1.1-hp
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	hp9k8[0-9][0-9] | hp8[0-9][0-9])
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=hppa1.0-hp
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	hppa-next)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-nextstep3
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	hppaosf)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=hppa1.1-hp
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-osf
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	hppro)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=hppa1.1-hp
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-proelf
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	i370-ibm* | ibm*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=i370-ibm
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	i*86v32)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sysv32
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	i*86v4*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sysv4
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	i*86v)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sysv
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	i*86sol2)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-solaris2
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	i386mach)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=i386-mach
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-mach
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	i386-vsta | vsta)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=i386-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-vsta
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	iris | iris4d)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=mips-sgi
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		case $os in
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		    -irix*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
			;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		    *)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
			os=-irix4
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
			;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		esac
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	isi68 | isi)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68k-isi
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sysv
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
	leon-*|leon[3-9]-*)
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
		basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'`
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	m68knommu)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68k-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-linux
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	m68knommu-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-linux
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	m88k-omron*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m88k-omron
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	magnum | m3230)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=mips-mips
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sysv
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	merlin)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=ns32k-utek
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sysv
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	microblaze*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=microblaze-xilinx
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	mingw64)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=x86_64-pc
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-mingw64
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	mingw32)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=i686-pc
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-mingw32
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	mingw32ce)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=arm-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-mingw32ce
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	miniframe)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68000-convergent
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68k-atari
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-mint
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	mips3*-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	mips3*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	monitor)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68k-rom68k
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-coff
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	morphos)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=powerpc-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-morphos
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	moxiebox)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=moxie-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-moxiebox
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	msdos)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=i386-pc
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-msdos
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	ms1-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	msys)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=i686-pc
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-msys
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	mvs)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=i370-ibm
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-mvs
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	nacl)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=le32-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-nacl
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	ncr3000)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=i486-ncr
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sysv4
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	netbsd386)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=i386-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-netbsd
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	netwinder)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=armv4l-rebel
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-linux
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	news | news700 | news800 | news900)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68k-sony
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-newsos
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	news1000)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68030-sony
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-newsos
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	news-3600 | risc-news)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=mips-sony
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-newsos
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	necv70)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=v70-nec
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sysv
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	next | m*-next )
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68k-next
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		case $os in
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		    -nextstep* )
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
			;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		    -ns2*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		      os=-nextstep2
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
			;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		    *)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		      os=-nextstep3
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
			;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		esac
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	nh3000)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68k-harris
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-cxux
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	nh[45]000)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m88k-harris
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-cxux
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	nindy960)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=i960-intel
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-nindy
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	mon960)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=i960-intel
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-mon960
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	nonstopux)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=mips-compaq
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-nonstopux
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	np1)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=np1-gould
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	neo-tandem)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=neo-tandem
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	nse-tandem)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=nse-tandem
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	nsr-tandem)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=nsr-tandem
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	op50n-* | op60c-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=hppa1.1-oki
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-proelf
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	openrisc | openrisc-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=or32-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	os400)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=powerpc-ibm
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-os400
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	OSE68000 | ose68000)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68000-ericsson
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-ose
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	os68k)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68k-none
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-os68k
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	pa-hitachi)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=hppa1.1-hitachi
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-hiuxwe2
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	paragon)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=i860-intel
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-osf
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	parisc)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=hppa-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-linux
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	parisc-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-linux
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	pbd)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=sparc-tti
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	pbb)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68k-tti
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	pc532 | pc532-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=ns32k-pc532
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	pc98)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=i386-pc
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	pc98-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	pentium | p5 | k5 | k6 | nexgen | viac3)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=i586-pc
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	pentiumpro | p6 | 6x86 | athlon | athlon_*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=i686-pc
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	pentiumii | pentium2 | pentiumiii | pentium3)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=i686-pc
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	pentium4)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=i786-pc
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	pentiumpro-* | p6-* | 6x86-* | athlon-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	pentium4-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	pn)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=pn-gould
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	power)	basic_machine=power-ibm
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	ppc | ppcbe)	basic_machine=powerpc-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	ppc-* | ppcbe-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	ppcle | powerpclittle | ppc-le | powerpc-little)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=powerpcle-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	ppcle-* | powerpclittle-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	ppc64)	basic_machine=powerpc64-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	ppc64le | powerpc64little | ppc64-le | powerpc64-little)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=powerpc64le-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	ppc64le-* | powerpc64little-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	ps2)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=i386-ibm
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	pw32)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=i586-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-pw32
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	rdos | rdos64)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=x86_64-pc
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-rdos
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	rdos32)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=i386-pc
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-rdos
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	rom68k)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68k-rom68k
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-coff
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	rm[46]00)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=mips-siemens
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	rtpc | rtpc-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=romp-ibm
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	s390 | s390-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=s390-ibm
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	s390x | s390x-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=s390x-ibm
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	sa29200)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=a29k-amd
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-udi
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	sb1)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=mipsisa64sb1-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	sb1el)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=mipsisa64sb1el-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	sde)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=mipsisa32-sde
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-elf
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	sei)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=mips-sei
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-seiux
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	sequent)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=i386-sequent
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	sh)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=sh-hitachi
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-hms
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	sh5el)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=sh5le-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	sh64)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=sh64-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	sparclite-wrs | simso-wrs)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=sparclite-wrs
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-vxworks
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	sps7)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68k-bull
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sysv2
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	spur)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=spur-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	st2000)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68k-tandem
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	stratus)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=i860-stratus
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sysv4
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	strongarm-* | thumb-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	sun2)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68000-sun
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	sun2os3)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68000-sun
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sunos3
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	sun2os4)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68000-sun
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sunos4
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	sun3os3)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68k-sun
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sunos3
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	sun3os4)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68k-sun
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sunos4
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	sun4os3)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=sparc-sun
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sunos3
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	sun4os4)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=sparc-sun
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sunos4
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	sun4sol2)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=sparc-sun
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-solaris2
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	sun3 | sun3-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68k-sun
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	sun4)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=sparc-sun
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	sun386 | sun386i | roadrunner)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=i386-sun
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	sv1)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=sv1-cray
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-unicos
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	symmetry)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=i386-sequent
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-dynix
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	t3e)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=alphaev5-cray
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-unicos
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	t90)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=t90-cray
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-unicos
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	tile*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=$basic_machine-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-linux-gnu
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	tx39)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=mipstx39-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	tx39el)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=mipstx39el-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	toad1)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=pdp10-xkl
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-tops20
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	tower | tower-32)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68k-ncr
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	tpf)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=s390x-ibm
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-tpf
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	udi29k)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=a29k-amd
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-udi
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	ultra3)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=a29k-nyu
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sym1
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	v810 | necv810)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=v810-nec
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-none
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	vaxv)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=vax-dec
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sysv
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	vms)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=vax-dec
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-vms
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	vpp*|vx|vx-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=f301-fujitsu
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	vxworks960)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=i960-wrs
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-vxworks
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	vxworks68)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68k-wrs
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-vxworks
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	vxworks29k)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=a29k-wrs
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-vxworks
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	w65*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=w65-wdc
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-none
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	w89k-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=hppa1.1-winbond
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-proelf
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	xbox)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=i686-pc
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-mingw32
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	xps | xps100)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=xps100-honeywell
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	xscale-* | xscalee[bl]-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	ymp)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=ymp-cray
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-unicos
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	z8k-*-coff)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=z8k-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sim
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	z80-*-coff)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=z80-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sim
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	none)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=none-none
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-none
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# Here we handle the default manufacturer of certain CPU types.  It is in
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# some cases the only manufacturer, in others, it is the most popular.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	w89k)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=hppa1.1-winbond
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	op50n)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=hppa1.1-oki
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	op60c)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=hppa1.1-oki
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	romp)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=romp-ibm
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	mmix)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=mmix-knuth
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	rs6000)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=rs6000-ibm
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	vax)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=vax-dec
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	pdp10)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		# there are many clones, so DEC is not a safe bet
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=pdp10-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	pdp11)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=pdp11-dec
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	we32k)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=we32k-att
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=sh-unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=sparc-sun
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	cydra)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=cydra-cydrome
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	orion)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=orion-highlevel
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	orion105)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=clipper-highlevel
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	mac | mpw | mac-mpw)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=m68k-apple
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	pmac | pmac-mpw)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=powerpc-apple
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*-unknown)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		# Make sure to match an already-canonicalized machine name.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		exit 1
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
esac
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# Here we canonicalize certain aliases for manufacturers.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
case $basic_machine in
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*-digital*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*-commodore*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
esac
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# Decode manufacturer-specific aliases for certain operating systems.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
if [ x"$os" != x"" ]
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
then
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
case $os in
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	# First match some system type aliases
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	# that might get confused with valid system types.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	# -solaris* is a basic system type, with this one exception.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-auroraux)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-auroraux
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-solaris1 | -solaris1.*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=`echo $os | sed -e 's|solaris1|sunos4|'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-solaris)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-solaris2
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-svr4*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sysv4
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-unixware*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sysv4.2uw
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-gnu/linux*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	# First accept the basic system types.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	# The portable systems comes first.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	# Each alternative MUST END IN A *, to match a version number.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	# -sysv* is not here because it comes later, after sysvr4.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	      | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	      | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	      | -sym* | -kopensolaris* | -plan9* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	      | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
	      | -aos* | -aros* | -cloudabi* | -sortix* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	      | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	      | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	      | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
	      | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	      | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	      | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	      | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	      | -chorusos* | -chorusrdb* | -cegcc* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	      | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	      | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	      | -linux-newlib* | -linux-musl* | -linux-uclibc* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	      | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	      | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	      | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	      | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	      | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	      | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	      | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
	      | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
	      | -onefs* | -tirtos* | -phoenix*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	# Remember, each alternative MUST END IN *, to match a version number.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-qnx*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		case $basic_machine in
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		    x86-* | i*86-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
			;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		    *)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
			os=-nto$os
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
			;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		esac
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-nto-qnx*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-nto*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=`echo $os | sed -e 's|nto|nto-qnx|'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	      | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	      | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-mac*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=`echo $os | sed -e 's|mac|macos|'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-linux-dietlibc)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-linux-dietlibc
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-linux*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=`echo $os | sed -e 's|linux|linux-gnu|'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-sunos5*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=`echo $os | sed -e 's|sunos5|solaris2|'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-sunos6*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=`echo $os | sed -e 's|sunos6|solaris3|'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-opened*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-openedition
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-os400*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-os400
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-wince*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-wince
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-osfrose*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-osfrose
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-osf*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-osf
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-utek*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-bsd
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-dynix*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-bsd
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-acis*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-aos
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-atheos*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-atheos
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-syllable*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-syllable
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-386bsd)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-bsd
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-ctix* | -uts*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sysv
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-nova*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-rtmk-nova
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-ns2 )
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-nextstep2
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-nsk*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-nsk
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	# Preserve the version number of sinix5.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-sinix5.*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=`echo $os | sed -e 's|sinix|sysv|'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-sinix*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sysv4
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-tpf*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-tpf
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-triton*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sysv3
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-oss*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sysv3
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-svr4)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sysv4
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-svr3)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sysv3
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-sysvr4)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sysv4
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	# This must come after -sysvr4.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-sysv*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-ose*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-ose
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-es1800*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-ose
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-xenix)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-xenix
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-mint
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-aros*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-aros
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-zvmoe)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-zvmoe
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-dicos*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-dicos
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-nacl*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
	-ios)
Lucio Andrés Illanes Albornoz (arab, vxp) cddeef
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	-none)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		# Get rid of the `-' at the beginning of $os.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=`echo $os | sed 's/[^-]*-//'`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		exit 1
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
esac
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
else
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# Here we handle the default operating systems that come with various machines.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# The value should be what the vendor currently ships out the door with their
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# machine or put another way, the most popular os provided with the machine.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# Note that if you're going to try to match "-MANUFACTURER" here (say,
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# "-sun"), then you have to tell the case statement up towards the top
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# that MANUFACTURER isn't an operating system.  Otherwise, code above
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# will signal an error saying that MANUFACTURER isn't an operating
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# system, and we'll never get to this point.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
case $basic_machine in
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	score-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-elf
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	spu-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-elf
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*-acorn)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-riscix1.2
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	arm*-rebel)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-linux
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	arm*-semi)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-aout
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	c4x-* | tic4x-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-coff
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	c8051-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-elf
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	hexagon-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-elf
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	tic54x-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-coff
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	tic55x-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-coff
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	tic6x-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-coff
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	# This must come before the *-dec entry.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	pdp10-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-tops20
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	pdp11-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-none
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*-dec | vax-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-ultrix4.2
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	m68*-apollo)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-domain
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	i386-sun)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sunos4.0.2
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	m68000-sun)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sunos3
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	m68*-cisco)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-aout
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	mep-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-elf
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	mips*-cisco)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-elf
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	mips*-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-elf
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	or32-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-coff
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*-tti)	# must be before sparc entry or we get the wrong os.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sysv3
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	sparc-* | *-sun)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sunos4.1.1
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*-be)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-beos
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*-haiku)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-haiku
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*-ibm)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-aix
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*-knuth)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-mmixware
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*-wec)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-proelf
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*-winbond)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-proelf
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*-oki)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-proelf
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*-hp)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-hpux
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*-hitachi)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-hiux
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sysv
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*-cbm)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-amigaos
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*-dg)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-dgux
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*-dolphin)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sysv3
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	m68k-ccur)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-rtu
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	m88k-omron*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-luna
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*-next )
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-nextstep
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*-sequent)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-ptx
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*-crds)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-unos
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*-ns)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-genix
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	i370-*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-mvs
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*-next)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-nextstep3
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*-gould)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sysv
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*-highlevel)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-bsd
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*-encore)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-bsd
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*-sgi)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-irix
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*-siemens)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-sysv4
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*-masscomp)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-rtu
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	f30[01]-fujitsu | f700-fujitsu)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-uxpv
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*-rom68k)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-coff
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*-*bug)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-coff
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*-apple)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-macos
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*-atari*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-mint
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		os=-none
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
esac
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
fi
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# Here we handle the case where we know the os, and the CPU type, but not the
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# manufacturer.  We pick the logical manufacturer.
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
vendor=unknown
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
case $basic_machine in
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
	*-unknown)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		case $os in
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
			-riscix*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				vendor=acorn
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
			-sunos*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				vendor=sun
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
			-cnk*|-aix*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				vendor=ibm
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
			-beos*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				vendor=be
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
			-hpux*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				vendor=hp
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
			-mpeix*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				vendor=hp
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
			-hiux*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				vendor=hitachi
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
			-unos*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				vendor=crds
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
			-dgux*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				vendor=dg
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
			-luna*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				vendor=omron
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
			-genix*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				vendor=ns
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
			-mvs* | -opened*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				vendor=ibm
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
			-os400*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				vendor=ibm
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
			-ptx*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				vendor=sequent
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
			-tpf*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				vendor=ibm
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
			-vxsim* | -vxworks* | -windiss*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				vendor=wrs
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
			-aux*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				vendor=apple
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
			-hms*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				vendor=hitachi
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
			-mpw* | -macos*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				vendor=apple
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
			-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				vendor=atari
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
			-vos*)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				vendor=stratus
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
				;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		esac
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
esac
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
echo $basic_machine$os
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
exit
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# Local variables:
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# eval: (add-hook 'write-file-hooks 'time-stamp)
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# time-stamp-start: "timestamp='"
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# time-stamp-format: "%:y-%02m-%02d"
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# time-stamp-end: "'"
Lucio Andrés Illanes Albornoz (arab, vxp) 5bc428
# End: