Changeset 3720

Show
Ignore:
Timestamp:
10/05/06 21:49:05
Author:
jcorgan
Message:

Updated config.guess and config.sub from canonical source.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • gnuradio/trunk/config.guess

    r2237 r3720  
    22# Attempt to guess a canonical system name. 
    33#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 
    4 #   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 
    5  
    6 timestamp='2005-11-11' 
     4#   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, 
     5#   Inc. 
     6 
     7timestamp='2006-07-02' 
    78 
    89# This file is free software; you can redistribute it and/or modify it 
     
    107108trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; 
    108109: ${TMPDIR=/tmp} ; 
    109  { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || 
     110 { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || 
    110111 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || 
    111112 { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || 
     
    207208        echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} 
    208209        exit ;; 
     210    *:SolidBSD:*:*) 
     211        echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} 
     212        exit ;; 
    209213    macppc:MirBSD:*:*) 
    210         echo powerppc-unknown-mirbsd${UNAME_RELEASE} 
     214        echo powerpc-unknown-mirbsd${UNAME_RELEASE} 
    211215        exit ;; 
    212216    *:MirBSD:*:*) 
     
    765769        exit ;; 
    766770    *:FreeBSD:*:*) 
    767         echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` 
     771        case ${UNAME_MACHINE} in 
     772            pc98) 
     773                echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; 
     774            amd64) 
     775                echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; 
     776            *) 
     777                echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; 
     778        esac 
    768779        exit ;; 
    769780    i*:CYGWIN*:*) 
     
    780791        echo ${UNAME_MACHINE}-pc-pw32 
    781792        exit ;; 
    782     x86:Interix*:[345]*) 
    783         echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//' 
     793    x86:Interix*:[3456]*) 
     794        echo i586-pc-interix${UNAME_RELEASE} 
     795        exit ;; 
     796    EM64T:Interix*:[3456]*) 
     797        echo x86_64-unknown-interix${UNAME_RELEASE} 
    784798        exit ;; 
    785799    [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) 
     
    816830        exit ;; 
    817831    arm*:Linux:*:*) 
     832        echo ${UNAME_MACHINE}-unknown-linux-gnu 
     833        exit ;; 
     834    avr32*:Linux:*:*) 
    818835        echo ${UNAME_MACHINE}-unknown-linux-gnu 
    819836        exit ;; 
     
    852869        #endif 
    853870EOF 
    854         eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` 
     871        eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' 
     872            /^CPU/{ 
     873                s: ::g 
     874                p 
     875            }'`" 
    855876        test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } 
    856877        ;; 
     
    871892        #endif 
    872893EOF 
    873         eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` 
     894        eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' 
     895            /^CPU/{ 
     896                s: ::g 
     897                p 
     898            }'`" 
    874899        test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } 
    875900        ;; 
     
    919944    sparc:Linux:*:* | sparc64:Linux:*:*) 
    920945        echo ${UNAME_MACHINE}-unknown-linux-gnu 
     946        exit ;; 
     947    vax:Linux:*:*) 
     948        echo ${UNAME_MACHINE}-dec-linux-gnu 
    921949        exit ;; 
    922950    x86_64:Linux:*:*) 
     
    965993        # endif 
    966994        #else 
    967         #ifdef __INTEL_COMPILER 
     995        #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) 
    968996        LIBC=gnu 
    969997        #else 
     
    9751003        #endif 
    9761004EOF 
    977         eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` 
     1005        eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' 
     1006            /^LIBC/{ 
     1007                s: ::g 
     1008                p 
     1009            }'`" 
    9781010        test x"${LIBC}" != x && { 
    9791011                echo "${UNAME_MACHINE}-pc-linux-${LIBC}" 
     
    12631295    i*86:skyos:*:*) 
    12641296        echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' 
     1297        exit ;; 
     1298    i*86:rdos:*:*) 
     1299        echo ${UNAME_MACHINE}-pc-rdos 
    12651300        exit ;; 
    12661301esac 
  • gnuradio/trunk/config.sub

    r2237 r3720  
    22# Configuration validation subroutine script. 
    33#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 
    4 #   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 
    5  
    6 timestamp='2005-11-13' 
     4#   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, 
     5#   Inc. 
     6 
     7timestamp='2006-09-20' 
    78 
    89# This file is (in principle) common to ALL GNU software. 
     
    120121maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` 
    121122case $maybe_os in 
    122   nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \ 
    123   kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) 
     123  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ 
     124  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ 
     125  storm-chaos* | os2-emx* | rtmk-nova*) 
    124126    os=-$maybe_os 
    125127    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` 
     
    240242        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ 
    241243        | am33_2.0 \ 
    242         | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr
     244        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32
    243245        | bfin \ 
    244246        | c4x | clipper \ 
     
    248250        | i370 | i860 | i960 | ia64 \ 
    249251        | ip2k | iq2000 \ 
    250         | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \ 
     252        | m32c | m32r | m32rle | m68000 | m68k | m88k \ 
     253        | maxq | mb | microblaze | mcore \ 
    251254        | mips | mipsbe | mipseb | mipsel | mipsle \ 
    252255        | mips16 \ 
     
    266269        | mipstx39 | mipstx39el \ 
    267270        | mn10200 | mn10300 \ 
    268         | ms1
     271        | mt
    269272        | msp430 \ 
     273        | nios | nios2 \ 
    270274        | ns16k | ns32k \ 
    271275        | or32 \ 
     
    273277        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ 
    274278        | pyramid \ 
    275         | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ 
     279        | score \ 
     280        | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ 
    276281        | sh64 | sh64le \ 
    277         | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \ 
    278         | sparcv8 | sparcv9 | sparcv9b
    279         | strongarm \ 
     282        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ 
     283        | sparcv8 | sparcv9 | sparcv9b | sparcv9v
     284        | spu | strongarm \ 
    280285        | tahoe | thumb | tic4x | tic80 | tron \ 
    281286        | v850 | v850e \ 
    282287        | we32k \ 
    283         | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \ 
     288        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ 
    284289        | z8k) 
    285                 basic_machine=$basic_machine-unknown 
    286                 ;; 
    287         m32c) 
    288290                basic_machine=$basic_machine-unknown 
    289291                ;; 
     
    294296                ;; 
    295297        m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) 
     298                ;; 
     299        ms1) 
     300                basic_machine=mt-unknown 
    296301                ;; 
    297302 
     
    314319        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ 
    315320        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \ 
    316         | avr-*
     321        | avr-* | avr32-*
    317322        | bfin-* | bs2000-* \ 
    318323        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ 
     
    325330        | i*86-* | i860-* | i960-* | ia64-* \ 
    326331        | ip2k-* | iq2000-* \ 
    327         | m32r-* | m32rle-* \ 
     332        | m32c-* | m32r-* | m32rle-* \ 
    328333        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ 
    329334        | m88110-* | m88k-* | maxq-* | mcore-* \ 
     
    345350        | mipstx39-* | mipstx39el-* \ 
    346351        | mmix-* \ 
    347         | ms1-* \ 
     352        | mt-* \ 
    348353        | msp430-* \ 
     354        | nios-* | nios2-* \ 
    349355        | none-* | np1-* | ns16k-* | ns32k-* \ 
    350356        | orion-* \ 
     
    353359        | pyramid-* \ 
    354360        | romp-* | rs6000-* \ 
    355         | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \ 
     361        | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ 
    356362        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ 
    357         | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \ 
     363        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ 
    358364        | sparclite-* \ 
    359         | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ 
     365        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ 
    360366        | tahoe-* | thumb-* \ 
    361367        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ 
     
    363369        | v850-* | v850e-* | vax-* \ 
    364370        | we32k-* \ 
    365         | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \ 
     371        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ 
    366372        | xstormy16-* | xtensa-* \ 
    367373        | ymp-* \ 
    368374        | z8k-*) 
    369                 ;; 
    370         m32c-*) 
    371375                ;; 
    372376        # Recognize the various machine names and aliases which stand 
     
    704708                basic_machine=i386-pc 
    705709                os=-msdos 
     710                ;; 
     711        ms1-*) 
     712                basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` 
    706713                ;; 
    707714        mvs) 
     
    812819                basic_machine=ns32k-pc532 
    813820                ;; 
     821        pc98) 
     822                basic_machine=i386-pc 
     823                ;; 
     824        pc98-*) 
     825                basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` 
     826                ;; 
    814827        pentium | p5 | k5 | k6 | nexgen | viac3) 
    815828                basic_machine=i586-pc 
     
    868881                os=-pw32 
    869882                ;; 
     883        rdos) 
     884                basic_machine=i386-pc 
     885                os=-rdos 
     886                ;; 
    870887        rom68k) 
    871888                basic_machine=m68k-rom68k 
     
    893910        sb1el) 
    894911                basic_machine=mipsisa64sb1el-unknown 
     912                ;; 
     913        sde) 
     914                basic_machine=mipsisa32-sde 
     915                os=-elf 
    895916                ;; 
    896917        sei) 
     
    11101131                basic_machine=sh-unknown 
    11111132                ;; 
    1112         sparc | sparcv8 | sparcv9 | sparcv9b
     1133        sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v
    11131134                basic_machine=sparc-sun 
    11141135                ;; 
     
    11831204              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ 
    11841205              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ 
    1185               | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \ 
     1206              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ 
     1207              | -openbsd* | -solidbsd* \ 
    11861208              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ 
    11871209              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ 
     
    11901212              | -chorusos* | -chorusrdb* \ 
    11911213              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ 
    1192               | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \ 
     1214              | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ 
     1215              | -uxpv* | -beos* | -mpeix* | -udk* \ 
    11931216              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ 
    11941217              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ 
     
    11971220              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ 
    11981221              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ 
    1199               | -skyos* | -haiku*
     1222              | -skyos* | -haiku* | -rdos* | -toppers*
    12001223        # Remember, each alternative MUST END IN *, to match a version number. 
    12011224                ;; 
     
    13491372 
    13501373case $basic_machine in 
     1374        score-*) 
     1375                os=-elf 
     1376                ;; 
     1377        spu-*) 
     1378                os=-elf 
     1379                ;; 
    13511380        *-acorn) 
    13521381                os=-riscix1.2 
     
    13581387                os=-aout 
    13591388                ;; 
    1360     c4x-* | tic4x-*) 
    1361         os=-coff 
    1362         ;; 
     1389        c4x-* | tic4x-*) 
     1390               os=-coff 
     1391               ;; 
    13631392        # This must come before the *-dec entry. 
    13641393        pdp10-*) 
  • gnuradio/trunk/dtools/bin/get-config-files

    r2054 r3720  
    33# fetch latest config.guess and config.sub 
    44 
    5 wget http://savannah.gnu.org/cgi-bin/viewcvs/config/config/config.guess?rev=HEAD&content-type=text/plain 
    6 wget http://savannah.gnu.org/cgi-bin/viewcvs/config/config/config.sub?rev=HEAD&content-type=text/plain 
     5wget 'http://savannah.gnu.org/cgi-bin/viewcvs/config/config/config.guess?rev=HEAD&content-type=text/plain' 
     6wget 'http://savannah.gnu.org/cgi-bin/viewcvs/config/config/config.sub?rev=HEAD&content-type=text/plain'