Changeset 3720
- Timestamp:
- 10/05/06 21:49:05
- Files:
-
- gnuradio/trunk/config.guess (modified) (12 diffs)
- gnuradio/trunk/config.sub (modified) (22 diffs)
- gnuradio/trunk/dtools/bin/get-config-files (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
gnuradio/trunk/config.guess
r2237 r3720 2 2 # Attempt to guess a canonical system name. 3 3 # 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 7 timestamp='2006-07-02' 7 8 8 9 # This file is free software; you can redistribute it and/or modify it … … 107 108 trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; 108 109 : ${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" ; } || 110 111 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || 111 112 { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || … … 207 208 echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} 208 209 exit ;; 210 *:SolidBSD:*:*) 211 echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} 212 exit ;; 209 213 macppc:MirBSD:*:*) 210 echo powerp pc-unknown-mirbsd${UNAME_RELEASE}214 echo powerpc-unknown-mirbsd${UNAME_RELEASE} 211 215 exit ;; 212 216 *:MirBSD:*:*) … … 765 769 exit ;; 766 770 *: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 768 779 exit ;; 769 780 i*:CYGWIN*:*) … … 780 791 echo ${UNAME_MACHINE}-pc-pw32 781 792 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} 784 798 exit ;; 785 799 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) … … 816 830 exit ;; 817 831 arm*:Linux:*:*) 832 echo ${UNAME_MACHINE}-unknown-linux-gnu 833 exit ;; 834 avr32*:Linux:*:*) 818 835 echo ${UNAME_MACHINE}-unknown-linux-gnu 819 836 exit ;; … … 852 869 #endif 853 870 EOF 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 }'`" 855 876 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } 856 877 ;; … … 871 892 #endif 872 893 EOF 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 }'`" 874 899 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } 875 900 ;; … … 919 944 sparc:Linux:*:* | sparc64:Linux:*:*) 920 945 echo ${UNAME_MACHINE}-unknown-linux-gnu 946 exit ;; 947 vax:Linux:*:*) 948 echo ${UNAME_MACHINE}-dec-linux-gnu 921 949 exit ;; 922 950 x86_64:Linux:*:*) … … 965 993 # endif 966 994 #else 967 #if def __INTEL_COMPILER995 #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) 968 996 LIBC=gnu 969 997 #else … … 975 1003 #endif 976 1004 EOF 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 }'`" 978 1010 test x"${LIBC}" != x && { 979 1011 echo "${UNAME_MACHINE}-pc-linux-${LIBC}" … … 1263 1295 i*86:skyos:*:*) 1264 1296 echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' 1297 exit ;; 1298 i*86:rdos:*:*) 1299 echo ${UNAME_MACHINE}-pc-rdos 1265 1300 exit ;; 1266 1301 esac gnuradio/trunk/config.sub
r2237 r3720 2 2 # Configuration validation subroutine script. 3 3 # 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 7 timestamp='2006-09-20' 7 8 8 9 # This file is (in principle) common to ALL GNU software. … … 120 121 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` 121 122 case $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*) 124 126 os=-$maybe_os 125 127 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` … … 240 242 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ 241 243 | 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 \ 243 245 | bfin \ 244 246 | c4x | clipper \ … … 248 250 | i370 | i860 | i960 | ia64 \ 249 251 | ip2k | iq2000 \ 250 | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \ 252 | m32c | m32r | m32rle | m68000 | m68k | m88k \ 253 | maxq | mb | microblaze | mcore \ 251 254 | mips | mipsbe | mipseb | mipsel | mipsle \ 252 255 | mips16 \ … … 266 269 | mipstx39 | mipstx39el \ 267 270 | mn10200 | mn10300 \ 268 | m s1\271 | mt \ 269 272 | msp430 \ 273 | nios | nios2 \ 270 274 | ns16k | ns32k \ 271 275 | or32 \ … … 273 277 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ 274 278 | 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 \ 276 281 | sh64 | sh64le \ 277 | sparc | sparc64 | sparc64b | sparc 86x | sparclet | sparclite \278 | sparcv8 | sparcv9 | sparcv9b \279 | s trongarm \282 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ 283 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ 284 | spu | strongarm \ 280 285 | tahoe | thumb | tic4x | tic80 | tron \ 281 286 | v850 | v850e \ 282 287 | we32k \ 283 | x86 | x scale | xscalee[bl] | xstormy16 | xtensa \288 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ 284 289 | z8k) 285 basic_machine=$basic_machine-unknown286 ;;287 m32c)288 290 basic_machine=$basic_machine-unknown 289 291 ;; … … 294 296 ;; 295 297 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) 298 ;; 299 ms1) 300 basic_machine=mt-unknown 296 301 ;; 297 302 … … 314 319 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ 315 320 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ 316 | avr-* \321 | avr-* | avr32-* \ 317 322 | bfin-* | bs2000-* \ 318 323 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ … … 325 330 | i*86-* | i860-* | i960-* | ia64-* \ 326 331 | ip2k-* | iq2000-* \ 327 | m32 r-* | m32rle-* \332 | m32c-* | m32r-* | m32rle-* \ 328 333 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ 329 334 | m88110-* | m88k-* | maxq-* | mcore-* \ … … 345 350 | mipstx39-* | mipstx39el-* \ 346 351 | mmix-* \ 347 | m s1-* \352 | mt-* \ 348 353 | msp430-* \ 354 | nios-* | nios2-* \ 349 355 | none-* | np1-* | ns16k-* | ns32k-* \ 350 356 | orion-* \ … … 353 359 | pyramid-* \ 354 360 | romp-* | rs6000-* \ 355 | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sh be-* \361 | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ 356 362 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ 357 | sparc-* | sparc64-* | sparc64b-* | sparc 86x-* | sparclet-* \363 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ 358 364 | sparclite-* \ 359 | sparcv8-* | sparcv9-* | sparcv9b-* | s trongarm-* | sv1-* | sx?-* \365 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ 360 366 | tahoe-* | thumb-* \ 361 367 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ … … 363 369 | v850-* | v850e-* | vax-* \ 364 370 | we32k-* \ 365 | x86-* | x86_64-* | x ps100-* | xscale-* | xscalee[bl]-* \371 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ 366 372 | xstormy16-* | xtensa-* \ 367 373 | ymp-* \ 368 374 | z8k-*) 369 ;;370 m32c-*)371 375 ;; 372 376 # Recognize the various machine names and aliases which stand … … 704 708 basic_machine=i386-pc 705 709 os=-msdos 710 ;; 711 ms1-*) 712 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` 706 713 ;; 707 714 mvs) … … 812 819 basic_machine=ns32k-pc532 813 820 ;; 821 pc98) 822 basic_machine=i386-pc 823 ;; 824 pc98-*) 825 basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` 826 ;; 814 827 pentium | p5 | k5 | k6 | nexgen | viac3) 815 828 basic_machine=i586-pc … … 868 881 os=-pw32 869 882 ;; 883 rdos) 884 basic_machine=i386-pc 885 os=-rdos 886 ;; 870 887 rom68k) 871 888 basic_machine=m68k-rom68k … … 893 910 sb1el) 894 911 basic_machine=mipsisa64sb1el-unknown 912 ;; 913 sde) 914 basic_machine=mipsisa32-sde 915 os=-elf 895 916 ;; 896 917 sei) … … 1110 1131 basic_machine=sh-unknown 1111 1132 ;; 1112 sparc | sparcv8 | sparcv9 | sparcv9b )1133 sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) 1113 1134 basic_machine=sparc-sun 1114 1135 ;; … … 1183 1204 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ 1184 1205 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ 1185 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \ 1206 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ 1207 | -openbsd* | -solidbsd* \ 1186 1208 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ 1187 1209 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ … … 1190 1212 | -chorusos* | -chorusrdb* \ 1191 1213 | -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* \ 1193 1216 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ 1194 1217 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ … … 1197 1220 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ 1198 1221 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ 1199 | -skyos* | -haiku* )1222 | -skyos* | -haiku* | -rdos* | -toppers*) 1200 1223 # Remember, each alternative MUST END IN *, to match a version number. 1201 1224 ;; … … 1349 1372 1350 1373 case $basic_machine in 1374 score-*) 1375 os=-elf 1376 ;; 1377 spu-*) 1378 os=-elf 1379 ;; 1351 1380 *-acorn) 1352 1381 os=-riscix1.2 … … 1358 1387 os=-aout 1359 1388 ;; 1360 c4x-* | tic4x-*)1361 os=-coff1362 ;;1389 c4x-* | tic4x-*) 1390 os=-coff 1391 ;; 1363 1392 # This must come before the *-dec entry. 1364 1393 pdp10-*) gnuradio/trunk/dtools/bin/get-config-files
r2054 r3720 3 3 # fetch latest config.guess and config.sub 4 4 5 wget http://savannah.gnu.org/cgi-bin/viewcvs/config/config/config.guess?rev=HEAD&content-type=text/plain6 wget http://savannah.gnu.org/cgi-bin/viewcvs/config/config/config.sub?rev=HEAD&content-type=text/plain5 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'
