head 1.2; access; symbols RPM_4_2_1:1.1.1.12 RPM_4_2:1.1.1.11 RPM_4_1_1:1.1.1.11 RPM_4_1:1.1.1.11 RPM_4_0_5:1.1.1.11 RPM_4_0_4:1.1.1.10 RPM_4_0_3:1.1.1.10 RPM_4_0_2:1.1.1.9 RPM_4_0_1:1.1.1.9 RPM_4_0:1.1.1.8 RPM_3_0_6:1.1.1.7 RPM_3_0_5:1.1.1.6 RPM_3_0_4:1.1.1.6 RPM_3_0_3:1.1.1.5 RPM_3_0_2:1.1.1.5 RPM_3_0_1:1.1.1.4 RPM_3_0:1.1.1.4 RPM_2_5_6:1.1.1.3 RPM_2_5:1.1.1.2 RPM_2_4_12:1.1.1.2 RPM_2_4:1.1.1.1 RPM_2_3_11:1.1.1.1 RPM_2_3:1.1.1.1 RPM_2_2_11:1.1.1.1 RPM:1.1.1; locks; strict; comment @# @; 1.2 date 2008.01.02.09.49.50; author rse; state dead; branches; next 1.1; commitid z4cpSiAhOCXk5PLs; 1.1 date 96.12.20.22.51.04; author rse; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 96.12.20.22.51.04; author rse; state Exp; branches; next 1.1.1.2; 1.1.1.2 date 98.01.08.15.53.21; author rse; state Exp; branches; next 1.1.1.3; 1.1.1.3 date 98.12.03.14.42.08; author rse; state Exp; branches; next 1.1.1.4; 1.1.1.4 date 99.04.14.10.49.51; author rse; state Exp; branches; next 1.1.1.5; 1.1.1.5 date 99.07.07.14.31.05; author rse; state Exp; branches; next 1.1.1.6; 1.1.1.6 date 2000.03.15.12.33.27; author rse; state Exp; branches; next 1.1.1.7; 1.1.1.7 date 2000.09.13.19.41.43; author rse; state Exp; branches; next 1.1.1.8; 1.1.1.8 date 2000.08.29.21.02.03; author rse; state Exp; branches; next 1.1.1.9; 1.1.1.9 date 2001.01.17.16.22.58; author rse; state Exp; branches; next 1.1.1.10; 1.1.1.10 date 2001.11.29.19.04.04; author rse; state Exp; branches; next 1.1.1.11; 1.1.1.11 date 2003.03.21.21.28.33; author rse; state Exp; branches; next 1.1.1.12; 1.1.1.12 date 2003.07.16.17.05.26; author rse; state Exp; branches; next ; desc @@ 1.2 log @remove the ancient RPM 4.2.1 source tree copy @ text @#! /bin/sh # Configuration validation subroutine script, version 1.1. # Copyright (C) 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc. # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software # can handle that machine. It does not imply ALL GNU software can. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. # If it is invalid, we print an error message on stderr and exit with code 1. # Otherwise, we print the canonical config type on stdout and succeed. # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases # that are meaningful with *any* GNU software. # Each package is responsible for reporting which valid configurations # it does not support. The user should be able to distinguish # a failure to support a valid configuration from a meaningless # configuration. # The goal of this file is to map all the various variations of a given # machine specification into a single specification in the form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # It is wrong to echo any other type of specification. if [ x$1 = x ] then echo Configuration name missing. 1>&2 echo "Usage: $0 CPU-MFR-OPSYS" 1>&2 echo "or $0 ALIAS" 1>&2 echo where ALIAS is a recognized configuration type. 1>&2 exit 1 fi # First pass through any local machine types. case $1 in *local*) echo $1 exit 0 ;; *) ;; esac # Separate what the user gave into CPU-COMPANY and OS (if any). basic_machine=`echo $1 | sed 's/-[^-]*$//'` if [ $basic_machine != $1 ] then os=`echo $1 | sed 's/.*-/-/'` else os=; fi ### Let's recognize common machines as not being operating systems so ### that things like config.sub decstation-3100 work. We also ### recognize some manufacturers as not being operating systems, so we ### can provide default operating systems below. case $os in -sun*os*) # Prevent following clause from handling this invalid input. ;; -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp ) os= basic_machine=$1 ;; -hiux*) os=-hiuxwe2 ;; -sco4) os=-sco3.2v4 basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'` ;; -sco3.2.[4-9]*) os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'` ;; -sco3.2v[4-9]*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'` ;; -sco*) os=-sco3.2v2 basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'` ;; -isc) os=-isc2.2 basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'` ;; -clix*) basic_machine=clipper-intergraph ;; -isc*) basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'` ;; -lynx*) os=-lynxos ;; -ptx*) basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` ;; -windowsnt*) os=`echo $os | sed -e 's/windowsnt/winnt/'` ;; esac # Decode aliases for certain CPU-COMPANY combinations. case $basic_machine in # Recognize the basic CPU types without company name. # Some are omitted here because they have special meanings below. tahoe | i[345]86 | i860 | m68k | m68000 | m88k | ns32k | arm \ | arme[lb] | pyramid \ | tron | a29k | 580 | i960 | h8300 | hppa1.0 | hppa1.1 \ | alpha | we32k | ns16k | clipper | sparclite | i370 | sh \ | powerpc | powerpcle | sparc64 | 1750a | dsp16xx | mips64 | mipsel \ | pdp11 | mips64el | mips64orion | mips64orionel \ | sparc) basic_machine=$basic_machine-unknown ;; # Object if more than one company name word. *-*-*) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; # Recognize the basic CPU types with company name. vax-* | tahoe-* | i[345]86-* | i860-* | m68k-* | m68000-* | m88k-* \ | sparc-* | ns32k-* | fx80-* | arm-* | c[123]* \ | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* | power-* \ | none-* | 580-* | cray2-* | h8300-* | i960-* | xmp-* | ymp-* \ | hppa1.0-* | hppa1.1-* | alpha-* | we32k-* | cydra-* | ns16k-* \ | pn-* | np1-* | xps100-* | clipper-* | orion-* | sparclite-* \ | pdp11-* | sh-* | powerpc-* | powerpcle-* | sparc64-* | mips64-* | mipsel-* \ | mips64el-* | mips64orion-* | mips64orionel-*) ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) basic_machine=m68000-att ;; 3b*) basic_machine=we32k-att ;; alliant | fx80) basic_machine=fx80-alliant ;; altos | altos3068) basic_machine=m68k-altos ;; am29k) basic_machine=a29k-none os=-bsd ;; amdahl) basic_machine=580-amdahl os=-sysv ;; amiga | amiga-*) basic_machine=m68k-unknown ;; amigaos) basic_machine=m68k-unknown os=-amigaos ;; amigaunix | amix) basic_machine=m68k-cbm os=-sysv4 ;; apollo68) basic_machine=m68k-apollo os=-sysv ;; balance) basic_machine=ns32k-sequent os=-dynix ;; convex-c1) basic_machine=c1-convex os=-bsd ;; convex-c2) basic_machine=c2-convex os=-bsd ;; convex-c32) basic_machine=c32-convex os=-bsd ;; convex-c34) basic_machine=c34-convex os=-bsd ;; convex-c38) basic_machine=c38-convex os=-bsd ;; cray | ymp) basic_machine=ymp-cray os=-unicos ;; cray2) basic_machine=cray2-cray os=-unicos ;; crds | unos) basic_machine=m68k-crds ;; da30 | da30-*) basic_machine=m68k-da30 ;; decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) basic_machine=mips-dec ;; delta | 3300 | motorola-3300 | motorola-delta \ | 3300-motorola | delta-motorola) basic_machine=m68k-motorola ;; delta88) basic_machine=m88k-motorola os=-sysv3 ;; dpx20 | dpx20-*) basic_machine=rs6000-bull os=-bosx ;; dpx2* | dpx2*-bull) basic_machine=m68k-bull os=-sysv3 ;; ebmon29k) basic_machine=a29k-amd os=-ebmon ;; elxsi) basic_machine=elxsi-elxsi os=-bsd ;; encore | umax | mmax) basic_machine=ns32k-encore ;; fx2800) basic_machine=i860-alliant ;; genix) basic_machine=ns32k-ns ;; gmicro) basic_machine=tron-gmicro os=-sysv ;; h3050r* | hiux*) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; h8300hms) basic_machine=h8300-hitachi os=-hms ;; harris) basic_machine=m88k-harris os=-sysv3 ;; hp300-*) basic_machine=m68k-hp ;; hp300bsd) basic_machine=m68k-hp os=-bsd ;; hp300hpux) basic_machine=m68k-hp os=-hpux ;; hp9k2[0-9][0-9] | hp9k31[0-9]) basic_machine=m68000-hp ;; hp9k3[2-9][0-9]) basic_machine=m68k-hp ;; hp9k7[0-9][0-9] | hp7[0-9][0-9] | hp9k8[0-9]7 | hp8[0-9]7) basic_machine=hppa1.1-hp ;; hp9k8[0-9][0-9] | hp8[0-9][0-9]) basic_machine=hppa1.0-hp ;; i370-ibm* | ibm*) basic_machine=i370-ibm os=-mvs ;; # I'm not sure what "Sysv32" means. Should this be sysv3.2? i[345]86v32) basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'` os=-sysv32 ;; i[345]86v4*) basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'` os=-sysv4 ;; i[345]86v) basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'` os=-sysv ;; i[345]86sol2) basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'` os=-solaris2 ;; iris | iris4d) basic_machine=mips-sgi case $os in -irix*) ;; *) os=-irix4 ;; esac ;; isi68 | isi) basic_machine=m68k-isi os=-sysv ;; m88k-omron*) basic_machine=m88k-omron ;; magnum | m3230) basic_machine=mips-mips os=-sysv ;; merlin) basic_machine=ns32k-utek os=-sysv ;; miniframe) basic_machine=m68000-convergent ;; mips3*-*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` ;; mips3*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown ;; ncr3000) basic_machine=i486-ncr os=-sysv4 ;; news | news700 | news800 | news900) basic_machine=m68k-sony os=-newsos ;; news1000) basic_machine=m68030-sony os=-newsos ;; news-3600 | risc-news) basic_machine=mips-sony os=-newsos ;; next | m*-next ) basic_machine=m68k-next case $os in -nextstep* ) ;; -ns2*) os=-nextstep2 ;; *) os=-nextstep3 ;; esac ;; nh3000) basic_machine=m68k-harris os=-cxux ;; nh[45]000) basic_machine=m88k-harris os=-cxux ;; nindy960) basic_machine=i960-intel os=-nindy ;; np1) basic_machine=np1-gould ;; pa-hitachi) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; paragon) basic_machine=i860-intel os=-osf ;; pbd) basic_machine=sparc-tti ;; pbb) basic_machine=m68k-tti ;; pc532 | pc532-*) basic_machine=ns32k-pc532 ;; pentium | p5 | p6) # We don't have specific support for the Intel Pentium (p6) followon yet, so just call it a Pentium basic_machine=i586-intel ;; pentium-* | p5-* | p6-*) # We don't have specific support for the Intel Pentium (p6) followon yet, so just call it a Pentium basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` ;; k5) # We don't have specific support for AMD's K5 yet, so just call it a Pentium basic_machine=i586-amd ;; nexen) # We don't have specific support for Nexgen yet, so just call it a Pentium basic_machine=i586-nexgen ;; pn) basic_machine=pn-gould ;; power) basic_machine=rs6000-ibm ;; ppc) basic_machine=powerpc-unknown ;; ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle | ppc-le | powerpc-little) basic_machine=powerpcle-unknown ;; ppcle-* | powerpclittle-*) basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ps2) basic_machine=i386-ibm ;; rm[46]00) basic_machine=mips-siemens ;; rtpc | rtpc-*) basic_machine=romp-ibm ;; sequent) basic_machine=i386-sequent ;; sh) basic_machine=sh-hitachi os=-hms ;; sps7) basic_machine=m68k-bull os=-sysv2 ;; spur) basic_machine=spur-unknown ;; sun2) basic_machine=m68000-sun ;; sun2os3) basic_machine=m68000-sun os=-sunos3 ;; sun2os4) basic_machine=m68000-sun os=-sunos4 ;; sun3os3) basic_machine=m68k-sun os=-sunos3 ;; sun3os4) basic_machine=m68k-sun os=-sunos4 ;; sun4os3) basic_machine=sparc-sun os=-sunos3 ;; sun4os4) basic_machine=sparc-sun os=-sunos4 ;; sun4sol2) basic_machine=sparc-sun os=-solaris2 ;; sun3 | sun3-*) basic_machine=m68k-sun ;; sun4) basic_machine=sparc-sun ;; sun386 | sun386i | roadrunner) basic_machine=i386-sun ;; symmetry) basic_machine=i386-sequent os=-dynix ;; tower | tower-32) basic_machine=m68k-ncr ;; udi29k) basic_machine=a29k-amd os=-udi ;; ultra3) basic_machine=a29k-nyu os=-sym1 ;; vaxv) basic_machine=vax-dec os=-sysv ;; vms) basic_machine=vax-dec os=-vms ;; vxworks960) basic_machine=i960-wrs os=-vxworks ;; vxworks68) basic_machine=m68k-wrs os=-vxworks ;; vxworks29k) basic_machine=a29k-wrs os=-vxworks ;; xmp) basic_machine=xmp-cray os=-unicos ;; xps | xps100) basic_machine=xps100-honeywell ;; none) basic_machine=none-none os=-none ;; # Here we handle the default manufacturer of certain CPU types. It is in # some cases the only manufacturer, in others, it is the most popular. mips) basic_machine=mips-mips ;; romp) basic_machine=romp-ibm ;; rs6000) basic_machine=rs6000-ibm ;; vax) basic_machine=vax-dec ;; pdp11) basic_machine=pdp11-dec ;; we32k) basic_machine=we32k-att ;; sparc) basic_machine=sparc-sun ;; cydra) basic_machine=cydra-cydrome ;; orion) basic_machine=orion-highlevel ;; orion105) basic_machine=clipper-highlevel ;; *) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; esac # Here we canonicalize certain aliases for manufacturers. case $basic_machine in *-digital*) basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` ;; *-commodore*) basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` ;; *) ;; esac # Decode manufacturer-specific aliases for certain operating systems. if [ x"$os" != x"" ] then case $os in # -solaris* is a basic system type, with this one exception. -solaris1 | -solaris1.*) os=`echo $os | sed -e 's|solaris1|sunos4|'` ;; -solaris) os=-solaris2 ;; -unixware* | svr4*) os=-sysv4 ;; -gnu/linux*) os=`echo $os | sed -e 's|gnu/linux|linux|'` ;; # First accept the basic system types. # The portable systems comes first. # Each alternative MUST END IN A *, to match a version number. # -sysv* is not here because it comes later, after sysvr4. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | -vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[345]* \ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ | -amigaos* | -msdos* | -newsos* | -unicos* | -aos* \ | -nindy* | -vxworks* | -ebmon* | -hms* | -mvs* | -clix* \ | -riscos* | -linux* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -netbsd* | -freebsd* | -riscix* \ | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* ) # Remember, each alternative MUST END IN *, to match a version number. ;; -sunos5*) os=`echo $os | sed -e 's|sunos5|solaris2|'` ;; -sunos6*) os=`echo $os | sed -e 's|sunos6|solaris3|'` ;; -osfrose*) os=-osfrose ;; -osf*) os=-osf ;; -utek*) os=-bsd ;; -dynix*) os=-bsd ;; -acis*) os=-aos ;; -ctix* | -uts*) os=-sysv ;; # Preserve the version number of sinix5. -sinix5.*) os=`echo $os | sed -e 's|sinix|sysv|'` ;; -sinix*) os=-sysv4 ;; -triton*) os=-sysv3 ;; -oss*) os=-sysv3 ;; -svr4) os=-sysv4 ;; -svr3) os=-sysv3 ;; -sysvr4) os=-sysv4 ;; # This must come after -sysvr4. -sysv*) ;; -xenix) os=-xenix ;; -none) ;; *) # Get rid of the `-' at the beginning of $os. os=`echo $os | sed 's/[^-]*-//'` echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 exit 1 ;; esac else # Here we handle the default operating systems that come with various machines. # The value should be what the vendor currently ships out the door with their # machine or put another way, the most popular os provided with the machine. # Note that if you're going to try to match "-MANUFACTURER" here (say, # "-sun"), then you have to tell the case statement up towards the top # that MANUFACTURER isn't an operating system. Otherwise, code above # will signal an error saying that MANUFACTURER isn't an operating # system, and we'll never get to this point. case $basic_machine in *-acorn) os=-riscix1.2 ;; arm*-semi) os=-aout ;; pdp11-*) os=-none ;; *-dec | vax-*) os=-ultrix4.2 ;; m68*-apollo) os=-domain ;; i386-sun) os=-sunos4.0.2 ;; m68000-sun) os=-sunos3 # This also exists in the configure program, but was not the # default. # os=-sunos4 ;; *-tti) # must be before sparc entry or we get the wrong os. os=-sysv3 ;; sparc-* | *-sun) os=-sunos4.1.1 ;; *-ibm) os=-aix ;; *-hp) os=-hpux ;; *-hitachi) os=-hiux ;; i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) os=-sysv ;; *-cbm) os=-amigaos ;; *-dg) os=-dgux ;; *-dolphin) os=-sysv3 ;; m68k-ccur) os=-rtu ;; m88k-omron*) os=-luna ;; *-sequent) os=-ptx ;; *-crds) os=-unos ;; *-ns) os=-genix ;; i370-*) os=-mvs ;; *-next) os=-nextstep3 ;; *-gould) os=-sysv ;; *-highlevel) os=-bsd ;; *-encore) os=-bsd ;; *-sgi) os=-irix ;; *-siemens) os=-sysv4 ;; *-masscomp) os=-rtu ;; *) os=-none ;; esac fi # Here we handle the case where we know the os, and the CPU type, but not the # manufacturer. We pick the logical manufacturer. vendor=unknown case $basic_machine in *-unknown) case $os in -riscix*) vendor=acorn ;; -sunos*) vendor=sun ;; -lynxos*) vendor=lynx ;; -aix*) vendor=ibm ;; -hpux*) vendor=hp ;; -hiux*) vendor=hitachi ;; -unos*) vendor=crds ;; -dgux*) vendor=dg ;; -luna*) vendor=omron ;; -genix*) vendor=ns ;; -mvs*) vendor=ibm ;; -ptx*) vendor=sequent ;; -vxworks*) vendor=wrs ;; esac basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` ;; esac echo $basic_machine$os @ 1.1 log @Initial revision @ text @@ 1.1.1.1 log @Import: RPM 2.2.11 @ text @@ 1.1.1.2 log @Import: RPM 2.4.12 @ text @d132 1 a132 1 tahoe | i[3456]86 | i860 | m68k | m68000 | m88k | ns32k | arm \ d147 1 a147 1 vax-* | tahoe-* | i[3456]86-* | i860-* | m68k-* | m68000-* | m88k-* \ @ 1.1.1.3 log @Import: RPM 2.5.6 @ text @d148 1 a148 1 | sparc-* | ns32k-* | fx80-* | arm*-* | c[123]* \ @ 1.1.1.4 log @Import: RPM 3.0 @ text @d3 1 a3 1 # Copyright (C) 1991, 92-97, 1998 Free Software Foundation, Inc. d6 1 a6 1 # can handle that machine. It does not imply ALL GNU software can. a43 2 # or in some cases, the newer four-part form: # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM d65 5 a69 15 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in linux-gnu*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; *) basic_machine=`echo $1 | sed 's/-[^-]*$//'` if [ $basic_machine != $1 ] then os=`echo $1 | sed 's/.*-/-/'` else os=; fi ;; esac d84 1 a84 2 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ -apple) a90 4 -sco5) os=sco3.2v5 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; d93 1 a93 1 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` d97 1 a97 1 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` d101 1 a101 1 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` d105 1 a105 1 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` d109 1 a109 1 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` d115 1 a115 1 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` a125 3 -psos*) os=-psos ;; d132 7 a138 9 tahoe | i860 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \ | arme[lb] | pyramid | mn10200 | mn10300 | tron | a29k \ | 580 | i960 | h8300 | hppa | hppa1.0 | hppa1.1 | hppa2.0 \ | hppa2.0w \ | alpha | alphaev5 | alphaev56 | we32k | ns16k | clipper \ | i370 | sh | powerpc | powerpcle | 1750a | dsp16xx | pdp11 \ | mips64 | mipsel | mips64el | mips64orion | mips64orionel \ | mipstx39 | mipstx39el | armv[34][lb] \ | sparc | sparclet | sparclite | sparc64 | v850) a140 6 # We use `pc' rather than `unknown' # because (1) that's what they normally are, and # (2) the word "unknown" tends to confuse beginning users. i[34567]86) basic_machine=$basic_machine-pc ;; d147 8 a154 13 vax-* | tahoe-* | i[34567]86-* | i860-* | m32r-* | m68k-* | m68000-* \ | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \ | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \ | power-* | none-* | 580-* | cray2-* | h8300-* | i960-* \ | xmp-* | ymp-* | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* \ | hppa2.0w-* \ | alpha-* | alphaev5-* | alphaev56-* | we32k-* | cydra-* \ | ns16k-* | pn-* | np1-* | xps100-* | clipper-* | orion-* \ | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \ | sparc64-* | mips64-* | mipsel-* | armv[34][lb]-*\ | mips64el-* | mips64orion-* | mips64orionel-* \ | mipstx39-* | mipstx39el-* \ | f301-* | armv*-*) d179 1 a179 1 basic_machine=m68k-cbm d181 2 a182 2 amigaos | amigados) basic_machine=m68k-cbm a192 4 aux) basic_machine=m68k-apple os=-aux ;; a224 4 [ctj]90-cray) basic_machine=c90-cray os=-unicos ;; a305 11 hppa-next) os=-nextstep3 ;; hp3k9[0-9][0-9] | hp9[0-9][0-9]) basic_machine=hppa1.0-hp os=-mpeix ;; hp3k9[0-9][0-9] | hp9[0-9][0-9]) basic_machine=hppa1.0-hp os=-mpeix ;; d311 2 a312 2 i[34567]86v32) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` d315 2 a316 2 i[34567]86v4*) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` d319 2 a320 2 i[34567]86v) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` d323 2 a324 2 i[34567]86sol2) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` a354 8 mipsel*-linux*) basic_machine=mipsel-unknown os=-linux-gnu ;; mips*-linux*) basic_machine=mips-unknown os=-linux-gnu ;; a364 4 netwinder) basic_machine=armv4l-corel os=-linux ;; d422 3 a424 8 pentium | p5 | k5 | nexen) basic_machine=i586-pc ;; pentiumpro | p6 | k6 | 6x86) basic_machine=i686-pc ;; pentiumii | pentium2) basic_machine=i786-pc d426 2 a427 1 pentium-* | p5-* | k5-* | nexen-*) d430 7 a436 5 pentiumpro-* | p6-* | k6-* | 6x86-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumii-* | pentium2-*) basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` a519 6 tx39) basic_machine=mipstx39-unknown ;; tx39el) basic_machine=mipstx39el-unknown ;; a538 3 vpp*|vx|vx-*) basic_machine=f301-fujitsu ;; d566 1 a566 5 if [ x$os = x-linux-gnu ]; then basic_machine=mips-unknown else basic_machine=mips-mips fi a617 2 # First match some system type aliases # that might get confused with valid system types. d625 1 a625 1 -svr4*) a627 3 -unixware*) os=-sysv4.2uw ;; d629 1 a629 1 os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` d636 1 a636 1 | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ d638 4 a641 5 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \ d644 1 a644 4 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -rhapsody* \ | -openstep* | -mpeix* | -oskit*) a646 3 -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; a670 3 -ns2 ) os=-nextstep2 ;; a723 3 arm*-corel) os=-linux ;; a750 3 *-be) os=-beos ;; a777 3 *-next ) os=-nextstep ;; a810 3 f301-fujitsu) os=-uxpv ;; d829 3 a837 6 -mpeix*) vendor=hp ;; -mpeix*) vendor=hp ;; d859 1 a859 1 -vxsim* | -vxworks*) a860 3 ;; -aux*) vendor=apple @ 1.1.1.5 log @Import: RPM 3.0.2 @ text @d3 1 a3 1 # Copyright (C) 1991, 92-97, 1998, 1999 Free Software Foundation, Inc. a100 10 -sim | -cisco | -oki | -wec | -winbond) os= basic_machine=$1 ;; -scout) ;; -wrs) os=vxworks basic_machine=$1 ;; d105 1 a105 1 os=-sco3.2v5 a123 3 -udk*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; d154 7 a160 10 | 580 | i960 | h8300 \ | hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \ | alpha | alphaev[4-7] | alphaev56 | alphapca5[67] \ | we32k | ns16k | clipper | i370 | sh | powerpc | powerpcle \ | 1750a | dsp16xx | pdp11 | mips16 | mips64 | mipsel | mips64el \ | mips64orion | mips64orionel | mipstx39 | mipstx39el \ | mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \ | mips64vr5000 | miprs64vr5000el \ | armv[34][lb] | sparc | sparclet | sparclite | sparc64 | sparcv9 | v850 | c4x \ | thumb | d10v) a162 3 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | h8500 | w65) ;; d178 5 a182 6 | power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \ | xmp-* | ymp-* \ | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* | hppa2.0n-* \ | alpha-* | alphaev[4-7]-* | alphaev56-* | alphapca5[67]-* \ | we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \ | clipper-* | orion-* \ d184 2 a185 3 | sparc64-* | sparcv9-* | sparc86x-* | mips16-* | mips64-* | mipsel-* \ | mips64el-* | mips64orion-* | mips64orionel-* \ | mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \ d187 1 a187 4 | armv[34][lb]-* \ | f301-* | armv*-* | t3e-* \ | m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \ | thumb-* | v850-* | d30v-* | tic30-* | c30-* ) a190 4 386bsd) basic_machine=i386-unknown os=-bsd ;; a196 8 a29khif) basic_machine=a29k-amd os=-udi ;; adobe68k) basic_machine=m68010-adobe os=-scout ;; a225 4 apollo68bsd) basic_machine=m68k-apollo os=-bsd ;; a301 4 es1800 | OSE68k | ose68k | ose | OSE) basic_machine=m68k-ericsson os=-ose ;; a319 8 h8300xray) basic_machine=h8300-hitachi os=-xray ;; h8500hms) basic_machine=h8500-hitachi os=-hms ;; a334 3 hp3k9[0-9][0-9] | hp9[0-9][0-9]) basic_machine=hppa1.0-hp ;; d341 1 a341 15 hp9k6[0-9][0-9] | hp6[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k7[0-79][0-9] | hp7[0-79][0-9]) basic_machine=hppa1.1-hp ;; hp9k78[0-9] | hp78[0-9]) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[0-9][13679] | hp8[0-9][13679]) d350 3 a352 3 hppaosf) basic_machine=hppa1.1-hp os=-osf d354 3 a356 3 hppro) basic_machine=hppa1.1-hp os=-proelf a378 16 i386mach) basic_machine=i386-mach os=-mach ;; i386-vsta | vsta) basic_machine=i386-unknown os=-vsta ;; i386-go32 | go32) basic_machine=i386-unknown os=-go32 ;; i386-mingw32 | mingw32) basic_machine=i386-unknown os=-mingw32 ;; a406 4 *mint | *MiNT) basic_machine=m68k-atari os=-mint ;; a420 8 monitor) basic_machine=m68k-rom68k os=-coff ;; msdos) basic_machine=i386-unknown os=-msdos ;; a424 4 netbsd386) basic_machine=i386-unknown os=-netbsd ;; a440 4 necv70) basic_machine=v70-nec os=-sysv ;; a465 4 mon960) basic_machine=i960-intel os=-mon960 ;; a468 12 op50n-* | op60c-*) basic_machine=hppa1.1-oki os=-proelf ;; OSE68000 | ose68000) basic_machine=m68000-ericsson os=-ose ;; os68k) basic_machine=m68k-none os=-os68k ;; d486 1 a486 1 pentium | p5 | k5 | k6 | nexen) d489 1 a489 1 pentiumpro | p6 | 6x86) d495 1 a495 1 pentium-* | p5-* | k5-* | k6-* | nexen-*) d498 1 a498 1 pentiumpro-* | p6-* | 6x86-*) a521 4 rom68k) basic_machine=m68k-rom68k os=-coff ;; a527 4 sa29200) basic_machine=a29k-amd os=-udi ;; a534 4 sparclite-wrs) basic_machine=sparclite-wrs os=-vxworks ;; a541 7 st2000) basic_machine=m68k-tandem ;; stratus) basic_machine=i860-stratus os=-sysv4 ;; a585 4 t3e) basic_machine=t3e-cray os=-unicos ;; a602 4 v810 | necv810) basic_machine=v810-nec os=-none ;; a625 8 w65*) basic_machine=w65-wdc os=-none ;; w89k-*) basic_machine=hppa1.1-winbond os=-proelf ;; a632 4 z8k-*-coff) basic_machine=z8k-unknown os=-sim ;; a639 9 w89k) basic_machine=hppa1.1-winbond ;; op50n) basic_machine=hppa1.1-oki ;; op60c) basic_machine=hppa1.1-oki ;; d662 1 a662 1 sparc | sparcv9) a673 10 mac | mpw | mac-mpw) basic_machine=m68k-apple ;; pmac | pmac-mpw) basic_machine=powerpc-apple ;; c4x*) basic_machine=c4x-none os=-coff ;; d727 1 a727 1 | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ d731 2 a732 2 | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -rhapsody* | -openstep* | -oskit*) a734 7 -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* | -beos* \ | -macos* | -mpw* | -magic* | -mon960* | -lnews*) ;; -mac*) os=`echo $os | sed -e 's|mac|macos|'` ;; a758 3 -386bsd) os=-bsd ;; a789 6 -ose*) os=-ose ;; -es1800*) os=-ose ;; a792 3 -*mint | -*MiNT) os=-mint ;; a841 9 m68*-cisco) os=-aout ;; mips*-cisco) os=-elf ;; mips*-*) os=-elf ;; a853 9 *-wec) os=-proelf ;; *-winbond) os=-proelf ;; *-oki) os=-proelf ;; a916 12 *-rom68k) os=-coff ;; *-*bug) os=-coff ;; *-apple) os=-macos ;; *-atari*) os=-mint ;; d938 2 a939 2 -beos*) vendor=be d941 1 a941 1 -hpux*) a972 9 ;; -hms*) vendor=hitachi ;; -mpw* | -macos*) vendor=apple ;; -*mint | -*MiNT) vendor=atari @ 1.1.1.6 log @Import: RPM 3.0.4 @ text @d108 1 a108 1 os=-vxworks a158 4 -mint | -mint[0-9]*) basic_machine=m68k-atari os=-mint ;; d165 1 a165 1 tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \ d174 3 a176 3 | mips64vr5000 | miprs64vr5000el | mcore \ | sparc | sparclet | sparclite | sparc64 | sparcv9 | v850 | c4x \ | thumb | d10v | fr30) d179 1 a179 1 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | h8500 | w65 | pj | pjl) d194 1 a194 2 # FIXME: clean up the formatting here. vax-* | tahoe-* | i[34567]86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \ d207 2 a208 1 | mipstx39-* | mipstx39el-* | mcore-* \ d211 1 a211 1 | thumb-* | v850-* | d30v-* | tic30-* | c30-* | fr30-* ) d429 1 a463 3 i386-qnx | qnx) basic_machine=i386-qnx ;; d492 1 a492 1 *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) a517 4 mvs) basic_machine=i370-ibm os=-mvs ;; d527 1 a527 1 basic_machine=armv4l-rebel d911 1 a911 1 | -interix* | -uwin* | -rhapsody* | -opened* | -openstep* | -oskit*) a929 3 -opened*) os=-openedition ;; a966 3 -qnx) os=-qnx4 ;; d1016 1 a1016 1 arm*-rebel) d1190 1 a1190 1 -mvs* | -opened*) @ 1.1.1.7 log @Import: RPM 3.0.6 @ text @d3 1 a3 3 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000 # Free Software Foundation, Inc. # a27 3 # Written by Per Bothner . # Please send patches to . # d71 1 a71 1 nto-qnx* | linux-gnu*) a171 1 | x86 | ppcbe | mipsbe | mipsle | shbe | shle | armbe | armle \ d173 1 a173 3 | hppa64 \ | alpha | alphaev[4-8] | alphaev56 | alphapca5[67] \ | alphaev6[78] \ d180 1 a180 1 | thumb | d10v | fr30 | avr) d204 2 a205 5 | x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* | armbe-* | armle-* \ | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* \ | hppa2.0n-* | hppa64-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphapca5[67]-* \ | alphaev6[78]-* \ d213 1 a213 1 | f301-* | armv*-* | s390-* | sv1-* | t3e-* \ d215 1 a215 2 | thumb-* | v850-* | d30v-* | tic30-* | c30-* | fr30-* \ | bs2000-*) d467 3 a515 4 mmix*) basic_machine=mmix-knuth os=-mmixware ;; a587 3 nsr-tandem) basic_machine=nsr-tandem ;; a731 4 sv1) basic_machine=sv1-cray os=-unicos ;; d921 1 a921 2 | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit*) a923 12 -qnx*) case $basic_machine in x86-* | i[34567]86-*) ;; *) os=-nto$os ;; esac ;; -nto*) os=-nto-qnx ;; d926 1 a926 1 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) a942 3 -wince*) os=-wince ;; a966 3 -nsk) os=-nsk ;; d979 3 @ 1.1.1.8 log @Import: RPM 4.0 @ text @d3 3 a5 1 # Copyright (C) 1991, 92-97, 1998, 1999 Free Software Foundation, Inc. d30 3 d76 1 a76 1 linux-gnu*) d177 1 d179 3 a181 1 | alpha | alphaev[4-7] | alphaev56 | alphapca5[67] \ d188 1 a188 1 | thumb | d10v | fr30) d212 5 a216 2 | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* | hppa2.0n-* \ | alpha-* | alphaev[4-7]-* | alphaev56-* | alphapca5[67]-* \ d224 1 a224 1 | f301-* | armv*-* | t3e-* \ d226 2 a227 1 | thumb-* | v850-* | d30v-* | tic30-* | c30-* | fr30-* ) a478 3 i386-qnx | qnx) basic_machine=i386-qnx ;; d525 4 d601 3 d748 4 d941 2 a942 1 | -interix* | -uwin* | -rhapsody* | -opened* | -openstep* | -oskit*) d945 12 d959 1 a959 1 | -macos* | -mpw* | -magic* | -mon960* | -lnews*) d976 3 d1003 3 a1017 3 ;; -qnx) os=-qnx4 @ 1.1.1.9 log @Import: RPM 4.0.1 @ text @d3 1 a3 3 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000 # Free Software Foundation, Inc. # a27 3 # Written by Per Bothner . # Please send patches to . # d71 1 a71 1 nto-qnx* | linux-gnu*) a171 1 | x86 | ppcbe | mipsbe | mipsle | shbe | shle | armbe | armle \ d173 1 a173 3 | hppa64 \ | alpha | alphaev[4-8] | alphaev56 | alphapca5[67] \ | alphaev6[78] \ d180 1 a180 1 | thumb | d10v | fr30 | avr) d204 2 a205 5 | x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* | armbe-* | armle-* \ | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* \ | hppa2.0n-* | hppa64-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphapca5[67]-* \ | alphaev6[78]-* \ d213 1 a213 1 | f301-* | armv*-* | s390-* | sv1-* | t3e-* \ d215 1 a215 2 | thumb-* | v850-* | d30v-* | tic30-* | c30-* | fr30-* \ | bs2000-*) d467 3 a515 4 mmix*) basic_machine=mmix-knuth os=-mmixware ;; a587 3 nsr-tandem) basic_machine=nsr-tandem ;; a731 4 sv1) basic_machine=sv1-cray os=-unicos ;; d921 1 a921 2 | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit*) a923 12 -qnx*) case $basic_machine in x86-* | i[34567]86-*) ;; *) os=-nto$os ;; esac ;; -nto*) os=-nto-qnx ;; d926 1 a926 1 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) a942 3 -wince*) os=-wince ;; a966 3 -nsk) os=-nsk ;; d979 3 @ 1.1.1.10 log @Import: RPM 4.0.3 @ text @d2 2 a3 2 # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 d5 1 a5 3 timestamp='2001-04-20' d30 1 d53 8 a60 1 me=`echo "$0" | sed -e 's,.*/,,'` d62 8 a69 58 usage="\ Usage: $0 [OPTION] CPU-MFR-OPSYS $0 [OPTION] ALIAS Canonicalize a configuration name. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.sub ($timestamp) Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit 0 ;; --version | -v ) echo "$version" ; exit 0 ;; --help | --h* | -h ) echo "$usage"; exit 0 ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" exit 1 ;; *local*) # First pass through any local machine types. echo $1 exit 0;; * ) break ;; esac done case $# in 0) echo "$me: missing argument$help" >&2 exit 1;; 1) ;; *) echo "$me: too many arguments$help" >&2 exit 1;; d76 1 a76 1 nto-qnx* | linux-gnu* | storm-chaos* | os2-emx*) d102 1 a102 1 -apple | -axis) d174 2 a175 3 tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc \ | arm | arme[lb] | arm[bl]e | armv[2345] | armv[345][lb] | strongarm | xscale \ | pyramid | mn10200 | mn10300 | tron | a29k \ d177 1 a177 1 | x86 | ppcbe | mipsbe | mipsle | shbe | shle \ d182 2 a183 4 | we32k | ns16k | clipper | i370 | sh | sh[34] \ | powerpc | powerpcle \ | 1750a | dsp16xx | pdp10 | pdp11 \ | mips16 | mips64 | mipsel | mips64el \ d186 3 a188 5 | mips64vr5000 | miprs64vr5000el | mcore | s390 | s390x \ | sparc | sparclet | sparclite | sparc64 | sparcv9 | sparcv9b \ | v850 | c4x \ | thumb | d10v | d30v | fr30 | avr | openrisc | tic80 \ | pj | pjl | h8500) d191 1 a191 6 m6811 | m68hc11 | m6812 | m68hc12) # Motorola 68HC11/12. basic_machine=$basic_machine-unknown os=-none ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | w65) d197 1 a197 1 i*86 | x86_64) d207 2 a208 3 vax-* | tahoe-* | i*86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \ | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | c[123]* \ | arm-* | armbe-* | armle-* | armv*-* | strongarm-* | xscale-* \ d212 1 a212 1 | x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* \ d219 2 a220 3 | sparclite-* | pdp10-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \ | sparc64-* | sparcv9-* | sparcv9b-* | sparc86x-* \ | mips16-* | mips64-* | mipsel-* \ d224 1 a224 2 | f30[01]-* | f700-* | s390-* | s390x-* | sv1-* | t3e-* \ | [cjt]90-* \ d226 2 a227 2 | thumb-* | v850-* | d30v-* | tic30-* | tic80-* | c30-* | fr30-* \ | bs2000-* | tic54x-* | c54x-* | x86_64-* | pj-* | pjl-*) d264 1 a264 1 basic_machine=m68k-unknown d267 1 a267 1 basic_machine=m68k-unknown d271 1 a271 1 basic_machine=m68k-unknown d318 2 a319 2 [cjt]90) basic_machine=${basic_machine}-cray a324 3 cris | cris-* | etrax*) basic_machine=cris-axis ;; a371 4 go32) basic_machine=i386-pc os=-go32 ;; d447 1 a447 1 i*86v32) d451 1 a451 1 i*86v4*) d455 1 a455 1 i*86v) d459 1 a459 1 i*86sol2) d471 8 a503 4 mingw32) basic_machine=i386-pc os=-mingw32 ;; d534 1 a534 1 basic_machine=i386-pc a597 4 nonstopux) basic_machine=mips-compaq os=-nonstopux ;; d633 1 a633 1 pentium | p5 | k5 | k6 | nexgen) d636 1 a636 1 pentiumpro | p6 | 6x86 | athlon) d640 1 a640 1 basic_machine=i686-pc d642 1 a642 1 pentium-* | p5-* | k5-* | k6-* | nexgen-*) d645 1 a645 1 pentiumpro-* | p6-* | 6x86-* | athlon-*) d649 1 a649 1 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` d654 1 a654 1 power) basic_machine=power-ibm a668 4 pw32) basic_machine=i586-unknown os=-pw32 ;; a759 4 tic54x | c54x*) basic_machine=tic54x-unknown os=-coff ;; a854 4 pdp10) # there are many clones, so DEC is not a safe bet basic_machine=pdp10-unknown ;; d861 1 a861 4 sh3 | sh4) basic_machine=sh-unknown ;; sparc | sparcv9 | sparcv9b) a882 3 *-unknown) # Make sure to match an already-canonicalized machine name. ;; d942 1 a942 2 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* | -os2*) d947 1 a947 1 x86-* | i*86-*) d1003 1 a1003 1 -nsk*) d1040 1 a1040 1 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) a1073 3 pdp10-*) os=-tops20 ;; d1182 1 a1182 1 f30[01]-fujitsu | f700-fujitsu) d1260 1 a1260 1 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) a1268 8 exit 0 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: @ 1.1.1.11 log @Import: RPM 4.0.5 @ text @d6 1 a6 1 timestamp='2001-09-07' d120 1 a120 1 nto-qnx* | linux-gnu* | storm-chaos* | os2-emx* | windows32-*) a159 8 -chorusos*) os=-chorusos basic_machine=$1 ;; -chorusrdb) os=-chorusrdb basic_machine=$1 ;; d218 20 a237 30 1750a | 580 \ | a29k \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ | c4x | clipper \ | d10v | d30v | dsp16xx \ | fr30 \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | m32r | m68000 | m68k | m88k | mcore \ | mips16 | mips64 | mips64el | mips64orion | mips64orionel \ | mips64vr4100 | mips64vr4100el | mips64vr4300 \ | mips64vr4300el | mips64vr5000 | mips64vr5000el \ | mipsbe | mipseb | mipsel | mipsle | mipstx39 | mipstx39el \ | mipsisa32 \ | mn10200 | mn10300 \ | ns16k | ns32k \ | openrisc \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | pyramid \ | s390 | s390x \ | sh | sh[34] | sh[34]eb | shbe | shle \ | sparc | sparc64 | sparclet | sparclite | sparcv9 | sparcv9b \ | stormy16 | strongarm \ | tahoe | thumb | tic80 | tron \ | v850 \ | we32k \ | x86 | xscale \ | z8k) d245 1 a245 1 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) d260 25 a284 37 580-* \ | a29k-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alphapca5[67]-* | arc-* \ | arm-* | armbe-* | armle-* | armv*-* \ | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c54x-* \ | clipper-* | cray2-* | cydra-* \ | d10v-* | d30v-* \ | elxsi-* \ | f30[01]-* | f700-* | fr30-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | i*86-* | i860-* | i960-* | ia64-* \ | m32r-* \ | m68000-* | m680[01234]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | mcore-* \ | mips-* | mips16-* | mips64-* | mips64el-* | mips64orion-* \ | mips64orionel-* | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* | mipsbe-* | mipseb-* \ | mipsle-* | mipsel-* | mipstx39-* | mipstx39el-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | pyramid-* \ | romp-* | rs6000-* \ | s390-* | s390x-* \ | sh-* | sh[34]-* | sh[34]eb-* | shbe-* | shle-* \ | sparc-* | sparc64-* | sparc86x-* | sparclite-* \ | sparcv9-* | sparcv9b-* | stormy16-* | strongarm-* | sv1-* \ | t3e-* | tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \ | v850-* | vax-* \ | we32k-* \ | x86-* | x86_64-* | xmp-* | xps100-* | xscale-* \ | ymp-* \ | z8k-*) a729 10 ppc64) basic_machine=powerpc64-unknown ;; ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64le | powerpc64little | ppc64-le | powerpc64-little) basic_machine=powerpc64le-unknown ;; ppc64le-* | powerpc64little-*) basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` ;; a883 4 windows32) basic_machine=i386-pc os=-windows32-msvcrt ;; d937 1 a937 1 sh3 | sh4 | sh3eb | sh4eb) a1020 1 | -chorusos* | -chorusrdb* \ d1025 1 a1025 2 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos*) a1347 3 ;; -vos*) vendor=stratus @ 1.1.1.12 log @Import: RPM 4.2.1 @ text @d3 2 a4 2 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003 Free Software Foundation, Inc. d6 1 a6 1 timestamp='2003-01-03' d32 1 a32 2 # Please send patches to . Submit a context # diff and a properly formatted ChangeLog entry. d120 1 a120 1 nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) a228 1 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ d230 3 a232 3 | clipper \ | d10v | d30v | dlx | dsp16xx \ | fr30 | frv \ a234 1 | ip2k \ d236 5 a240 14 | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ | mips64vr | mips64vrel \ | mips64orion | mips64orionel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ | mipsisa32 | mipsisa32el \ | mipsisa32r2 | mipsisa32r2el \ | mipsisa64 | mipsisa64el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ a241 1 | msp430 \ d243 1 a243 1 | openrisc | or32 \ d248 3 a250 4 | sh | sh[1234] | sh3e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \ | strongarm \ d252 1 a252 1 | v850 | v850e \ d254 1 a254 1 | x86 | xscale | xstormy16 | xtensa \ d281 2 a282 4 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* \ d284 3 a286 3 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* \ | clipper-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ d288 1 a288 1 | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ a291 1 | ip2k-* \ d293 1 a293 1 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ d295 5 a299 16 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ | mips64vr-* | mips64vrel-* \ | mips64orion-* | mips64orionel-* \ | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ | mipsisa32-* | mipsisa32el-* \ | mipsisa32r2-* | mipsisa32r2el-* \ | mipsisa64-* | mipsisa64el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipstx39-* | mipstx39el-* \ | msp430-* \ | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \ d306 5 a310 6 | sh-* | sh[1234]-* | sh3e-* | sh[34]eb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ | tahoe-* | thumb-* | tic30-* | tic4x-* | tic54x-* | tic80-* | tron-* \ | v850-* | v850e-* | vax-* \ d312 1 a312 2 | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \ | xtensa-* \ a376 4 c90) basic_machine=c90-cray os=-unicos ;; d397 10 a406 2 cray | j90) basic_machine=j90-cray a420 8 decsystem10* | dec10*) basic_machine=pdp10-dec os=-tops10 ;; decsystem20* | dec20*) basic_machine=pdp10-dec os=-tops20 ;; d601 8 a622 4 morphos) basic_machine=powerpc-unknown os=-morphos ;; a694 4 nv1) basic_machine=nv1-cray os=-unicosmp ;; a701 4 or32 | or32-*) basic_machine=or32-unknown os=-coff ;; d724 1 a724 1 pc532 | pc532-*) d727 1 a727 1 pentium | p5 | k5 | k6 | nexgen | viac3) d730 1 a730 1 pentiumpro | p6 | 6x86 | athlon | athlon_*) d736 1 a736 1 pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) d751 1 a751 1 ;; d756 1 a756 1 ;; d761 1 a761 1 ;; d766 1 a766 1 ;; a790 6 sb1) basic_machine=mipsisa64sb1-unknown ;; sb1el) basic_machine=mipsisa64sb1el-unknown ;; d798 1 a798 1 sparclite-wrs | simso-wrs) d865 1 a865 1 basic_machine=alphaev5-cray a867 8 t90) basic_machine=t90-cray os=-unicos ;; tic4x | c4x*) basic_machine=tic4x-unknown os=-coff ;; a877 4 toad1) basic_machine=pdp10-xkl os=-tops20 ;; d902 2 a903 2 basic_machine=f301-fujitsu ;; d924 3 a926 2 xps | xps100) basic_machine=xps100-honeywell d928 2 a929 2 ymp) basic_machine=ymp-cray d932 3 d955 7 d981 1 a981 1 sh3 | sh4 | sh3eb | sh4eb | sh[1234]le | sh3ele) a983 3 sh64) basic_machine=sh64-unknown ;; d987 1 a987 1 cydra) d1002 4 d1068 1 a1068 1 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ d1071 1 a1071 3 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -microbsd*) a1082 2 -nto-qnx*) ;; d1084 1 a1084 1 os=`echo $os | sed -e 's|nto|nto-qnx|'` a1122 3 -atheos*) os=-atheos ;; a1128 3 -nova*) os=-rtmk-nova ;; d1130 1 a1130 1 os=-nextstep2 d1169 2 a1170 2 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) os=-mint a1202 1 # This must come before the *-dec entry. d1206 1 a1206 1 pdp11-*) a1232 3 or32-*) os=-coff ;; d1296 1 a1296 1 *-gould) d1299 1 a1299 1 *-highlevel) d1305 1 a1305 1 *-sgi) d1308 1 a1308 1 *-siemens) d1380 1 a1380 1 -vxsim* | -vxworks* | -windiss*) @