Changeset 539266 in git


Ignore:
Timestamp:
Jun 13, 2000, 1:21:33 PM (23 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', 'f6c3dc58b0df4bd712574325fe76d0626174ad97')
Children:
85d57c1753d2dd2eaff863e318ce184c3b664f8b
Parents:
72541b3aca5d1e3a1c0fa1b395ea23c7948ab0cd
Message:
gmp update


git-svn-id: file:///usr/local/Singular/svn/trunk@4446 2c84dea3-7e68-4137-9b89-c4e89433aadc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • config.guess

    r72541b r539266  
    11#! /bin/sh
    22# Attempt to guess a canonical system name.
    3 #   Copyright (C) 1992, 93, 94, 95, 1996 Free Software Foundation, Inc.
     3#
     4# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
     5# Free Software Foundation, Inc.
    46#
    57# This file is free software; you can redistribute it and/or modify it
     
    4951trap 'rm -f dummy.c dummy.o dummy; exit 1' 1 2 15
    5052
     53case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
     54    i?86:*:*:*)
     55        echo 'xwqilkn(){}' >dummy.c
     56        ${CC-cc} dummy.c -S 2>/dev/null
     57        if test "$?" = 0 ; then
     58            u=`grep xwqilkn dummy.s | head -1 | sed 's;[^_]*\([_]*\)xwqilkn;\1;'`
     59            cat <<EOF >dummy1.s
     60        .globl ${u}cpuid
     61${u}cpuid:
     62        pushl %esi
     63        pushl %ebx
     64        movl 16(%esp),%eax
     65        .word 0xa20f
     66        movl 12(%esp),%esi
     67        movl %ebx,(%esi)
     68        movl %edx,4(%esi)
     69        movl %ecx,8(%esi)
     70        popl %ebx
     71        popl %esi
     72        ret
     73EOF
     74            cat <<EOF >dummy2.c
     75main ()
     76{
     77  char vendor_string[13];
     78  char dummy_string[12];
     79  long fms;
     80  int family, model;
     81  char *modelstr;
     82
     83  cpuid (vendor_string, 0);
     84  vendor_string[12] = 0;
     85
     86  fms = cpuid (dummy_string, 1);
     87
     88  family = (fms >> 8) & 15;
     89  model = (fms >> 4) & 15;
     90
     91  modelstr = "i486";
     92  if (strcmp (vendor_string, "GenuineIntel") == 0)
     93    {
     94      switch (family)
     95        {
     96        case 5:
     97          if (model <= 2)
     98            modelstr = "pentium";
     99          else if (model >= 4)
     100            modelstr = "pentiummmx";
     101          break;
     102        case 6:
     103          if (model == 1)
     104            modelstr = "pentiumpro";
     105          else if (model <= 5)
     106            modelstr = "pentium2";
     107          else
     108            modelstr = "pentium3";
     109          break;
     110        }
     111    }
     112  else if (strcmp (vendor_string, "AuthenticAMD") == 0)
     113    {
     114      switch (family)
     115        {
     116        case 5:
     117          if (model <= 3)
     118            modelstr = "k5";
     119          else if (model <= 7)
     120            modelstr = "k6";
     121          else if (model <= 8)
     122            modelstr = "k62";
     123          else if (model <= 9)
     124            modelstr = "k63";
     125          break;
     126        case 6:
     127          modelstr = "athlon";
     128          break;
     129        }
     130    }
     131  else if (strcmp (vendor_string, "CyrixInstead") == 0)
     132    {
     133      /* Should recognize Cyrix' processors too.  */
     134    }
     135
     136  printf ("%s\n", modelstr);
     137  return 0;
     138}
     139EOF
     140            ${CC-cc} dummy1.s dummy2.c -o dummy 2>/dev/null
     141            if test "$?" = 0 ; then
     142                X86CPU=`./dummy`
     143            fi
     144        fi
     145
     146        # Default to believing uname -m if the program fails to compile or
     147        # run.  Will fail to run on 386 since cpuid was only added on 486.
     148        if test -z "$X86CPU"
     149        then
     150            X86CPU="$UNAME_MACHINE"
     151        fi
     152        rm -f dummy.c dummy.s dummy1.s dummy2.c dummy
     153  ;;
     154esac
     155
    51156# Note: order is significant - the case branches are not exclusive.
    52 
    53157case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
    54     alpha:OSF1:[VX]*:*)
    55         # After 1.2, OSF1 uses "V1.3" for uname -r.
    56         # After 4.x, OSF1 uses "X4.x" for uname -r.
    57         echo alpha-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VX]//'`
    58         exit 0 ;;
    59158    alpha:OSF1:*:*)
     159        if test $UNAME_RELEASE = "V4.0"; then
     160                UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
     161        fi
     162        # A Vn.n version is a released version.
     163        # A Tn.n version is a released field test version.
     164        # A Xn.n version is an unreleased experimental baselevel.
    60165        # 1.2 uses "1.2" for uname -r.
    61         echo alpha-dec-osf${UNAME_RELEASE}
    62         exit 0 ;;
     166        cat <<EOF >dummy.s
     167        .globl main
     168        .ent main
     169main:
     170        .frame \$30,0,\$26,0
     171        .prologue 0
     172        .long 0x47e03d80 # implver $0
     173        lda \$2,259
     174        .long 0x47e20c21 # amask $2,$1
     175        srl \$1,8,\$2
     176        sll \$2,2,\$2
     177        sll \$0,3,\$0
     178        addl \$1,\$0,\$0
     179        addl \$2,\$0,\$0
     180        ret \$31,(\$26),1
     181        .end main
     182EOF
     183        ${CC-cc} dummy.s -o dummy 2>/dev/null
     184        if test "$?" = 0 ; then
     185                ./dummy
     186                case "$?" in
     187                        7)
     188                                UNAME_MACHINE="alpha"
     189                                ;;
     190                        15)
     191                                UNAME_MACHINE="alphaev5"
     192                                ;;
     193                        14)
     194                                UNAME_MACHINE="alphaev56"
     195                                ;;
     196                        10)
     197                                UNAME_MACHINE="alphapca56"
     198                                ;;
     199                        16)
     200                                UNAME_MACHINE="alphaev6"
     201                                ;;
     202                esac
     203        fi
     204        rm -f dummy.s dummy
     205        echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr [[A-Z]] [[a-z]]`
     206        exit 0 ;;
     207    alpha:NetBSD:*:* | alpha:FreeBSD:*:*)
     208        cat <<EOF >dummy.s
     209        .globl main
     210        .ent main
     211main:
     212        .frame \$30,0,\$26,0
     213        .prologue 0
     214        .long 0x47e03d80 # implver $0
     215        lda \$2,259
     216        .long 0x47e20c21 # amask $2,$1
     217        srl \$1,8,\$2
     218        sll \$2,2,\$2
     219        sll \$0,3,\$0
     220        addl \$1,\$0,\$0
     221        addl \$2,\$0,\$0
     222        ret \$31,(\$26),1
     223        .end main
     224EOF
     225        ${CC-cc} dummy.s -o dummy 2>/dev/null
     226        if test "$?" = 0 ; then
     227                ./dummy
     228                case "$?" in
     229                        7)
     230                                UNAME_MACHINE="alpha"
     231                                ;;
     232                        15)
     233                                UNAME_MACHINE="alphaev5"
     234                                ;;
     235                        14)
     236                                UNAME_MACHINE="alphaev56"
     237                                ;;
     238                        10)
     239                                UNAME_MACHINE="alphapca56"
     240                                ;;
     241                        16)
     242                                UNAME_MACHINE="alphaev6"
     243                                ;;
     244                esac
     245        fi
     246        rm -f dummy.s dummy
     247        echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM}${UNAME_RELEASE} | sed -e 's/^[VTX]//' -e 's/[-(].*//' | tr [[A-Z]] [[a-z]]`
     248        exit 0 ;;
    63249    21064:Windows_NT:50:3)
    64250        echo alpha-dec-winnt3.5
     
    70256      echo m68k-cbm-netbsd${UNAME_RELEASE}
    71257      exit 0 ;;
     258    amiga:OpenBSD:*:*)
     259        echo m68k-unknown-openbsd${UNAME_RELEASE}
     260        exit 0 ;;
     261    arc64:OpenBSD:*:*)
     262        echo mips64el-unknown-openbsd${UNAME_RELEASE}
     263        exit 0 ;;
     264    arc:OpenBSD:*:*)
     265        echo mipsel-unknown-openbsd${UNAME_RELEASE}
     266        exit 0 ;;
     267    hkmips:OpenBSD:*:*)
     268        echo mips-unknown-openbsd${UNAME_RELEASE}
     269        exit 0 ;;
     270    pmax:OpenBSD:*:*)
     271        echo mipsel-unknown-openbsd${UNAME_RELEASE}
     272        exit 0 ;;
     273    sgi:OpenBSD:*:*)
     274        echo mips-unknown-openbsd${UNAME_RELEASE}
     275        exit 0 ;;
     276    wgrisc:OpenBSD:*:*)
     277        echo mipsel-unknown-openbsd${UNAME_RELEASE}
     278        exit 0 ;;
    72279    arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
    73280        echo arm-acorn-riscix${UNAME_RELEASE}
    74281        exit 0;;
    75     Pyramid*:OSx*:*:*)
     282    arm32:NetBSD:*:*)
     283        echo arm-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
     284        exit 0 ;;
     285    SR2?01:HI-UX/MPP:*:*)
     286        echo hppa1.1-hitachi-hiuxmpp
     287        exit 0;;
     288    Pyramid*:OSx*:*:*|MIS*:OSx*:*:*)
     289        # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
    76290        if test "`(/bin/universe) 2>/dev/null`" = att ; then
    77291                echo pyramid-pyramid-sysv3
     
    80294        fi
    81295        exit 0 ;;
    82     sun4*:SunOS:5.*:*)
     296    NILE:*:*:dcosx)
     297        echo pyramid-pyramid-svr4
     298        exit 0 ;;
     299    sun4[md]:SunOS:5.*:*)
     300        echo sparcv8-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
     301        exit 0 ;;
     302    sun4u:SunOS:5.*:*)
     303        echo sparcv9-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
     304        exit 0 ;;
     305    sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
    83306        echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
    84307        exit 0 ;;
    85308    i86pc:SunOS:5.*:*)
    86         echo i386-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
    87         exit 0 ;;
    88     sun4*:SunOS:6*:*)
    89         # According to config.sub, this is the proper way to canonicalize
    90         # SunOS6.  Hard to guess exactly what SunOS6 will be like, but
    91         # it's likely to be more like Solaris than SunOS4.
    92         echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
     309        echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
     310        exit 0 ;;
     311    sun4[md]:SunOS:*:*)
     312        case "`/usr/bin/arch -k`" in
     313            Series*|S4*)
     314                UNAME_RELEASE=`uname -v`
     315                ;;
     316        esac
     317        # Japanese Language versions have a version number like `4.1.3-JL'.
     318        echo sparcv8-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
    93319        exit 0 ;;
    94320    sun4*:SunOS:*:*)
     
    104330        echo m68k-sun-sunos${UNAME_RELEASE}
    105331        exit 0 ;;
     332    sun*:*:4.2BSD:*)
     333        UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
     334        test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
     335        case "`/bin/arch`" in
     336            sun3)
     337                echo m68k-sun-sunos${UNAME_RELEASE}
     338                ;;
     339            sun4)
     340                echo sparc-sun-sunos${UNAME_RELEASE}
     341                ;;
     342        esac
     343        exit 0 ;;
     344    aushp:SunOS:*:*)
     345        echo sparc-auspex-sunos${UNAME_RELEASE}
     346        exit 0 ;;
    106347    atari*:NetBSD:*:*)
    107348        echo m68k-atari-netbsd${UNAME_RELEASE}
    108349        exit 0 ;;
     350    atari*:OpenBSD:*:*)
     351        echo m68k-unknown-openbsd${UNAME_RELEASE}
     352        exit 0 ;;
    109353    sun3*:NetBSD:*:*)
    110354        echo m68k-sun-netbsd${UNAME_RELEASE}
    111355        exit 0 ;;
     356    sun3*:OpenBSD:*:*)
     357        echo m68k-unknown-openbsd${UNAME_RELEASE}
     358        exit 0 ;;
    112359    mac68k:NetBSD:*:*)
    113360        echo m68k-apple-netbsd${UNAME_RELEASE}
    114361        exit 0 ;;
     362    mac68k:OpenBSD:*:*)
     363        echo m68k-unknown-openbsd${UNAME_RELEASE}
     364        exit 0 ;;
     365    macppc:NetBSD:*:*)
     366        echo powerpc-apple-netbsd${UNAME_RELEASE}
     367        exit 0 ;;
     368    mvme68k:OpenBSD:*:*)
     369        echo m68k-unknown-openbsd${UNAME_RELEASE}
     370        exit 0 ;;
     371    mvme88k:OpenBSD:*:*)
     372        echo m88k-unknown-openbsd${UNAME_RELEASE}
     373        exit 0 ;;
     374    powerpc:machten:*:*)
     375        echo powerpc-apple-machten${UNAME_RELEASE}
     376        exit 0 ;;
     377    RISC*:Mach:*:*)
     378        echo mips-dec-mach_bsd4.3
     379        exit 0 ;;
    115380    RISC*:ULTRIX:*:*)
    116381        echo mips-dec-ultrix${UNAME_RELEASE}
     
    119384        echo vax-dec-ultrix${UNAME_RELEASE}
    120385        exit 0 ;;
    121     mips:*:4*:UMIPS)
    122         echo mips-mips-riscos4sysv
    123         exit 0 ;;
    124     mips:*:5*:RISCos)
     386    2020:CLIX:*:*)
     387        echo clipper-intergraph-clix${UNAME_RELEASE}
     388        exit 0 ;;
     389    mips:*:*:UMIPS | mips:*:*:RISCos)
     390        sed 's/^        //' << EOF >dummy.c
     391        int main (argc, argv) int argc; char **argv; {
     392        #if defined (host_mips) && defined (MIPSEB)
     393        #if defined (SYSTYPE_SYSV)
     394          printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
     395        #endif
     396        #if defined (SYSTYPE_SVR4)
     397          printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
     398        #endif
     399        #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
     400          printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
     401        #endif
     402        #endif
     403          exit (-1);
     404        }
     405EOF
     406        ${CC-cc} dummy.c -o dummy \
     407          && ./dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
     408          && rm dummy.c dummy && exit 0
     409        rm -f dummy.c dummy
    125410        echo mips-mips-riscos${UNAME_RELEASE}
    126411        exit 0 ;;
     
    139424    AViiON:dgux:*:*)
    140425        # DG/UX returns AViiON for all architectures
    141         UNAME_PROCESSOR=`uname -p`
    142         if [ $UNAME_PROCESSOR = mc88100 -o $UNAME_PROCESSOR = mc88100 ] ; then
     426        UNAME_PROCESSOR=`/usr/bin/uname -p`
     427        if [ $UNAME_PROCESSOR = mc88100 -o $UNAME_PROCESSOR = mc88110 ] ; then
    143428        if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx \
    144429             -o ${TARGET_BINARY_INTERFACE}x = x ] ; then
     
    166451        echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
    167452        exit 0 ;;
    168    ????????:AIX?:[12].1:2)   # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
     453    ????????:AIX?:[12].1:2)   # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
    169454        echo romp-ibm-aix      # uname -m gives an 8 hex-code CPU id
    170455        exit 0 ;;              # Note that: echo "'`uname -s`'" gives 'AIX '
    171     i[34]86:AIX:*:*)
     456    i?86:AIX:*:*)
    172457        echo i386-ibm-aix
    173458        exit 0 ;;
     
    195480        exit 0 ;;
    196481    *:AIX:*:4)
    197         if /usr/sbin/lsattr -EHl proc0 | grep POWER >/dev/null 2>&1; then
    198                 IBM_ARCH=rs6000
    199         else
    200                 IBM_ARCH=powerpc
    201         fi
     482        sed 's/^        //' << EOF >dummy.c
     483        #include <stdio.h>
     484        #include <sys/systemcfg.h>
     485        main ()
     486        {
     487          if (_system_configuration.architecture == POWER_RS
     488              || _system_configuration.implementation == POWER_601)
     489            puts ("power");
     490          else
     491            {
     492              if (_system_configuration.width == 64)
     493                puts ("powerpc64");
     494              else
     495                puts ("powerpc");
     496            }
     497          exit (0);
     498        }
     499EOF
     500        ${CC-cc} dummy.c -o dummy
     501        IBM_ARCH=`./dummy`
     502        rm -f dummy.c dummy
    202503        if [ -x /usr/bin/oslevel ] ; then
    203504                IBM_REV=`/usr/bin/oslevel`
     
    214515        exit 0 ;;
    215516    ibmrt:*BSD:*|romp-ibm:BSD:*)            # covers RT/PC NetBSD and
    216         echo romp-ibm-bsd${UNAME_RELEASE}   # 4.3 with uname added to 
     517        echo romp-ibm-bsd${UNAME_RELEASE}   # 4.3 with uname added to
    217518        exit 0 ;;                           # report: romp-ibm BSD 4.3
    218519    *:BOSX:*:*)
     
    232533            9000/31? )            HP_ARCH=m68000 ;;
    233534            9000/[34]?? )         HP_ARCH=m68k ;;
    234             9000/7?? | 9000/8?[679] ) HP_ARCH=hppa1.1 ;;
     535            9000/6?? )            HP_ARCH=hppa1.0 ;;
     536            9000/78? )            HP_ARCH=hppa2.0 ;;
     537            9000/7?? )            HP_ARCH=hppa1.1 ;;
     538            9000/8[67]1 | 9000/80[24] | 9000/8[10]0 | 9000/8[78]9 | 9000/893 )
     539                                  HP_ARCH=hppa2.0 ;;
     540            9000/8?[13679] )      HP_ARCH=hppa1.1 ;;
    235541            9000/8?? )            HP_ARCH=hppa1.0 ;;
    236542        esac
     
    280586        echo hppa1.0-hp-osf
    281587        exit 0 ;;
     588    i?86:OSF1:*:*)
     589        if [ -x /usr/sbin/sysversion ] ; then
     590            echo ${UNAME_MACHINE}-unknown-osf1mk
     591        else
     592            echo ${UNAME_MACHINE}-unknown-osf1
     593        fi
     594        exit 0 ;;
    282595    parisc*:Lites*:*:*)
    283596        echo hppa1.1-hp-lites
     
    307620        echo ymp-cray-unicos${UNAME_RELEASE}
    308621        exit 0 ;;
    309     CRAY*C90:*:*:*)
    310         echo c90-cray-unicos${UNAME_RELEASE}
     622    CRAY*[A-Z]90:*:*:*)
     623        echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
     624        | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
     625              -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/
     626        exit 0 ;;
     627    CRAY*TS:*:*:*)
     628        echo t90-cray-unicos${UNAME_RELEASE}
    311629        exit 0 ;;
    312630    CRAY-2:*:*:*)
    313631        echo cray2-cray-unicos
    314632        exit 0 ;;
     633    CRAY*T3D:*:*)
     634        echo alpha-cray-unicos
     635        exit 0 ;;
     636    CRAY*T3E:*:*)
     637        echo alphaev5-cray-unicos
     638        exit 0 ;;
     639    F300:UNIX_System_V:*:*)
     640        FUJITSU_SYS=`uname -p | tr [A-Z] [a-z] | sed -e 's/\///'`
     641        FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
     642        echo "f300-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
     643        exit 0 ;;
     644    F301:UNIX_System_V:*:*)
     645       echo f301-fujitsu-uxpv`echo $UNAME_RELEASE | sed 's/ .*//'`
     646       exit 0 ;;
    315647    hp3[0-9][05]:NetBSD:*:*)
    316648        echo m68k-hp-netbsd${UNAME_RELEASE}
    317649        exit 0 ;;
    318     i[34]86:BSD/386:*:* | *:BSD/OS:*:*)
    319         echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
     650    hp300:OpenBSD:*:*)
     651        echo m68k-unknown-openbsd${UNAME_RELEASE}
     652        exit 0 ;;
     653    i?86:BSD/386:*:* | *:BSD/OS:*:*)
     654        echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
     655        exit 0 ;;
     656    i386:FreeBSD:*:*)
     657        echo ${X86CPU}-pc-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
    320658        exit 0 ;;
    321659    *:FreeBSD:*:*)
    322660        echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
    323661        exit 0 ;;
     662    i386:NetBSD:*:*)
     663        echo ${X86CPU}-pc-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
     664        exit 0 ;;
    324665    *:NetBSD:*:*)
    325666        echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
    326667        exit 0 ;;
     668    i386:OpenBSD:*:*)
     669        echo ${X86CPU}-pc-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
     670        exit 0 ;;
     671    *:OpenBSD:*:*)
     672        echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
     673        exit 0 ;;
    327674    i*:CYGWIN*:*)
    328         echo i386-unknown-cygwin32
     675        echo ${UNAME_MACHINE}-pc-cygwin32
     676        exit 0 ;;
     677    i*:MINGW*:*)
     678        echo ${UNAME_MACHINE}-pc-mingw32
    329679        exit 0 ;;
    330680    p*:CYGWIN*:*)
    331681        echo powerpcle-unknown-cygwin32
    332682        exit 0 ;;
     683    prep*:SunOS:5.*:*)
     684        echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
     685        exit 0 ;;
    333686    *:GNU:*:*)
    334         echo `echo ${UNAME_MACHINE}|sed -e 's,/.*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
     687        echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
    335688        exit 0 ;;
    336689    *:Linux:*:*)
     690        # uname on the ARM produces all sorts of strangeness, and we need to
     691        # filter it out.
     692        case "$UNAME_MACHINE" in
     693          arm* | sa110*)              UNAME_MACHINE="arm" ;;
     694        esac
     695
    337696        # The BFD linker knows what the default object file format is, so
    338697        # first see if it will tell us.
    339698        ld_help_string=`ld --help 2>&1`
    340         if echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: elf_i[345]86"; then
    341           echo "${UNAME_MACHINE}-unknown-linux" ; exit 0
    342         elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: i[345]86linux"; then
    343           echo "${UNAME_MACHINE}-unknown-linuxaout" ; exit 0
    344         elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: i[345]86coff"; then
    345           echo "${UNAME_MACHINE}-unknown-linuxcoff" ; exit 0
    346         elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: m68kelf"; then
    347           echo "${UNAME_MACHINE}-unknown-linux" ; exit 0
    348         elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: m68klinux"; then
    349           echo "${UNAME_MACHINE}-unknown-linuxaout" ; exit 0
    350         elif test "${UNAME_MACHINE}" = "alpha" ; then
    351           echo alpha-unknown-linux ; exit 0
     699        ld_supported_emulations=`echo $ld_help_string \
     700                         | sed -ne '/supported emulations:/!d
     701                                    s/[         ][      ]*/ /g
     702                                    s/.*supported emulations: *//
     703                                    s/ .*//
     704                                    p'`
     705        case "$ld_supported_emulations" in
     706          i?86linux)  echo "${X86CPU}-pc-linux-gnuaout"      ; exit 0 ;;
     707          i?86coff)   echo "${X86CPU}-pc-linux-gnucoff"      ; exit 0 ;;
     708          sparclinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
     709          armlinux)   echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
     710          m68klinux)  echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
     711          elf32ppc)
     712                # Determine Lib Version
     713                cat >dummy.c <<EOF
     714#include <features.h>
     715#if defined(__GLIBC__)
     716extern char __libc_version[];
     717extern char __libc_release[];
     718#endif
     719main(argc, argv)
     720     int argc;
     721     char *argv[];
     722{
     723#if defined(__GLIBC__)
     724  printf("%s %s\n", __libc_version, __libc_release);
     725#else
     726  printf("unkown\n");
     727#endif
     728  return 0;
     729}
     730EOF
     731                LIBC=""
     732                ${CC-cc} dummy.c -o dummy 2>/dev/null
     733                if test "$?" = 0 ; then
     734                        ./dummy | grep 1\.99 > /dev/null
     735                        if test "$?" = 0 ; then
     736                                LIBC="libc1"
     737                        fi
     738                fi     
     739                rm -f dummy.c dummy
     740                echo powerpc-unknown-linux-gnu${LIBC} ; exit 0 ;;
     741        esac
     742
     743        if test "${UNAME_MACHINE}" = "alpha" ; then
     744                sed 's/^        //'  <<EOF >dummy.s
     745                .globl main
     746                .ent main
     747        main:
     748                .frame \$30,0,\$26,0
     749                .prologue 0
     750                .long 0x47e03d80 # implver $0
     751                lda \$2,259
     752                .long 0x47e20c21 # amask $2,$1
     753                srl \$1,8,\$2
     754                sll \$2,2,\$2
     755                sll \$0,3,\$0
     756                addl \$1,\$0,\$0
     757                addl \$2,\$0,\$0
     758                ret \$31,(\$26),1
     759                .end main
     760EOF
     761                LIBC=""
     762                ${CC-cc} dummy.s -o dummy 2>/dev/null
     763                if test "$?" = 0 ; then
     764                        ./dummy
     765                        case "$?" in
     766                        7)
     767                                UNAME_MACHINE="alpha"
     768                                ;;
     769                        15)
     770                                UNAME_MACHINE="alphaev5"
     771                                ;;
     772                        14)
     773                                UNAME_MACHINE="alphaev56"
     774                                ;;
     775                        10)
     776                                UNAME_MACHINE="alphapca56"
     777                                ;;
     778                        16)
     779                                UNAME_MACHINE="alphaev6"
     780                                ;;
     781                        esac   
     782
     783                        objdump --private-headers dummy | \
     784                          grep ld.so.1 > /dev/null
     785                        if test "$?" = 0 ; then
     786                                LIBC="libc1"
     787                        fi
     788                fi     
     789                rm -f dummy.s dummy
     790                echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} ; exit 0
     791        elif test "${UNAME_MACHINE}" = "mips" ; then
     792          cat >dummy.c <<EOF
     793main(argc, argv)
     794     int argc;
     795     char *argv[];
     796{
     797#ifdef __MIPSEB__
     798  printf ("%s-unknown-linux-gnu\n", argv[1]);
     799#endif
     800#ifdef __MIPSEL__
     801  printf ("%sel-unknown-linux-gnu\n", argv[1]);
     802#endif
     803  return 0;
     804}
     805EOF
     806          ${CC-cc} dummy.c -o dummy 2>/dev/null && ./dummy "${UNAME_MACHINE}" && rm dummy.c dummy && exit 0
     807          rm -f dummy.c dummy
    352808        else
    353           # Either a pre-BFD a.out linker (linuxoldld) or one that does not give us
    354           # useful --help.  Gcc wants to distinguish between linuxoldld and linuxaout.
    355           test ! -d /usr/lib/ldscripts/. \
    356             && echo "${UNAME_MACHINE}-unknown-linuxoldld" && exit 0
     809          # Either a pre-BFD a.out linker (linux-gnuoldld)
     810          # or one that does not give us useful --help.
     811          # GCC wants to distinguish between linux-gnuoldld and linux-gnuaout.
     812          # If ld does not provide *any* "supported emulations:"
     813          # that means it is gnuoldld.
     814          echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations:"
     815          test $? != 0 && echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0
     816
     817          case "${UNAME_MACHINE}" in
     818          i?86)
     819            VENDOR=pc;
     820            UNAME_MACHINE=${X86CPU}
     821            ;;
     822          *)
     823            VENDOR=unknown;
     824            ;;
     825          esac
    357826          # Determine whether the default compiler is a.out or elf
    358827          cat >dummy.c <<EOF
     828#include <features.h>
    359829main(argc, argv)
    360 int argc;
    361 char *argv[];
     830     int argc;
     831     char *argv[];
    362832{
    363833#ifdef __ELF__
    364   printf ("%s-unknown-linux\n", argv[1]);
     834# ifdef __GLIBC__
     835#  if __GLIBC__ >= 2
     836    printf ("%s-${VENDOR}-linux-gnu\n", argv[1]);
     837#  else
     838    printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]);
     839#  endif
     840# else
     841   printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]);
     842# endif
    365843#else
    366   printf ("%s-unknown-linuxaout\n", argv[1]);
     844  printf ("%s-${VENDOR}-linux-gnuaout\n", argv[1]);
    367845#endif
    368846  return 0;
     
    374852# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.  earlier versions
    375853# are messed up and put the nodename in both sysname and nodename.
    376     i[34]86:DYNIX/ptx:4*:*)
     854    i?86:DYNIX/ptx:4*:*)
    377855        echo i386-sequent-sysv4
    378856        exit 0 ;;
    379     i[34]86:*:4.*:* | i[34]86:SYSTEM_V:4.*:*)
     857    i?86:UNIX_SV:4.2MP:2.*)
     858        # Unixware is an offshoot of SVR4, but it has its own version
     859        # number series starting with 2...
     860        # I am not positive that other SVR4 systems won't match this,
     861        # I just have to hope.  -- rms.
     862        # Use sysv4.2uw... so that sysv4* matches it.
     863        echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
     864        exit 0 ;;
     865    i?86:*:4.*:* | i?86:SYSTEM_V:4.*:*)
    380866        if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
    381867                echo ${UNAME_MACHINE}-univel-sysv${UNAME_RELEASE}
    382868        else
    383                 echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}
    384         fi
    385         exit 0 ;;
    386     i[34]86:*:3.2:*)
     869                echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE}
     870        fi
     871        exit 0 ;;
     872    i?86:*:5:7)
     873       UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
     874       (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
     875       (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
     876               && UNAME_MACHINE=i586
     877       (/bin/uname -X|egrep '^Machine.*PentII' >/dev/null) \
     878               && UNAME_MACHINE=i686
     879       (/bin/uname -X|egrep '^Machine.*Pentium Pro' >/dev/null) \
     880               && UNAME_MACHINE=i686
     881       echo ${UNAME_MACHINE}-${UNAME_SYSTEM}${UNAME_VERSION}-sysv${UNAME_RELEASE}
     882       exit 0 ;;
     883    i?86:*:3.2:*)
    387884        if test -f /usr/options/cb.name; then
    388885                UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
    389                 echo ${UNAME_MACHINE}-unknown-isc$UNAME_REL
     886                echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
    390887        elif /bin/uname -X 2>/dev/null >/dev/null ; then
    391888                UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
     
    393890                (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
    394891                        && UNAME_MACHINE=i586
    395                 echo ${UNAME_MACHINE}-unknown-sco$UNAME_REL
     892                (/bin/uname -X|egrep '^Machine.*PentII' >/dev/null) \
     893                        && UNAME_MACHINE=i686
     894                (/bin/uname -X|egrep '^Machine.*Pentium Pro' >/dev/null) \
     895                        && UNAME_MACHINE=i686
     896                echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
    396897        else
    397                 echo ${UNAME_MACHINE}-unknown-sysv32
    398         fi
    399         exit 0 ;;
     898                echo ${UNAME_MACHINE}-pc-sysv32
     899        fi
     900        exit 0 ;;
     901    pc:*:*:*)
     902        # uname -m prints for DJGPP always 'pc', but it prints nothing about
     903        # the processor, so we play safe by assuming i386.
     904        echo i386-pc-msdosdjgpp
     905        exit 0 ;;
    400906    Intel:Mach:3*:*)
    401         echo i386-unknown-mach3
     907        echo i386-pc-mach3
    402908        exit 0 ;;
    403909    paragon:*:*:*)
     
    415921        echo m68010-convergent-sysv
    416922        exit 0 ;;
    417     M680[234]0:*:R3V[567]*:*)
     923    M68*:*:R3V[567]*:*)
    418924        test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
    419     3[34]??:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0)
    420         uname -p 2>/dev/null | grep 86 >/dev/null \
    421           && echo i486-ncr-sysv4.3 && exit 0 ;;
     925    3[34]??:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0)
     926        OS_REL=''
     927        test -r /etc/.relid \
     928        && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
     929        /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
     930          && echo i486-ncr-sysv4.3${OS_REL} && exit 0
     931        /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
     932          && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;;
    422933    3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
    423         uname -p 2>/dev/null | grep 86 >/dev/null \
     934        /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
    424935          && echo i486-ncr-sysv4 && exit 0 ;;
    425     m680[234]0:LynxOS:2.[23]*:*)
    426         echo m68k-lynx-lynxos${UNAME_RELEASE}
     936    m68*:LynxOS:2.*:*)
     937        echo m68k-unknown-lynxos${UNAME_RELEASE}
    427938        exit 0 ;;
    428939    mc68030:UNIX_System_V:4.*:*)
    429940        echo m68k-atari-sysv4
    430941        exit 0 ;;
    431     i[34]86:LynxOS:2.[23]*:*)
    432         echo i386-lynx-lynxos${UNAME_RELEASE}
    433         exit 0 ;;
    434     TSUNAMI:LynxOS:2.[23]*:*)
    435         echo sparc-lynx-lynxos${UNAME_RELEASE}
    436         exit 0 ;;
    437     rs6000:LynxOS:2.[23]*:*)
    438         echo rs6000-lynx-lynxos${UNAME_RELEASE}
     942    i?86:LynxOS:2.*:*)
     943        echo i386-unknown-lynxos${UNAME_RELEASE}
     944        exit 0 ;;
     945    TSUNAMI:LynxOS:2.*:*)
     946        echo sparc-unknown-lynxos${UNAME_RELEASE}
     947        exit 0 ;;
     948    rs6000:LynxOS:2.*:* | PowerPC:LynxOS:2.*:*)
     949        echo rs6000-unknown-lynxos${UNAME_RELEASE}
     950        exit 0 ;;
     951    SM[BE]S:UNIX_SV:*:*)
     952        echo mips-dde-sysv${UNAME_RELEASE}
    439953        exit 0 ;;
    440954    RM*:SINIX-*:*:*)
     
    449963        fi
    450964        exit 0 ;;
     965    PENTIUM:CPunix:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
     966                           # says <Richard.M.Bartel@ccMail.Census.GOV>
     967        echo i586-unisys-sysv4
     968        exit 0 ;;
     969    *:UNIX_System_V:4*:FTX*)
     970        # From Gerald Hewes <hewes@openmarket.com>.
     971        # How about differentiating between stratus architectures? -djm
     972        echo hppa1.1-stratus-sysv4
     973        exit 0 ;;
     974    *:*:*:FTX*)
     975        # From seanf@swdc.stratus.com.
     976        echo i860-stratus-sysv4
     977        exit 0 ;;
    451978    mc68*:A/UX:*:*)
    452979        echo m68k-apple-aux${UNAME_RELEASE}
     980        exit 0 ;;
     981    news*:NEWS-OS:*:6*)
     982        echo mips-sony-newsos6
     983        exit 0 ;;
     984    R3000:*System_V*:*:* | R4000:UNIX_SYSV:*:*)
     985        if [ -d /usr/nec ]; then
     986                echo mips-nec-sysv${UNAME_RELEASE}
     987        else
     988                echo mips-unknown-sysv${UNAME_RELEASE}
     989        fi
     990        exit 0 ;;
     991    BeBox:BeOS:*:*)     # BeOS running on hardware made by Be, PPC only.
     992        echo powerpc-be-beos
     993        exit 0 ;;
     994    BeMac:BeOS:*:*)     # BeOS running on Mac or Mac clone, PPC only.
     995        echo powerpc-apple-beos
    453996        exit 0 ;;
    454997esac
     
    4951038  int version;
    4961039  version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
    497   printf ("%s-next-nextstep%s\n", __ARCHITECTURE__,  version==2 ? "2" : "3");
     1040  printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
    4981041  exit (0);
    4991042#endif
     
    5121055
    5131056#if defined (__386BSD__)
    514   printf ("i386-unknown-bsd\n"); exit (0);
     1057  printf ("i386-pc-bsd\n"); exit (0);
    5151058#endif
    5161059
  • config.sub

    r72541b r539266  
    11#! /bin/sh
    22# Configuration validation subroutine script, version 1.1.
    3 #   Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
     3#
     4#   Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1999, 2000
     5#   Free Software Foundation, Inc.
     6#
    47# This file is (in principle) common to ALL GNU software.
    58# The presence of a machine in this file suggests that SOME GNU software
    6 # can handle that machine.  It does not imply ALL GNU software can. 
     9# can handle that machine.  It does not imply ALL GNU software can.
    710#
    811# This file is free software; you can redistribute it and/or modify
     
    4245# machine specification into a single specification in the form:
    4346#       CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
     47# or in some cases, the newer four-part form:
     48#       CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
    4449# It is wrong to echo any other type of specification.
    4550
     
    6368esac
    6469
    65 # Separate what the user gave into CPU-COMPANY and OS (if any).
    66 basic_machine=`echo $1 | sed 's/-[^-]*$//'`
    67 if [ $basic_machine != $1 ]
    68 then os=`echo $1 | sed 's/.*-/-/'`
    69 else os=; fi
     70# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
     71# Here we must recognize all the valid KERNEL-OS combinations.
     72maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
     73case $maybe_os in
     74  linux-gnu*)
     75    os=-$maybe_os
     76    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
     77    ;;
     78  *)
     79    basic_machine=`echo $1 | sed 's/-[^-]*$//'`
     80    if [ $basic_machine != $1 ]
     81    then os=`echo $1 | sed 's/.*-/-/'`
     82    else os=; fi
     83    ;;
     84esac
    7085
    7186### Let's recognize common machines as not being operating systems so
     
    8297        -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
    8398        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
    84         -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp )
     99        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
     100        -apple)
    85101                os=
    86102                basic_machine=$1
    87103                ;;
    88         -sim | -cisco | -oki | -wec | -winbond )        # CYGNUS LOCAL
    89                 os=
    90                 basic_machine=$1
    91                 ;;
    92         -apple*)                                        # CYGNUS LOCAL
    93                 os=
    94                 basic_machine=$1
    95                 ;;
    96         -scout)                                         # CYGNUS LOCAL
    97                 ;;
    98         -wrs)                                           # CYGNUS LOCAL
    99                 os=vxworks
    100                 basic_machine=$1
    101                 ;;
    102104        -hiux*)
    103105                os=-hiuxwe2
    104106                ;;
     107        -sco5)
     108                os=sco3.2v5
     109                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
     110                ;;
    105111        -sco4)
    106112                os=-sco3.2v4
    107                 basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
     113                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
    108114                ;;
    109115        -sco3.2.[4-9]*)
    110116                os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
    111                 basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
     117                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
    112118                ;;
    113119        -sco3.2v[4-9]*)
    114120                # Don't forget version if it is 3.2v4 or newer.
    115                 basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
     121                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
    116122                ;;
    117123        -sco*)
    118124                os=-sco3.2v2
    119                 basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
     125                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
    120126                ;;
    121127        -isc)
    122128                os=-isc2.2
    123                 basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
     129                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
    124130                ;;
    125131        -clix*)
     
    127133                ;;
    128134        -isc*)
    129                 basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
     135                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
    130136                ;;
    131137        -lynx*)
     
    137143        -windowsnt*)
    138144                os=`echo $os | sed -e 's/windowsnt/winnt/'`
     145                ;;
     146        -psos*)
     147                os=-psos
    139148                ;;
    140149esac
     
    144153        # Recognize the basic CPU types without company name.
    145154        # Some are omitted here because they have special meanings below.
    146         tahoe | i[345]86 | i860 | m68k | m68000 | m88k | ns32k | arm | armeb \
    147                 | armel | pyramid \
    148                 | tron | a29k | 580 | i960 | h8300 | hppa1.0 | hppa1.1 \
    149                 | alpha | we32k | ns16k | clipper | sparclite | i370 | sh \
    150                 | powerpc | powerpcle | sparc64 | 1750a | dsp16xx | mips64 | mipsel \
    151                 | pdp11 | mips64el | mips64orion | mips64orionel \
    152                 | sparc | supersparc | microsparc | ultrasparc)
     155        tahoe | i860 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \
     156                | arme[lb] | pyramid | mn10200 | mn10300 \
     157                | tron | a29k | 580 | i960 | h8300 | hppa | hppa1.0 | hppa1.1 \
     158                | hppa2.0 \
     159                | alpha | alphaev5 | alphaev56 | ev6 | we32k | ns16k | clipper \
     160                | i370 | sh | powerpc | powerpcle | powerpc64 | 1750a | dsp16xx | pdp11 \
     161                | mips64 | mipsel | mips64el | mips64orion | mips64orionel \
     162                | mipstx39 | mipstx39el \
     163                | sparc | sparclet | sparclite | sparc64 | v850)
    153164                basic_machine=$basic_machine-unknown
    154165                ;;
    155         m88110 | m680[012346]0 | m683?2 | m68360 | z8k | v70 | h8500 | w65) # CYGNUS LOCAL
     166        sparcv[89] | supersparc | microsparc | ultrasparc)
    156167                basic_machine=$basic_machine-unknown
    157168                ;;
    158         mips64vr4300 | mips64vr4300el) # CYGNUS LOCAL jsmith
    159                 basic_machine=$basic_machine-unknown
    160                 ;;
     169        # We use `pc' rather than `unknown'
     170        # because (1) that's what they normally are, and
     171        # (2) the word "unknown" tends to confuse beginning users.
     172        i[34]86 | pentium[23] | k5 | k6 | k6[23] | athlon)
     173          basic_machine=$basic_machine-pc
     174          ;;
    161175        # Object if more than one company name word.
    162176        *-*-*)
     
    165179                ;;
    166180        # Recognize the basic CPU types with company name.
    167         vax-* | tahoe-* | i[3456]86-* | i860-* | m68k-* | m68000-* | m88k-* \
    168               | sparc-* | ns32k-* | fx80-* | arm-* | arme[lb]-* | c[123]* \
    169               | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* | power-* \
    170               | none-* | 580-* | cray2-* | h8300-* | i960-* | xmp-* | ymp-* \
    171               | hppa1.0-* | hppa1.1-* | alpha-* | we32k-* | cydra-* | ns16k-* \
    172               | pn-* | np1-* | xps100-* | clipper-* | orion-* | sparclite-* \
    173               | pdp11-* | sh-* | powerpc-* | powerpcle-* | sparc64-* \
    174               | mips64-* | mipsel-* | mips64el-* | mips64orion-* \
    175               | mips64orionel-* | supersparc-* | microsparc-* | ultrasparc-*)
    176                 ;;
    177         m88110-* | m680[012346]0-* | m683?2-* | m68360-* | z8k-* | h8500-*) # CYGNUS LOCAL
    178                 ;;
    179         mips64vr4300-* | mips64vr4300el-*) # CYGNUS LOCAL jsmith
     181        vax-* | tahoe-* | i[34]86-* | pentium[23]-* | i860-* | m32r-* | m68k-* | m68000-* \
     182              | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \
     183              | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
     184              | power-* | none-* | 580-* | cray2-* | h8300-* | i960-* \
     185              | xmp-* | ymp-* | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* \
     186              | alpha-* | alphaev5-* | alphaev56-* | alphaev6-* | we32k-* | cydra-* \
     187              | ns16k-* | pn-* | np1-* | xps100-* | clipper-* | orion-* \
     188              | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* | powerpc64-* \
     189              | sparc64-* | mips64-* | mipsel-* \
     190              | mips64el-* | mips64orion-* | mips64orionel-*  \
     191              | mipstx39-* | mipstx39el-* \
     192              | f301-* | k6-* | k6[23]-* | athlon-*)
     193                ;;
     194        sparcv[89]-* | supersparc-* | microsparc-* | ultrasparc-*)
    180195                ;;
    181196        # Recognize the various machine names and aliases which stand
    182197        # for a CPU type and a company and sometimes even an OS.
    183         386bsd)                                         # CYGNUS LOCAL
    184                 basic_machine=i386-unknown
    185                 os=-bsd
    186                 ;;
    187198        3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
    188199                basic_machine=m68000-att
     
    191202                basic_machine=we32k-att
    192203                ;;
    193         a29khif)                                        # CYGNUS LOCAL
    194                 basic_machine=a29k-amd
    195                 os=-udi
    196                 ;;
    197         adobe68k)                                       # CYGNUS LOCAL
    198                 basic_machine=m68010-adobe
    199                 os=-scout
    200                 ;;
    201204        alliant | fx80)
    202205                basic_machine=fx80-alliant
     
    216219                basic_machine=m68k-cbm
    217220                ;;
    218         amigados)
     221        amigaos | amigados)
    219222                basic_machine=m68k-cbm
    220                 os=-amigados
     223                os=-amigaos
    221224                ;;
    222225        amigaunix | amix)
     
    228231                os=-sysv
    229232                ;;
    230         apollo68bsd)                                    # CYGNUS LOCAL
    231                 basic_machine=m68k-apollo
    232                 os=-bsd
    233                 ;;
    234         arm | armel | armeb)
    235                 basic_machine=arm-arm
    236                 os=-aout
     233        aux)
     234                basic_machine=m68k-apple
     235                os=-aux
    237236                ;;
    238237        balance)
     
    240239                os=-dynix
    241240                ;;
     241        convex-c1)
     242                basic_machine=c1-convex
     243                os=-bsd
     244                ;;
     245        convex-c2)
     246                basic_machine=c2-convex
     247                os=-bsd
     248                ;;
     249        convex-c32)
     250                basic_machine=c32-convex
     251                os=-bsd
     252                ;;
     253        convex-c34)
     254                basic_machine=c34-convex
     255                os=-bsd
     256                ;;
     257        convex-c38)
     258                basic_machine=c38-convex
     259                os=-bsd
     260                ;;
     261        cray | ymp)
     262                basic_machine=ymp-cray
     263                os=-unicos
     264                ;;
     265        cray2)
     266                basic_machine=cray2-cray
     267                os=-unicos
     268                ;;
    242269        [ctj]90-cray)
    243270                basic_machine=c90-cray
    244271                os=-unicos
    245272                ;;
    246         convex-c1)
    247                 basic_machine=c1-convex
    248                 os=-bsd
    249                 ;;
    250         convex-c2)
    251                 basic_machine=c2-convex
    252                 os=-bsd
    253                 ;;
    254         convex-c32)
    255                 basic_machine=c32-convex
    256                 os=-bsd
    257                 ;;
    258         convex-c34)
    259                 basic_machine=c34-convex
    260                 os=-bsd
    261                 ;;
    262         convex-c38)
    263                 basic_machine=c38-convex
    264                 os=-bsd
    265                 ;;
    266         cray | ymp)
    267                 basic_machine=ymp-cray
    268                 os=-unicos
    269                 ;;
    270         cray2)
    271                 basic_machine=cray2-cray
    272                 os=-unicos
    273                 ;;
    274273        crds | unos)
    275274                basic_machine=m68k-crds
     
    308307                basic_machine=ns32k-encore
    309308                ;;
    310         es1800 | OSE68k | ose68k | ose | OSE)           # CYGNUS LOCAL
    311                 basic_machine=m68k-ericsson
    312                 os=-ose
    313                 ;;
    314309        fx2800)
    315310                basic_machine=i860-alliant
     
    330325                os=-hms
    331326                ;;
    332         h8300xray)                                      # CYGNUS LOCAL
    333                 basic_machine=h8300-hitachi
    334                 os=-xray
    335                 ;;
    336         h8500hms)                                       # CYGNUS LOCAL
    337                 basic_machine=h8500-hitachi
    338                 os=-hms
    339                 ;;
    340327        harris)
    341328                basic_machine=m88k-harris
     
    353340                os=-hpux
    354341                ;;
    355         w89k-*)                                         # CYGNUS LOCAL
    356                 basic_machine=hppa1.1-winbond
    357                 os=-proelf
    358                 ;;
    359         op50n-*)                                        # CYGNUS LOCAL
    360                 basic_machine=hppa1.1-oki
    361                 os=-proelf
    362                 ;;
    363         op60c-*)                                        # CYGNUS LOCAL
    364                 basic_machine=hppa1.1-oki
    365                 os=-proelf
    366                 ;;
    367         hppro)                                          # CYGNUS LOCAL
    368                 basic_machine=hppa1.1-hp
    369                 os=-proelf
    370                 ;;
    371342        hp9k2[0-9][0-9] | hp9k31[0-9])
    372343                basic_machine=m68000-hp
     
    381352                basic_machine=hppa1.0-hp
    382353                ;;
    383         hppaosf)                                        # CYGNUS LOCAL
    384                 basic_machine=hppa1.1-hp
    385                 os=-osf
     354        hppa-next)
     355                os=-nextstep3
    386356                ;;
    387357        i370-ibm* | ibm*)
     
    391361# I'm not sure what "Sysv32" means.  Should this be sysv3.2?
    392362        i[3456]86v32)
    393                 basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'`
     363                basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
    394364                os=-sysv32
    395365                ;;
    396366        i[3456]86v4*)
    397                 basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'`
     367                basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
    398368                os=-sysv4
    399369                ;;
    400370        i[3456]86v)
    401                 basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'`
     371                basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
    402372                os=-sysv
    403373                ;;
    404374        i[3456]86sol2)
    405                 basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'`
     375                basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
    406376                os=-solaris2
    407                 ;;
    408         i386mach)                                       # CYGNUS LOCAL
    409                 basic_machine=i386-mach
    410                 os=-mach
    411                 ;;
    412         i386-vsta | vsta)                               # CYGNUS LOCAL
    413                 basic_machine=i386-unknown
    414                 os=-vsta
    415                 ;;
    416         i386-go32 | go32)                               # CYGNUS LOCAL
    417                 basic_machine=i386-unknown
    418                 os=-go32
    419377                ;;
    420378        iris | iris4d)
     
    432390                os=-sysv
    433391                ;;
     392        macppc*)
     393                basic_machine=powerpc-apple
     394                ;;
    434395        m88k-omron*)
    435396                basic_machine=m88k-omron
     
    446407                basic_machine=m68000-convergent
    447408                ;;
     409        mipsel*-linux*)
     410                basic_machine=mipsel-unknown
     411                os=-linux-gnu
     412                ;;
     413        mips*-linux*)
     414                basic_machine=mips-unknown
     415                os=-linux-gnu
     416                ;;
    448417        mips3*-*)
    449418                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
     
    451420        mips3*)
    452421                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
    453                 ;;
    454         monitor)                                        # CYGNUS LOCAL
    455                 basic_machine=m68k-rom68k
    456                 os=-coff
    457                 ;;
    458         msdos)                                          # CYGNUS LOCAL
    459                 basic_machine=i386-unknown     
    460                 os=-msdos
    461422                ;;
    462423        ncr3000)
     
    464425                os=-sysv4
    465426                ;;
    466         netbsd386)
    467                 basic_machine=i386-unknown              # CYGNUS LOCAL
    468                 os=-netbsd
    469                 ;;
    470427        news | news700 | news800 | news900)
    471428                basic_machine=m68k-sony
     
    479436                basic_machine=mips-sony
    480437                os=-newsos
    481                 ;;
    482         necv70)                                         # CYGNUS LOCAL
    483                 basic_machine=v70-nec
    484                 os=-sysv
    485438                ;;
    486439        next | m*-next )
     
    512465                basic_machine=np1-gould
    513466                ;;
    514         OSE68000 | ose68000)                            # CYGNUS LOCAL
    515                 basic_machine=m68000-ericsson
    516                 os=-ose
    517                 ;;
    518         os68k)                                          # CYGNUS LOCAL
    519                 basic_machine=m68k-none
    520                 os=-os68k
    521                 ;;
    522467        pa-hitachi)
    523468                basic_machine=hppa1.1-hitachi
     
    537482                basic_machine=ns32k-pc532
    538483                ;;
    539         pentium | p5)
    540                 basic_machine=i586-intel
     484        pentiummmx | p55)
     485                basic_machine=pentiummmx-pc
     486                ;;
     487        pentium | p5 | i586)
     488                basic_machine=pentium-pc
    541489                ;;
    542490        pentiumpro | p6)
    543                 basic_machine=i686-intel
    544                 ;;
    545         pentium-* | p5-*)
    546                 basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
     491                basic_machine=pentiumpro-pc
     492                ;;
     493        pentiummmx-* | p55-*)
     494                basic_machine=pentiummmx-`echo $basic_machine | sed 's/^[^-]*-//'`
     495                ;;
     496        pentium-* | p5-* | i586-*)
     497                basic_machine=pentium-`echo $basic_machine | sed 's/^[^-]*-//'`
    547498                ;;
    548499        pentiumpro-* | p6-*)
    549                 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
    550                 ;;
    551         k5)
    552                 # We don't have specific support for AMD's K5 yet, so just call it a Pentium
    553                 basic_machine=i586-amd
    554                 ;;
    555         nexgen)
     500                basic_machine=pentiumpro-`echo $basic_machine | sed 's/^[^-]*-//'`
     501                ;;
     502        nexen)
    556503                # We don't have specific support for Nexgen yet, so just call it a Pentium
    557504                basic_machine=i586-nexgen
     
    565512                ;;
    566513        ppc-*)  basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
     514                ;;
     515        ppc64)  basic_machine=powerpc64-unknown
     516                ;;
     517        ppc64-*)
     518                basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
    567519                ;;
    568520        ppcle | powerpclittle | ppc-le | powerpc-little)
     
    575527                basic_machine=i386-ibm
    576528                ;;
    577         rom68k)                                         # CYGNUS LOCAL
    578                 basic_machine=m68k-rom68k
    579                 os=-coff
    580                 ;;
    581529        rm[46]00)
    582530                basic_machine=mips-siemens
     
    584532        rtpc | rtpc-*)
    585533                basic_machine=romp-ibm
    586                 ;;
    587         sa29200)                                        # CYGNUS LOCAL
    588                 basic_machine=a29k-amd
    589                 os=-udi
    590534                ;;
    591535        sequent)
     
    596540                os=-hms
    597541                ;;
    598         sparclite-wrs)                                  # CYGNUS LOCAL
    599                 basic_machine=sparclite-wrs
    600                 os=-vxworks
    601                 ;;
    602         sparcfrw)                                       # CYGNUS LOCAL
    603                 basic_machine=sparcfrw-sun
    604                 os=-sunos4
    605                 ;;
    606         sparcfrwcompat)                                 # CYGNUS LOCAL
    607                 basic_machine=sparcfrwcompat-sun
    608                 os=-sunos4
    609                 ;;
    610         sparclitefrw)                                   # CYGNUS LOCAL
    611                 basic_machine=sparclitefrw-fujitsu
    612                 ;;
    613         sparclitefrwcompat)                             # CYGNUS LOCAL
    614                 basic_machine=sparclitefrwcompat-fujitsu
    615                 ;;
    616542        sps7)
    617543                basic_machine=m68k-bull
     
    621547                basic_machine=spur-unknown
    622548                ;;
    623         st2000)                                         # CYGNUS LOCAL
    624                 basic_machine=m68k-tandem
    625                 ;;
    626         stratus)                                        # CYGNUS LOCAL
    627                 basic_machine=i860-stratus
    628                 os=-sysv4
    629                 ;;
    630549        sun2)
    631550                basic_machine=m68000-sun
     
    672591                os=-dynix
    673592                ;;
     593        tx39)
     594                basic_machine=mipstx39-unknown
     595                ;;
     596        tx39el)
     597                basic_machine=mipstx39el-unknown
     598                ;;
    674599        tower | tower-32)
    675600                basic_machine=m68k-ncr
     
    683608                os=-sym1
    684609                ;;
    685         v810 | necv810)                                 # CYGNUS LOCAL
    686                 basic_machine=v810-nec
    687                 os=-none
    688                 ;;
    689610        vaxv)
    690611                basic_machine=vax-dec
     
    695616                os=-vms
    696617                ;;
     618        vpp*|vx|vx-*)
     619               basic_machine=f301-fujitsu
     620               ;;
    697621        vxworks960)
    698622                basic_machine=i960-wrs
     
    703627                os=-vxworks
    704628                ;;
    705         vxworks29k)                                     # CYGNUS LOCAL
    706                 basic_machine=a29k-wrs
    707                 os=-vxworks
    708                 ;;
    709         w65*)                                           # CYGNUS LOCAL
    710                 basic_machine=w65-wdc
    711                 os=-none
     629        vxworks29k)
     630                basic_machine=a29k-wrs
     631                os=-vxworks
    712632                ;;
    713633        xmp)
     
    718638                basic_machine=xps100-honeywell
    719639                ;;
    720         z8k-*-coff)                                     # CYGNUS LOCAL
    721                 basic_machine=z8k-unknown
    722                 os=-sim
    723                 ;;
    724640        none)
    725641                basic_machine=none-none
     
    729645# Here we handle the default manufacturer of certain CPU types.  It is in
    730646# some cases the only manufacturer, in others, it is the most popular.
    731         w89k)                                           # CYGNUS LOCAL
    732                 basic_machine=hppa1.1-winbond
    733                 ;;
    734         op50n)                                          # CYGNUS LOCAL
    735                 basic_machine=hppa1.1-oki
    736                 ;;
    737         op60c)                                          # CYGNUS LOCAL
    738                 basic_machine=hppa1.1-oki
    739                 ;;
    740647        mips)
    741                 basic_machine=mips-mips
     648                if [ x$os = x-linux-gnu ]; then
     649                        basic_machine=mips-unknown
     650                else
     651                        basic_machine=mips-mips
     652                fi
    742653                ;;
    743654        romp)
     
    767678        orion105)
    768679                basic_machine=clipper-highlevel
    769                 ;;
    770         mac | mpw | mac-mpw)                            # CYGNUS LOCAL
    771                 basic_machine=m68k-apple
    772                 ;;
    773         pmac | pmac-mpw)                                # CYGNUS LOCAL
    774                 basic_machine=powerpc-apple
    775680                ;;
    776681        *)
     
    797702then
    798703case $os in
     704        # First match some system type aliases
     705        # that might get confused with valid system types.
    799706        # -solaris* is a basic system type, with this one exception.
    800707        -solaris1 | -solaris1.*)
     
    804711                os=-solaris2
    805712                ;;
    806         -unixware* | svr4*)
     713        -svr4*)
    807714                os=-sysv4
    808715                ;;
     716        -unixware*)
     717                os=-sysv4.2uw
     718                ;;
    809719        -gnu/linux*)
    810                 os=`echo $os | sed -e 's|gnu/linux|linux|'`
     720                os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
    811721                ;;
    812722        # First accept the basic system types.
    813723        # The portable systems comes first.
    814         # Each alternative must end in a *, to match a version number.
     724        # Each alternative MUST END IN A *, to match a version number.
    815725        # -sysv* is not here because it comes later, after sysvr4.
    816         -gnu* | -bsd* | -mach* | -lites* | -minix* | -genix* | -ultrix* | -irix* \
    817               | -vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[3456]* \
     726        -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
     727              | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
    818728              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
    819               | -amigados* | -msdos* | -moss* | -newsos* | -unicos* | -aos* \
    820               | -nindy* | -vxworks* | -ebmon* | -hms* | -mvs* | -clix* \
    821               | -riscos* | -linux* | -uniplus* | -iris* | -rtu* | -xenix* \
    822               | -hiux* | -386bsd* | -netbsd* | -freebsd* | -riscix*  | -lites* \
     729              | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
     730              | -aos* \
     731              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
     732              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
     733              | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
    823734              | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \
    824               | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta | -udi \
    825               | -eabi* | -ieee*)
    826                 ;;
    827         # CYGNUS LOCAL
    828         -go32 | -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
    829               | -windows* | -osx | -abug |  -netware* | -proelf | -os9* \
    830               | -macos* | -mpw* | -magic* | -pe* | -win32)
    831                 ;;
    832         -mac*)                                          # CYGNUS LOCAL
    833                 os=`echo $os | sed -e 's|mac|macos|'`
     735              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
     736              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
     737              | -cygwin32* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
     738              | -mingw32* | -linux-gnu* | -uxpv*)
     739        # Remember, each alternative MUST END IN *, to match a version number.
     740                ;;
     741        -linux*)
     742                os=`echo $os | sed -e 's|linux|linux-gnu|'`
    834743                ;;
    835744        -sunos5*)
     
    854763                os=-aos
    855764                ;;
    856         -386bsd)                                        # CYGNUS LOCAL
    857                 os=-bsd
    858                 ;;
    859765        -ctix* | -uts*)
    860766                os=-sysv
     767                ;;
     768        -ns2 )
     769                os=-nextstep2
    861770                ;;
    862771        # Preserve the version number of sinix5.
     
    884793        # This must come after -sysvr4.
    885794        -sysv*)
    886                 ;;
    887         -ose*)                                          # CYGNUS LOCAL
    888                 os=-ose
    889                 ;;
    890         -es1800*)                                       # CYGNUS LOCAL
    891                 os=-ose
    892795                ;;
    893796        -xenix)
     
    919822                os=-riscix1.2
    920823                ;;
     824        arm*-semi)
     825                os=-aout
     826                ;;
    921827        pdp11-*)
    922828                os=-none
     
    937843                # os=-sunos4
    938844                ;;
    939         m68*-cisco)                                     # CYGNUS LOCAL
    940                 os=-aout
    941                 ;;
    942         mips*-cisco)                                    # CYGNUS LOCAL
    943                 os=-elf
    944                 ;;
    945845        *-tti)  # must be before sparc entry or we get the wrong os.
    946846                os=-sysv3
     
    952852                os=-aix
    953853                ;;
    954         *-wec)                                          # CYGNUS LOCAL
    955                 os=-proelf
    956                 ;;
    957         *-winbond)                                      # CYGNUS LOCAL
    958                 os=-proelf
    959                 ;;
    960         *-oki)                                          # CYGNUS LOCAL
    961                 os=-proelf
    962                 ;;
    963854        *-hp)
    964855                os=-hpux
     
    971862                ;;
    972863        *-cbm)
    973                 os=-amigados
     864                os=-amigaos
    974865                ;;
    975866        *-dg)
     
    985876                os=-luna
    986877                ;;
     878        *-next )
     879                os=-nextstep
     880                ;;
    987881        *-sequent)
    988882                os=-ptx
     
    1018912                os=-rtu
    1019913                ;;
    1020         *-rom68k)                                       # CYGNUS LOCAL
    1021                 os=-coff
    1022                 ;;
    1023         *-*bug)                                         # CYGNUS LOCAL
    1024                 os=-coff
    1025                 ;;
    1026         *-apple)                                        # CYGNUS LOCAL
    1027                 os=-macos
     914        f301-fujitsu)
     915                os=-uxpv
    1028916                ;;
    1029917        *)
     
    1045933                                vendor=sun
    1046934                                ;;
    1047                         -bosx*)                         # CYGNUS LOCAL
    1048                                 vendor=bull
    1049                                 ;;
    1050                         -lynxos*)
    1051                                 vendor=lynx
    1052                                 ;;
    1053935                        -aix*)
    1054936                                vendor=ibm
     
    1078960                                vendor=sequent
    1079961                                ;;
    1080                         -vxworks*)
     962                        -vxsim* | -vxworks*)
    1081963                                vendor=wrs
    1082964                                ;;
    1083                         -hms*)                          # CYGNUS LOCAL
    1084                                 vendor=hitachi
    1085                                 ;;
    1086                         -mpw* | -macos*)                # CYGNUS LOCAL
     965                        -aux*)
    1087966                                vendor=apple
    1088967                                ;;
Note: See TracChangeset for help on using the changeset viewer.