source: patches/module-init-tools-3.2.2-config_update-1.patch @ dd04f68

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since dd04f68 was dd04f68, checked in by Jim Gifford <clfs@…>, 18 years ago

Patches Updates - Rename mips_config_update to config_update. Make them more Generic

  • Property mode set to 100644
File size: 32.9 KB
  • module-init-tools-3.1

    Submitted By: Jim Gifford (patches at jg555 dot com)
    Date: 2005-10-01
    Initial Package Version: 3.1
    Origin: Jim Gifford
    Upstream Status: Sent
    Description: Updates config.sub and config.guess
     
    diff -Naur module-init-tools-3.1.orig/config.guess module-init-tools-3.1/config.guess
    old new  
    11#! /bin/sh
    22# Attempt to guess a canonical system name.
    33#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
    4 #   2000, 2001, 2002 Free Software Foundation, Inc.
     4#   2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
    55
    6 timestamp='2002-09-03'
     6timestamp='2004-11-12'
    77
    88# This file is free software; you can redistribute it and/or modify it
    99# under the terms of the GNU General Public License as published by
     
    5353GNU config.guess ($timestamp)
    5454
    5555Originally written by Per Bothner.
    56 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
     56Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
    5757Free Software Foundation, Inc.
    5858
    5959This is free software; see the source for copying conditions.  There is NO
     
    9898# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
    9999# use `HOST_CC' if defined, but it is deprecated.
    100100
    101 # This shell variable is my proudest work .. or something. --bje
     101# Portable tmp directory creation inspired by the Autoconf team.
    102102
    103 set_cc_for_build='tmpdir=${TMPDIR-/tmp}/config-guess-$$ ;
    104 (old=`umask` && umask 077 && mkdir $tmpdir && umask $old && unset old)
    105    || (echo "$me: cannot create $tmpdir" >&2 && exit 1) ;
    106 dummy=$tmpdir/dummy ;
    107 files="$dummy.c $dummy.o $dummy.rel $dummy" ;
    108 trap '"'"'rm -f $files; rmdir $tmpdir; exit 1'"'"' 1 2 15 ;
     103set_cc_for_build='
     104trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
     105trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
     106: ${TMPDIR=/tmp} ;
     107 { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
     108 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
     109 { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
     110 { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
     111dummy=$tmp/dummy ;
     112tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
    109113case $CC_FOR_BUILD,$HOST_CC,$CC in
    110114 ,,)    echo "int x;" > $dummy.c ;
    111115        for c in cc gcc c89 c99 ; do
    112           if ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ; then
     116          if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
    113117             CC_FOR_BUILD="$c"; break ;
    114118          fi ;
    115119        done ;
    116         rm -f $files ;
    117120        if test x"$CC_FOR_BUILD" = x ; then
    118121          CC_FOR_BUILD=no_compiler_found ;
    119122        fi
    120123        ;;
    121124 ,,*)   CC_FOR_BUILD=$CC ;;
    122125 ,*,*)  CC_FOR_BUILD=$HOST_CC ;;
    123 esac ;
    124 unset files'
     126esac ;'
    125127
    126128# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
    127129# (ghazi@noc.rutgers.edu 1994-08-24)
     
    178180                ;;
    179181        esac
    180182        # The OS release
    181         release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
     183        # Debian GNU/NetBSD machines have a different userland, and
     184        # thus, need a distinct triplet. However, they do not need
     185        # kernel version information, so it can be replaced with a
     186        # suitable tag, in the style of linux-gnu.
     187        case "${UNAME_VERSION}" in
     188            Debian*)
     189                release='-gnu'
     190                ;;
     191            *)
     192                release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
     193                ;;
     194        esac
    182195        # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
    183196        # contains redundant information, the shorter form:
    184197        # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
    185198        echo "${machine}-${os}${release}"
    186199        exit 0 ;;
     200    amd64:OpenBSD:*:*)
     201        echo x86_64-unknown-openbsd${UNAME_RELEASE}
     202        exit 0 ;;
    187203    amiga:OpenBSD:*:*)
    188204        echo m68k-unknown-openbsd${UNAME_RELEASE}
    189205        exit 0 ;;
    190     arc:OpenBSD:*:*)
    191         echo mipsel-unknown-openbsd${UNAME_RELEASE}
     206    cats:OpenBSD:*:*)
     207        echo arm-unknown-openbsd${UNAME_RELEASE}
    192208        exit 0 ;;
    193209    hp300:OpenBSD:*:*)
    194210        echo m68k-unknown-openbsd${UNAME_RELEASE}
    195211        exit 0 ;;
     212    luna88k:OpenBSD:*:*)
     213        echo m88k-unknown-openbsd${UNAME_RELEASE}
     214        exit 0 ;;
    196215    mac68k:OpenBSD:*:*)
    197216        echo m68k-unknown-openbsd${UNAME_RELEASE}
    198217        exit 0 ;;
     
    208227    mvmeppc:OpenBSD:*:*)
    209228        echo powerpc-unknown-openbsd${UNAME_RELEASE}
    210229        exit 0 ;;
    211     pmax:OpenBSD:*:*)
    212         echo mipsel-unknown-openbsd${UNAME_RELEASE}
    213         exit 0 ;;
    214230    sgi:OpenBSD:*:*)
    215         echo mipseb-unknown-openbsd${UNAME_RELEASE}
     231        echo mips64-unknown-openbsd${UNAME_RELEASE}
    216232        exit 0 ;;
    217233    sun3:OpenBSD:*:*)
    218234        echo m68k-unknown-openbsd${UNAME_RELEASE}
    219235        exit 0 ;;
    220     wgrisc:OpenBSD:*:*)
    221         echo mipsel-unknown-openbsd${UNAME_RELEASE}
    222         exit 0 ;;
    223236    *:OpenBSD:*:*)
    224237        echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
    225238        exit 0 ;;
     239    *:ekkoBSD:*:*)
     240        echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
     241        exit 0 ;;
     242    macppc:MirBSD:*:*)
     243        echo powerppc-unknown-mirbsd${UNAME_RELEASE}
     244        exit 0 ;;
     245    *:MirBSD:*:*)
     246        echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
     247        exit 0 ;;
    226248    alpha:OSF1:*:*)
    227         if test $UNAME_RELEASE = "V4.0"; then
     249        case $UNAME_RELEASE in
     250        *4.0)
    228251                UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
    229         fi
     252                ;;
     253        *5.*)
     254                UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
     255                ;;
     256        esac
     257        # According to Compaq, /usr/sbin/psrinfo has been available on
     258        # OSF/1 and Tru64 systems produced since 1995.  I hope that
     259        # covers most systems running today.  This code pipes the CPU
     260        # types through head -n 1, so we only detect the type of CPU 0.
     261        ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^  The alpha \(.*\) processor.*$/\1/p' | head -n 1`
     262        case "$ALPHA_CPU_TYPE" in
     263            "EV4 (21064)")
     264                UNAME_MACHINE="alpha" ;;
     265            "EV4.5 (21064)")
     266                UNAME_MACHINE="alpha" ;;
     267            "LCA4 (21066/21068)")
     268                UNAME_MACHINE="alpha" ;;
     269            "EV5 (21164)")
     270                UNAME_MACHINE="alphaev5" ;;
     271            "EV5.6 (21164A)")
     272                UNAME_MACHINE="alphaev56" ;;
     273            "EV5.6 (21164PC)")
     274                UNAME_MACHINE="alphapca56" ;;
     275            "EV5.7 (21164PC)")
     276                UNAME_MACHINE="alphapca57" ;;
     277            "EV6 (21264)")
     278                UNAME_MACHINE="alphaev6" ;;
     279            "EV6.7 (21264A)")
     280                UNAME_MACHINE="alphaev67" ;;
     281            "EV6.8CB (21264C)")
     282                UNAME_MACHINE="alphaev68" ;;
     283            "EV6.8AL (21264B)")
     284                UNAME_MACHINE="alphaev68" ;;
     285            "EV6.8CX (21264D)")
     286                UNAME_MACHINE="alphaev68" ;;
     287            "EV6.9A (21264/EV69A)")
     288                UNAME_MACHINE="alphaev69" ;;
     289            "EV7 (21364)")
     290                UNAME_MACHINE="alphaev7" ;;
     291            "EV7.9 (21364A)")
     292                UNAME_MACHINE="alphaev79" ;;
     293        esac
     294        # A Pn.n version is a patched version.
    230295        # A Vn.n version is a released version.
    231296        # A Tn.n version is a released field test version.
    232297        # A Xn.n version is an unreleased experimental baselevel.
    233298        # 1.2 uses "1.2" for uname -r.
    234         eval $set_cc_for_build
    235         cat <<EOF >$dummy.s
    236         .data
    237 \$Lformat:
    238         .byte 37,100,45,37,120,10,0     # "%d-%x\n"
    239 
    240         .text
    241         .globl main
    242         .align 4
    243         .ent main
    244 main:
    245         .frame \$30,16,\$26,0
    246         ldgp \$29,0(\$27)
    247         .prologue 1
    248         .long 0x47e03d80 # implver \$0
    249         lda \$2,-1
    250         .long 0x47e20c21 # amask \$2,\$1
    251         lda \$16,\$Lformat
    252         mov \$0,\$17
    253         not \$1,\$18
    254         jsr \$26,printf
    255         ldgp \$29,0(\$26)
    256         mov 0,\$16
    257         jsr \$26,exit
    258         .end main
    259 EOF
    260         $CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
    261         if test "$?" = 0 ; then
    262                 case `$dummy` in
    263                         0-0)
    264                                 UNAME_MACHINE="alpha"
    265                                 ;;
    266                         1-0)
    267                                 UNAME_MACHINE="alphaev5"
    268                                 ;;
    269                         1-1)
    270                                 UNAME_MACHINE="alphaev56"
    271                                 ;;
    272                         1-101)
    273                                 UNAME_MACHINE="alphapca56"
    274                                 ;;
    275                         2-303)
    276                                 UNAME_MACHINE="alphaev6"
    277                                 ;;
    278                         2-307)
    279                                 UNAME_MACHINE="alphaev67"
    280                                 ;;
    281                         2-1307)
    282                                 UNAME_MACHINE="alphaev68"
    283                                 ;;
    284                         3-1307)
    285                                 UNAME_MACHINE="alphaev7"
    286                                 ;;
    287                 esac
    288         fi
    289         rm -f $dummy.s $dummy && rmdir $tmpdir
    290         echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
     299        echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
    291300        exit 0 ;;
    292301    Alpha\ *:Windows_NT*:*)
    293302        # How do we know it's Interix rather than the generic POSIX subsystem?
     
    310319    *:OS/390:*:*)
    311320        echo i370-ibm-openedition
    312321        exit 0 ;;
     322    *:z/VM:*:*)
     323        echo s390-ibm-zvmoe
     324        exit 0 ;;
     325    *:OS400:*:*)
     326        echo powerpc-ibm-os400
     327        exit 0 ;;
    313328    arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
    314329        echo arm-acorn-riscix${UNAME_RELEASE}
    315330        exit 0;;
     
    327342    NILE*:*:*:dcosx)
    328343        echo pyramid-pyramid-svr4
    329344        exit 0 ;;
    330     DRS?6000:UNIX_SV:4.2*:7*)
     345    DRS?6000:unix:4.0:6*)
     346        echo sparc-icl-nx6
     347        exit 0 ;;
     348    DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
    331349        case `/usr/bin/uname -p` in
    332350            sparc) echo sparc-icl-nx7 && exit 0 ;;
    333351        esac ;;
     
    399417    *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
    400418        echo m68k-unknown-mint${UNAME_RELEASE}
    401419        exit 0 ;;
     420    m68k:machten:*:*)
     421        echo m68k-apple-machten${UNAME_RELEASE}
     422        exit 0 ;;
    402423    powerpc:machten:*:*)
    403424        echo powerpc-apple-machten${UNAME_RELEASE}
    404425        exit 0 ;;
     
    437458          exit (-1);
    438459        }
    439460EOF
    440         $CC_FOR_BUILD $dummy.c -o $dummy \
     461        $CC_FOR_BUILD -o $dummy $dummy.c \
    441462          && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
    442           && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0
    443         rm -f $dummy.c $dummy && rmdir $tmpdir
     463          && exit 0
    444464        echo mips-mips-riscos${UNAME_RELEASE}
    445465        exit 0 ;;
    446466    Motorola:PowerMAX_OS:*:*)
     
    449469    Motorola:*:4.3:PL8-*)
    450470        echo powerpc-harris-powermax
    451471        exit 0 ;;
    452     Night_Hawk:*:*:PowerMAX_OS)
     472    Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
    453473        echo powerpc-harris-powermax
    454474        exit 0 ;;
    455475    Night_Hawk:Power_UNIX:*:*)
     
    524544                        exit(0);
    525545                        }
    526546EOF
    527                 $CC_FOR_BUILD $dummy.c -o $dummy && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0
    528                 rm -f $dummy.c $dummy && rmdir $tmpdir
     547                $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
    529548                echo rs6000-ibm-aix3.2.5
    530549        elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
    531550                echo rs6000-ibm-aix3.2.4
     
    623642                  exit (0);
    624643              }
    625644EOF
    626                     (CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null) && HP_ARCH=`$dummy`
    627                     if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi
    628                     rm -f $dummy.c $dummy && rmdir $tmpdir
     645                    (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
     646                    test -z "$HP_ARCH" && HP_ARCH=hppa
    629647                fi ;;
    630648        esac
     649        if [ ${HP_ARCH} = "hppa2.0w" ]
     650        then
     651            # avoid double evaluation of $set_cc_for_build
     652            test -n "$CC_FOR_BUILD" || eval $set_cc_for_build
     653            if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null
     654            then
     655                HP_ARCH="hppa2.0w"
     656            else
     657                HP_ARCH="hppa64"
     658            fi
     659        fi
    631660        echo ${HP_ARCH}-hp-hpux${HPUX_REV}
    632661        exit 0 ;;
    633662    ia64:HP-UX:*:*)
     
    661690          exit (0);
    662691        }
    663692EOF
    664         $CC_FOR_BUILD $dummy.c -o $dummy && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0
    665         rm -f $dummy.c $dummy && rmdir $tmpdir
     693        $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
    666694        echo unknown-hitachi-hiuxwe2
    667695        exit 0 ;;
    668696    9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
     
    720748    CRAY*TS:*:*:*)
    721749        echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
    722750        exit 0 ;;
    723     CRAY*T3D:*:*:*)
    724         echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
    725         exit 0 ;;
    726751    CRAY*T3E:*:*:*)
    727752        echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
    728753        exit 0 ;;
    729754    CRAY*SV1:*:*:*)
    730755        echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
    731756        exit 0 ;;
     757    *:UNICOS/mp:*:*)
     758        echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
     759        exit 0 ;;
    732760    F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
    733761        FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
    734762        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
    735763        FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
    736764        echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
    737765        exit 0 ;;
     766    5000:UNIX_System_V:4.*:*)
     767        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
     768        FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
     769        echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
     770        exit 0 ;;
    738771    i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
    739772        echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
    740773        exit 0 ;;
     
    745778        echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
    746779        exit 0 ;;
    747780    *:FreeBSD:*:*)
    748         # Determine whether the default compiler uses glibc.
    749         eval $set_cc_for_build
    750         sed 's/^        //' << EOF >$dummy.c
    751         #include <features.h>
    752         #if __GLIBC__ >= 2
    753         LIBC=gnu
    754         #else
    755         LIBC=
    756         #endif
    757 EOF
    758         eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
    759         rm -f $dummy.c && rmdir $tmpdir
    760         echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
     781        echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
    761782        exit 0 ;;
    762783    i*:CYGWIN*:*)
    763784        echo ${UNAME_MACHINE}-pc-cygwin
     
    768789    i*:PW*:*)
    769790        echo ${UNAME_MACHINE}-pc-pw32
    770791        exit 0 ;;
    771     x86:Interix*:3*)
    772         echo i386-pc-interix3
     792    x86:Interix*:[34]*)
     793        echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
     794        exit 0 ;;
     795    [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
     796        echo i${UNAME_MACHINE}-pc-mks
    773797        exit 0 ;;
    774798    i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
    775799        # How do we know it's Interix rather than the generic POSIX subsystem?
    776800        # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
    777801        # UNAME_MACHINE based on the output of uname instead of i386?
    778         echo i386-pc-interix
     802        echo i586-pc-interix
    779803        exit 0 ;;
    780804    i*:UWIN*:*)
    781805        echo ${UNAME_MACHINE}-pc-uwin
     
    787811        echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
    788812        exit 0 ;;
    789813    *:GNU:*:*)
     814        # the GNU system
    790815        echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
    791816        exit 0 ;;
     817    *:GNU/*:*:*)
     818        # other systems with GNU libc and userland
     819        echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
     820        exit 0 ;;
    792821    i*86:Minix:*:*)
    793822        echo ${UNAME_MACHINE}-pc-minix
    794823        exit 0 ;;
    795824    arm*:Linux:*:*)
    796825        echo ${UNAME_MACHINE}-unknown-linux-gnu
    797826        exit 0 ;;
     827    cris:Linux:*:*)
     828        echo cris-axis-linux-gnu
     829        exit 0 ;;
     830    crisv32:Linux:*:*)
     831        echo crisv32-axis-linux-gnu
     832        exit 0 ;;
     833    frv:Linux:*:*)
     834        echo frv-unknown-linux-gnu
     835        exit 0 ;;
    798836    ia64:Linux:*:*)
    799837        echo ${UNAME_MACHINE}-unknown-linux-gnu
    800838        exit 0 ;;
     839    m32r*:Linux:*:*)
     840        echo ${UNAME_MACHINE}-unknown-linux-gnu
     841        exit 0 ;;
    801842    m68*:Linux:*:*)
    802843        echo ${UNAME_MACHINE}-unknown-linux-gnu
    803844        exit 0 ;;
     
    818859        #endif
    819860EOF
    820861        eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
    821         rm -f $dummy.c && rmdir $tmpdir
    822         test x"${CPU}" != x && echo "${CPU}-pc-linux-gnu" && exit 0
     862        test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
     863        ;;
     864    mips64:Linux:*:*)
     865        eval $set_cc_for_build
     866        sed 's/^        //' << EOF >$dummy.c
     867        #undef CPU
     868        #undef mips64
     869        #undef mips64el
     870        #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
     871        CPU=mips64el
     872        #else
     873        #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
     874        CPU=mips64
     875        #else
     876        CPU=
     877        #endif
     878        #endif
     879EOF
     880        eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
     881        test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
    823882        ;;
    824883    ppc:Linux:*:*)
    825884        echo powerpc-unknown-linux-gnu
     
    855914    s390:Linux:*:* | s390x:Linux:*:*)
    856915        echo ${UNAME_MACHINE}-ibm-linux
    857916        exit 0 ;;
     917    sh64*:Linux:*:*)
     918        echo ${UNAME_MACHINE}-unknown-linux-gnu
     919        exit 0 ;;
    858920    sh*:Linux:*:*)
    859921        echo ${UNAME_MACHINE}-unknown-linux-gnu
    860922        exit 0 ;;
     
    912974        LIBC=gnuaout
    913975        #endif
    914976        #endif
     977        #ifdef __dietlibc__
     978        LIBC=dietlibc
     979        #endif
    915980EOF
    916981        eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
    917         rm -f $dummy.c && rmdir $tmpdir
    918982        test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0
    919983        test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
    920984        ;;
     
    932996        # Use sysv4.2uw... so that sysv4* matches it.
    933997        echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
    934998        exit 0 ;;
     999    i*86:OS/2:*:*)
     1000        # If we were able to find `uname', then EMX Unix compatibility
     1001        # is probably installed.
     1002        echo ${UNAME_MACHINE}-pc-os2-emx
     1003        exit 0 ;;
     1004    i*86:XTS-300:*:STOP)
     1005        echo ${UNAME_MACHINE}-unknown-stop
     1006        exit 0 ;;
     1007    i*86:atheos:*:*)
     1008        echo ${UNAME_MACHINE}-unknown-atheos
     1009        exit 0 ;;
     1010        i*86:syllable:*:*)
     1011        echo ${UNAME_MACHINE}-pc-syllable
     1012        exit 0 ;;
     1013    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
     1014        echo i386-unknown-lynxos${UNAME_RELEASE}
     1015        exit 0 ;;
     1016    i*86:*DOS:*:*)
     1017        echo ${UNAME_MACHINE}-pc-msdosdjgpp
     1018        exit 0 ;;
    9351019    i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
    9361020        UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
    9371021        if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
     
    9661050                echo ${UNAME_MACHINE}-pc-sysv32
    9671051        fi
    9681052        exit 0 ;;
    969     i*86:*DOS:*:*)
    970         echo ${UNAME_MACHINE}-pc-msdosdjgpp
    971         exit 0 ;;
    9721053    pc:*:*:*)
    9731054        # Left here for compatibility:
    9741055        # uname -m prints for DJGPP always 'pc', but it prints nothing about
     
    9951076    mc68k:UNIX:SYSTEM5:3.51m)
    9961077        echo m68k-convergent-sysv
    9971078        exit 0 ;;
    998     M68*:*:R3V[567]*:*)
     1079    M680?0:D-NIX:5.3:*)
     1080        echo m68k-diab-dnix
     1081        exit 0 ;;
     1082    M68*:*:R3V[5678]*:*)
    9991083        test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
    1000     3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0)
     1084    3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
    10011085        OS_REL=''
    10021086        test -r /etc/.relid \
    10031087        && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
     
    10141098    mc68030:UNIX_System_V:4.*:*)
    10151099        echo m68k-atari-sysv4
    10161100        exit 0 ;;
    1017     i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
    1018         echo i386-unknown-lynxos${UNAME_RELEASE}
    1019         exit 0 ;;
    10201101    TSUNAMI:LynxOS:2.*:*)
    10211102        echo sparc-unknown-lynxos${UNAME_RELEASE}
    10221103        exit 0 ;;
     
    10981179        echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
    10991180        exit 0 ;;
    11001181    *:Darwin:*:*)
    1101         echo `uname -p`-apple-darwin${UNAME_RELEASE}
     1182        UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
     1183        case $UNAME_PROCESSOR in
     1184            *86) UNAME_PROCESSOR=i686 ;;
     1185            unknown) UNAME_PROCESSOR=powerpc ;;
     1186        esac
     1187        echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
    11021188        exit 0 ;;
    11031189    *:procnto*:*:* | *:QNX:[0123456789]*:*)
    11041190        UNAME_PROCESSOR=`uname -p`
     
    11111197    *:QNX:*:4*)
    11121198        echo i386-pc-qnx
    11131199        exit 0 ;;
    1114     NSR-[DGKLNPTVW]:NONSTOP_KERNEL:*:*)
     1200    NSR-?:NONSTOP_KERNEL:*:*)
    11151201        echo nsr-tandem-nsk${UNAME_RELEASE}
    11161202        exit 0 ;;
    11171203    *:NonStop-UX:*:*)
     
    11341220        fi
    11351221        echo ${UNAME_MACHINE}-unknown-plan9
    11361222        exit 0 ;;
    1137     i*86:OS/2:*:*)
    1138         # If we were able to find `uname', then EMX Unix compatibility
    1139         # is probably installed.
    1140         echo ${UNAME_MACHINE}-pc-os2-emx
    1141         exit 0 ;;
    11421223    *:TOPS-10:*:*)
    11431224        echo pdp10-unknown-tops10
    11441225        exit 0 ;;
     
    11571238    *:ITS:*:*)
    11581239        echo pdp10-unknown-its
    11591240        exit 0 ;;
    1160     i*86:XTS-300:*:STOP)
    1161         echo ${UNAME_MACHINE}-unknown-stop
     1241    SEI:*:*:SEIUX)
     1242        echo mips-sei-seiux${UNAME_RELEASE}
    11621243        exit 0 ;;
    1163     i*86:atheos:*:*)
    1164         echo ${UNAME_MACHINE}-unknown-atheos
     1244    *:DragonFly:*:*)
     1245        echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
     1246        exit 0 ;;
     1247    *:*VMS:*:*)
     1248        UNAME_MACHINE=`(uname -p) 2>/dev/null`
     1249        case "${UNAME_MACHINE}" in
     1250            A*) echo alpha-dec-vms && exit 0 ;;
     1251            I*) echo ia64-dec-vms && exit 0 ;;
     1252            V*) echo vax-dec-vms && exit 0 ;;
     1253        esac ;;
     1254    *:XENIX:*:SysV)
     1255        echo i386-pc-xenix
    11651256        exit 0 ;;
    11661257esac
    11671258
     
    12831374}
    12841375EOF
    12851376
    1286 $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0
    1287 rm -f $dummy.c $dummy && rmdir $tmpdir
     1377$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && exit 0
    12881378
    12891379# Apollos put the system type in the environment.
    12901380
  • module-init-tools-3.1

    diff -Naur module-init-tools-3.1.orig/config.sub module-init-tools-3.1/config.sub
    old new  
    11#! /bin/sh
    22# Configuration validation subroutine script.
    33#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
    4 #   2000, 2001, 2002 Free Software Foundation, Inc.
     4#   2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
    55
    6 timestamp='2002-09-05'
     6timestamp='2004-11-30'
    77
    88# This file is (in principle) common to ALL GNU software.
    99# The presence of a machine in this file suggests that SOME GNU software
     
    7070version="\
    7171GNU config.sub ($timestamp)
    7272
    73 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
     73Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
    7474Free Software Foundation, Inc.
    7575
    7676This is free software; see the source for copying conditions.  There is NO
     
    118118# Here we must recognize all the valid KERNEL-OS combinations.
    119119maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
    120120case $maybe_os in
    121   nto-qnx* | linux-gnu* | freebsd*-gnu* | storm-chaos* | os2-emx* | windows32-* | rtmk-nova*)
     121  nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
     122  kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
    122123    os=-$maybe_os
    123124    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
    124125    ;;
     
    144145        -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
    145146        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
    146147        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
    147         -apple | -axis)
     148        -apple | -axis | -knuth | -cray)
    148149                os=
    149150                basic_machine=$1
    150151                ;;
     
    228229        | a29k \
    229230        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
    230231        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
     232        | am33_2.0 \
    231233        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
    232         | clipper \
     234        | c4x | clipper \
    233235        | d10v | d30v | dlx | dsp16xx \
    234236        | fr30 | frv \
    235237        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
    236238        | i370 | i860 | i960 | ia64 \
    237         | ip2k \
    238         | m32r | m68000 | m68k | m88k | mcore \
     239        | ip2k | iq2000 \
     240        | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
    239241        | mips | mipsbe | mipseb | mipsel | mipsle \
    240242        | mips16 \
    241243        | mips64 | mips64el \
     
    245247        | mips64vr4300 | mips64vr4300el \
    246248        | mips64vr5000 | mips64vr5000el \
    247249        | mipsisa32 | mipsisa32el \
     250        | mipsisa32r2 | mipsisa32r2el \
    248251        | mipsisa64 | mipsisa64el \
     252        | mipsisa64r2 | mipsisa64r2el \
    249253        | mipsisa64sb1 | mipsisa64sb1el \
    250254        | mipsisa64sr71k | mipsisa64sr71kel \
    251255        | mipstx39 | mipstx39el \
    252256        | mn10200 | mn10300 \
     257        | msp430 \
    253258        | ns16k | ns32k \
    254259        | openrisc | or32 \
    255260        | pdp10 | pdp11 | pj | pjl \
    256261        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
    257262        | pyramid \
    258         | sh | sh[1234] | sh3e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
     263        | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
    259264        | sh64 | sh64le \
    260         | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
     265        | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \
    261266        | strongarm \
    262         | tahoe | thumb | tic80 | tron \
     267        | tahoe | thumb | tic4x | tic80 | tron \
    263268        | v850 | v850e \
    264269        | we32k \
    265         | x86 | xscale | xstormy16 | xtensa \
     270        | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
    266271        | z8k)
    267272                basic_machine=$basic_machine-unknown
    268273                ;;
     
    294299        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
    295300        | avr-* \
    296301        | bs2000-* \
    297         | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* \
    298         | clipper-* | cydra-* \
     302        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
     303        | clipper-* | craynv-* | cydra-* \
    299304        | d10v-* | d30v-* | dlx-* \
    300305        | elxsi-* \
    301306        | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
    302307        | h8300-* | h8500-* \
    303308        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
    304309        | i*86-* | i860-* | i960-* | ia64-* \
    305         | ip2k-* \
    306         | m32r-* \
     310        | ip2k-* | iq2000-* \
     311        | m32r-* | m32rle-* \
    307312        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
    308         | m88110-* | m88k-* | mcore-* \
     313        | m88110-* | m88k-* | maxq-* | mcore-* \
    309314        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
    310315        | mips16-* \
    311316        | mips64-* | mips64el-* \
     
    315320        | mips64vr4300-* | mips64vr4300el-* \
    316321        | mips64vr5000-* | mips64vr5000el-* \
    317322        | mipsisa32-* | mipsisa32el-* \
     323        | mipsisa32r2-* | mipsisa32r2el-* \
    318324        | mipsisa64-* | mipsisa64el-* \
     325        | mipsisa64r2-* | mipsisa64r2el-* \
    319326        | mipsisa64sb1-* | mipsisa64sb1el-* \
    320327        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
    321         | mipstx39 | mipstx39el \
     328        | mipstx39-* | mipstx39el-* \
     329        | mmix-* \
     330        | msp430-* \
    322331        | none-* | np1-* | ns16k-* | ns32k-* \
    323332        | orion-* \
    324333        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
    325334        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
    326335        | pyramid-* \
    327336        | romp-* | rs6000-* \
    328         | sh-* | sh[1234]-* | sh3e-* | sh[34]eb-* | shbe-* \
     337        | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
    329338        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
    330339        | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
    331         | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
    332         | tahoe-* | thumb-* | tic30-* | tic4x-* | tic54x-* | tic80-* | tron-* \
     340        | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
     341        | tahoe-* | thumb-* \
     342        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
     343        | tron-* \
    333344        | v850-* | v850e-* | vax-* \
    334345        | we32k-* \
    335         | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
    336         | xtensa-* \
     346        | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
     347        | xstormy16-* | xtensa-* \
    337348        | ymp-* \
    338349        | z8k-*)
    339350                ;;
     
    353364                basic_machine=a29k-amd
    354365                os=-udi
    355366                ;;
     367        abacus)
     368                basic_machine=abacus-unknown
     369                ;;
    356370        adobe68k)
    357371                basic_machine=m68010-adobe
    358372                os=-scout
     
    367381                basic_machine=a29k-none
    368382                os=-bsd
    369383                ;;
     384        amd64)
     385                basic_machine=x86_64-pc
     386                ;;
     387        amd64-*)
     388                basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
     389                ;;
    370390        amdahl)
    371391                basic_machine=580-amdahl
    372392                os=-sysv
     
    426446                basic_machine=j90-cray
    427447                os=-unicos
    428448                ;;
     449        craynv)
     450                basic_machine=craynv-cray
     451                os=-unicosmp
     452                ;;
     453        cr16c)
     454                basic_machine=cr16c-unknown
     455                os=-elf
     456                ;;
    429457        crds | unos)
    430458                basic_machine=m68k-crds
    431459                ;;
     460        crisv32 | crisv32-* | etraxfs*)
     461                basic_machine=crisv32-axis
     462                ;;
    432463        cris | cris-* | etrax*)
    433464                basic_machine=cris-axis
    434465                ;;
     466        crx)
     467                basic_machine=crx-unknown
     468                os=-elf
     469                ;;
    435470        da30 | da30-*)
    436471                basic_machine=m68k-da30
    437472                ;;
     
    454489                basic_machine=m88k-motorola
    455490                os=-sysv3
    456491                ;;
     492        djgpp)
     493                basic_machine=i586-pc
     494                os=-msdosdjgpp
     495                ;;
    457496        dpx20 | dpx20-*)
    458497                basic_machine=rs6000-bull
    459498                os=-bosx
     
    632671        mips3*)
    633672                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
    634673                ;;
    635         mmix*)
    636                 basic_machine=mmix-knuth
    637                 os=-mmixware
    638                 ;;
    639674        monitor)
    640675                basic_machine=m68k-rom68k
    641676                os=-coff
     
    727762                basic_machine=or32-unknown
    728763                os=-coff
    729764                ;;
     765        os400)
     766                basic_machine=powerpc-ibm
     767                os=-os400
     768                ;;
    730769        OSE68000 | ose68000)
    731770                basic_machine=m68000-ericsson
    732771                os=-ose
     
    758797        pentiumpro | p6 | 6x86 | athlon | athlon_*)
    759798                basic_machine=i686-pc
    760799                ;;
    761         pentiumii | pentium2)
     800        pentiumii | pentium2 | pentiumiii | pentium3)
    762801                basic_machine=i686-pc
    763802                ;;
     803        pentium4)
     804                basic_machine=i786-pc
     805                ;;
    764806        pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
    765807                basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
    766808                ;;
    767809        pentiumpro-* | p6-* | 6x86-* | athlon-*)
    768810                basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
    769811                ;;
    770         pentiumii-* | pentium2-*)
     812        pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
    771813                basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
    772814                ;;
     815        pentium4-*)
     816                basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
     817                ;;
    773818        pn)
    774819                basic_machine=pn-gould
    775820                ;;
     
    828873        sb1el)
    829874                basic_machine=mipsisa64sb1el-unknown
    830875                ;;
     876        sei)
     877                basic_machine=mips-sei
     878                os=-seiux
     879                ;;
    831880        sequent)
    832881                basic_machine=i386-sequent
    833882                ;;
     
    835884                basic_machine=sh-hitachi
    836885                os=-hms
    837886                ;;
     887        sh64)
     888                basic_machine=sh64-unknown
     889                ;;
    838890        sparclite-wrs | simso-wrs)
    839891                basic_machine=sparclite-wrs
    840892                os=-vxworks
     
    901953                basic_machine=i386-sequent
    902954                os=-dynix
    903955                ;;
    904         t3d)
    905                 basic_machine=alpha-cray
    906                 os=-unicos
    907                 ;;
    908956        t3e)
    909957                basic_machine=alphaev5-cray
    910958                os=-unicos
     
    913961                basic_machine=t90-cray
    914962                os=-unicos
    915963                ;;
    916         tic4x | c4x*)
    917                 basic_machine=tic4x-unknown
    918                 os=-coff
    919                 ;;
    920964        tic54x | c54x*)
    921965                basic_machine=tic54x-unknown
    922966                os=-coff
    923967                ;;
     968        tic55x | c55x*)
     969                basic_machine=tic55x-unknown
     970                os=-coff
     971                ;;
     972        tic6x | c6x*)
     973                basic_machine=tic6x-unknown
     974                os=-coff
     975                ;;
    924976        tx39)
    925977                basic_machine=mipstx39-unknown
    926978                ;;
     
    934986        tower | tower-32)
    935987                basic_machine=m68k-ncr
    936988                ;;
     989        tpf)
     990                basic_machine=s390x-ibm
     991                os=-tpf
     992                ;;
    937993        udi29k)
    938994                basic_machine=a29k-amd
    939995                os=-udi
     
    9771033                basic_machine=hppa1.1-winbond
    9781034                os=-proelf
    9791035                ;;
    980         windows32)
    981                 basic_machine=i386-pc
    982                 os=-windows32-msvcrt
     1036        xbox)
     1037                basic_machine=i686-pc
     1038                os=-mingw32
    9831039                ;;
    9841040        xps | xps100)
    9851041                basic_machine=xps100-honeywell
     
    10111067        romp)
    10121068                basic_machine=romp-ibm
    10131069                ;;
     1070        mmix)
     1071                basic_machine=mmix-knuth
     1072                ;;
    10141073        rs6000)
    10151074                basic_machine=rs6000-ibm
    10161075                ;;
     
    10271086        we32k)
    10281087                basic_machine=we32k-att
    10291088                ;;
    1030         sh3 | sh4 | sh3eb | sh4eb | sh[1234]le | sh3ele)
     1089        sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
    10311090                basic_machine=sh-unknown
    10321091                ;;
    10331092        sh64)
    10341093                basic_machine=sh64-unknown
    10351094                ;;
    1036         sparc | sparcv9 | sparcv9b)
     1095        sparc | sparcv8 | sparcv9 | sparcv9b)
    10371096                basic_machine=sparc-sun
    10381097                ;;
    10391098        cydra)
     
    11061165              | -aos* \
    11071166              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
    11081167              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
    1109               | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
    1110               | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
     1168              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
     1169              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
     1170              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
    11111171              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
    11121172              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
    11131173              | -chorusos* | -chorusrdb* \
    11141174              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
    1115               | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
    1116               | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
     1175              | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
     1176              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
    11171177              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
    11181178              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
    11191179              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
    1120               | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* | -powermax*)
     1180              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
     1181              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
    11211182        # Remember, each alternative MUST END IN *, to match a version number.
    11221183                ;;
    11231184        -qnx*)
     
    11291190                        ;;
    11301191                esac
    11311192                ;;
     1193        -nto-qnx*)
     1194                ;;
    11321195        -nto*)
    1133                 os=-nto-qnx
     1196                os=`echo $os | sed -e 's|nto|nto-qnx|'`
    11341197                ;;
    11351198        -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
    11361199              | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
     
    11391202        -mac*)
    11401203                os=`echo $os | sed -e 's|mac|macos|'`
    11411204                ;;
     1205        -linux-dietlibc)
     1206                os=-linux-dietlibc
     1207                ;;
    11421208        -linux*)
    11431209                os=`echo $os | sed -e 's|linux|linux-gnu|'`
    11441210                ;;
     
    11511217        -opened*)
    11521218                os=-openedition
    11531219                ;;
     1220        -os400*)
     1221                os=-os400
     1222                ;;
    11541223        -wince*)
    11551224                os=-wince
    11561225                ;;
     
    11721241        -atheos*)
    11731242                os=-atheos
    11741243                ;;
     1244        -syllable*)
     1245                os=-syllable
     1246                ;;
    11751247        -386bsd)
    11761248                os=-bsd
    11771249                ;;
     
    11941266        -sinix*)
    11951267                os=-sysv4
    11961268                ;;
     1269        -tpf*)
     1270                os=-tpf
     1271                ;;
    11971272        -triton*)
    11981273                os=-sysv3
    11991274                ;;
     
    12241299        -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
    12251300                os=-mint
    12261301                ;;
     1302        -aros*)
     1303                os=-aros
     1304                ;;
     1305        -kaos*)
     1306                os=-kaos
     1307                ;;
     1308        -zvmoe)
     1309                os=-zvmoe
     1310                ;;
    12271311        -none)
    12281312                ;;
    12291313        *)
     
    12551339        arm*-semi)
    12561340                os=-aout
    12571341                ;;
     1342    c4x-* | tic4x-*)
     1343        os=-coff
     1344        ;;
    12581345        # This must come before the *-dec entry.
    12591346        pdp10-*)
    12601347                os=-tops20
     
    13011388        *-ibm)
    13021389                os=-aix
    13031390                ;;
     1391        *-knuth)
     1392                os=-mmixware
     1393                ;;
    13041394        *-wec)
    13051395                os=-proelf
    13061396                ;;
     
    14331523                        -mvs* | -opened*)
    14341524                                vendor=ibm
    14351525                                ;;
     1526                        -os400*)
     1527                                vendor=ibm
     1528                                ;;
    14361529                        -ptx*)
    14371530                                vendor=sequent
    14381531                                ;;
     1532                        -tpf*)
     1533                                vendor=ibm
     1534                                ;;
    14391535                        -vxsim* | -vxworks* | -windiss*)
    14401536                                vendor=wrs
    14411537                                ;;
Note: See TracBrowser for help on using the repository browser.