source:
patches/module-init-tools-3.2.2-config_update-1.patch@
425f616
Last change on this file since 425f616 was dd04f68, checked in by , 19 years ago | |
---|---|
|
|
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 1 1 #! /bin/sh 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 Free Software Foundation, Inc.4 # 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. 5 5 6 timestamp='200 2-09-03'6 timestamp='2004-11-12' 7 7 8 8 # This file is free software; you can redistribute it and/or modify it 9 9 # under the terms of the GNU General Public License as published by … … 53 53 GNU config.guess ($timestamp) 54 54 55 55 Originally written by Per Bothner. 56 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 56 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 57 57 Free Software Foundation, Inc. 58 58 59 59 This is free software; see the source for copying conditions. There is NO … … 98 98 # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still 99 99 # use `HOST_CC' if defined, but it is deprecated. 100 100 101 # This shell variable is my proudest work .. or something. --bje101 # Portable tmp directory creation inspired by the Autoconf team. 102 102 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 ; 103 set_cc_for_build=' 104 trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; 105 trap "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 ; } ; 111 dummy=$tmp/dummy ; 112 tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; 109 113 case $CC_FOR_BUILD,$HOST_CC,$CC in 110 114 ,,) echo "int x;" > $dummy.c ; 111 115 for c in cc gcc c89 c99 ; do 112 if ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ; then116 if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then 113 117 CC_FOR_BUILD="$c"; break ; 114 118 fi ; 115 119 done ; 116 rm -f $files ;117 120 if test x"$CC_FOR_BUILD" = x ; then 118 121 CC_FOR_BUILD=no_compiler_found ; 119 122 fi 120 123 ;; 121 124 ,,*) CC_FOR_BUILD=$CC ;; 122 125 ,*,*) CC_FOR_BUILD=$HOST_CC ;; 123 esac ; 124 unset files' 126 esac ;' 125 127 126 128 # This is needed to find uname on a Pyramid OSx when run in the BSD universe. 127 129 # (ghazi@noc.rutgers.edu 1994-08-24) … … 178 180 ;; 179 181 esac 180 182 # 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 182 195 # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: 183 196 # contains redundant information, the shorter form: 184 197 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. 185 198 echo "${machine}-${os}${release}" 186 199 exit 0 ;; 200 amd64:OpenBSD:*:*) 201 echo x86_64-unknown-openbsd${UNAME_RELEASE} 202 exit 0 ;; 187 203 amiga:OpenBSD:*:*) 188 204 echo m68k-unknown-openbsd${UNAME_RELEASE} 189 205 exit 0 ;; 190 arc:OpenBSD:*:*)191 echo mipsel-unknown-openbsd${UNAME_RELEASE}206 cats:OpenBSD:*:*) 207 echo arm-unknown-openbsd${UNAME_RELEASE} 192 208 exit 0 ;; 193 209 hp300:OpenBSD:*:*) 194 210 echo m68k-unknown-openbsd${UNAME_RELEASE} 195 211 exit 0 ;; 212 luna88k:OpenBSD:*:*) 213 echo m88k-unknown-openbsd${UNAME_RELEASE} 214 exit 0 ;; 196 215 mac68k:OpenBSD:*:*) 197 216 echo m68k-unknown-openbsd${UNAME_RELEASE} 198 217 exit 0 ;; … … 208 227 mvmeppc:OpenBSD:*:*) 209 228 echo powerpc-unknown-openbsd${UNAME_RELEASE} 210 229 exit 0 ;; 211 pmax:OpenBSD:*:*)212 echo mipsel-unknown-openbsd${UNAME_RELEASE}213 exit 0 ;;214 230 sgi:OpenBSD:*:*) 215 echo mips eb-unknown-openbsd${UNAME_RELEASE}231 echo mips64-unknown-openbsd${UNAME_RELEASE} 216 232 exit 0 ;; 217 233 sun3:OpenBSD:*:*) 218 234 echo m68k-unknown-openbsd${UNAME_RELEASE} 219 235 exit 0 ;; 220 wgrisc:OpenBSD:*:*)221 echo mipsel-unknown-openbsd${UNAME_RELEASE}222 exit 0 ;;223 236 *:OpenBSD:*:*) 224 237 echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE} 225 238 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 ;; 226 248 alpha:OSF1:*:*) 227 if test $UNAME_RELEASE = "V4.0"; then 249 case $UNAME_RELEASE in 250 *4.0) 228 251 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. 230 295 # A Vn.n version is a released version. 231 296 # A Tn.n version is a released field test version. 232 297 # A Xn.n version is an unreleased experimental baselevel. 233 298 # 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'` 291 300 exit 0 ;; 292 301 Alpha\ *:Windows_NT*:*) 293 302 # How do we know it's Interix rather than the generic POSIX subsystem? … … 310 319 *:OS/390:*:*) 311 320 echo i370-ibm-openedition 312 321 exit 0 ;; 322 *:z/VM:*:*) 323 echo s390-ibm-zvmoe 324 exit 0 ;; 325 *:OS400:*:*) 326 echo powerpc-ibm-os400 327 exit 0 ;; 313 328 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) 314 329 echo arm-acorn-riscix${UNAME_RELEASE} 315 330 exit 0;; … … 327 342 NILE*:*:*:dcosx) 328 343 echo pyramid-pyramid-svr4 329 344 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*) 331 349 case `/usr/bin/uname -p` in 332 350 sparc) echo sparc-icl-nx7 && exit 0 ;; 333 351 esac ;; … … 399 417 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) 400 418 echo m68k-unknown-mint${UNAME_RELEASE} 401 419 exit 0 ;; 420 m68k:machten:*:*) 421 echo m68k-apple-machten${UNAME_RELEASE} 422 exit 0 ;; 402 423 powerpc:machten:*:*) 403 424 echo powerpc-apple-machten${UNAME_RELEASE} 404 425 exit 0 ;; … … 437 458 exit (-1); 438 459 } 439 460 EOF 440 $CC_FOR_BUILD $dummy.c -o $dummy\461 $CC_FOR_BUILD -o $dummy $dummy.c \ 441 462 && $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 444 464 echo mips-mips-riscos${UNAME_RELEASE} 445 465 exit 0 ;; 446 466 Motorola:PowerMAX_OS:*:*) … … 449 469 Motorola:*:4.3:PL8-*) 450 470 echo powerpc-harris-powermax 451 471 exit 0 ;; 452 Night_Hawk:*:*:PowerMAX_OS )472 Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) 453 473 echo powerpc-harris-powermax 454 474 exit 0 ;; 455 475 Night_Hawk:Power_UNIX:*:*) … … 524 544 exit(0); 525 545 } 526 546 EOF 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 529 548 echo rs6000-ibm-aix3.2.5 530 549 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then 531 550 echo rs6000-ibm-aix3.2.4 … … 623 642 exit (0); 624 643 } 625 644 EOF 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 629 647 fi ;; 630 648 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 631 660 echo ${HP_ARCH}-hp-hpux${HPUX_REV} 632 661 exit 0 ;; 633 662 ia64:HP-UX:*:*) … … 661 690 exit (0); 662 691 } 663 692 EOF 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 666 694 echo unknown-hitachi-hiuxwe2 667 695 exit 0 ;; 668 696 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) … … 720 748 CRAY*TS:*:*:*) 721 749 echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 722 750 exit 0 ;; 723 CRAY*T3D:*:*:*)724 echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'725 exit 0 ;;726 751 CRAY*T3E:*:*:*) 727 752 echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 728 753 exit 0 ;; 729 754 CRAY*SV1:*:*:*) 730 755 echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 731 756 exit 0 ;; 757 *:UNICOS/mp:*:*) 758 echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 759 exit 0 ;; 732 760 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) 733 761 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` 734 762 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` 735 763 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` 736 764 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" 737 765 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 ;; 738 771 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) 739 772 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} 740 773 exit 0 ;; … … 745 778 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} 746 779 exit 0 ;; 747 780 *: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/[-(].*//'` 761 782 exit 0 ;; 762 783 i*:CYGWIN*:*) 763 784 echo ${UNAME_MACHINE}-pc-cygwin … … 768 789 i*:PW*:*) 769 790 echo ${UNAME_MACHINE}-pc-pw32 770 791 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 773 797 exit 0 ;; 774 798 i*:Windows_NT*:* | Pentium*:Windows_NT*:*) 775 799 # How do we know it's Interix rather than the generic POSIX subsystem? 776 800 # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we 777 801 # UNAME_MACHINE based on the output of uname instead of i386? 778 echo i 386-pc-interix802 echo i586-pc-interix 779 803 exit 0 ;; 780 804 i*:UWIN*:*) 781 805 echo ${UNAME_MACHINE}-pc-uwin … … 787 811 echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 788 812 exit 0 ;; 789 813 *:GNU:*:*) 814 # the GNU system 790 815 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` 791 816 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 ;; 792 821 i*86:Minix:*:*) 793 822 echo ${UNAME_MACHINE}-pc-minix 794 823 exit 0 ;; 795 824 arm*:Linux:*:*) 796 825 echo ${UNAME_MACHINE}-unknown-linux-gnu 797 826 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 ;; 798 836 ia64:Linux:*:*) 799 837 echo ${UNAME_MACHINE}-unknown-linux-gnu 800 838 exit 0 ;; 839 m32r*:Linux:*:*) 840 echo ${UNAME_MACHINE}-unknown-linux-gnu 841 exit 0 ;; 801 842 m68*:Linux:*:*) 802 843 echo ${UNAME_MACHINE}-unknown-linux-gnu 803 844 exit 0 ;; … … 818 859 #endif 819 860 EOF 820 861 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 879 EOF 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 823 882 ;; 824 883 ppc:Linux:*:*) 825 884 echo powerpc-unknown-linux-gnu … … 855 914 s390:Linux:*:* | s390x:Linux:*:*) 856 915 echo ${UNAME_MACHINE}-ibm-linux 857 916 exit 0 ;; 917 sh64*:Linux:*:*) 918 echo ${UNAME_MACHINE}-unknown-linux-gnu 919 exit 0 ;; 858 920 sh*:Linux:*:*) 859 921 echo ${UNAME_MACHINE}-unknown-linux-gnu 860 922 exit 0 ;; … … 912 974 LIBC=gnuaout 913 975 #endif 914 976 #endif 977 #ifdef __dietlibc__ 978 LIBC=dietlibc 979 #endif 915 980 EOF 916 981 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` 917 rm -f $dummy.c && rmdir $tmpdir918 982 test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0 919 983 test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0 920 984 ;; … … 932 996 # Use sysv4.2uw... so that sysv4* matches it. 933 997 echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} 934 998 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 ;; 935 1019 i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) 936 1020 UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` 937 1021 if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then … … 966 1050 echo ${UNAME_MACHINE}-pc-sysv32 967 1051 fi 968 1052 exit 0 ;; 969 i*86:*DOS:*:*)970 echo ${UNAME_MACHINE}-pc-msdosdjgpp971 exit 0 ;;972 1053 pc:*:*:*) 973 1054 # Left here for compatibility: 974 1055 # uname -m prints for DJGPP always 'pc', but it prints nothing about … … 995 1076 mc68k:UNIX:SYSTEM5:3.51m) 996 1077 echo m68k-convergent-sysv 997 1078 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]*:*) 999 1083 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) 1001 1085 OS_REL='' 1002 1086 test -r /etc/.relid \ 1003 1087 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` … … 1014 1098 mc68030:UNIX_System_V:4.*:*) 1015 1099 echo m68k-atari-sysv4 1016 1100 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 ;;1020 1101 TSUNAMI:LynxOS:2.*:*) 1021 1102 echo sparc-unknown-lynxos${UNAME_RELEASE} 1022 1103 exit 0 ;; … … 1098 1179 echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} 1099 1180 exit 0 ;; 1100 1181 *: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} 1102 1188 exit 0 ;; 1103 1189 *:procnto*:*:* | *:QNX:[0123456789]*:*) 1104 1190 UNAME_PROCESSOR=`uname -p` … … 1111 1197 *:QNX:*:4*) 1112 1198 echo i386-pc-qnx 1113 1199 exit 0 ;; 1114 NSR- [DGKLNPTVW]:NONSTOP_KERNEL:*:*)1200 NSR-?:NONSTOP_KERNEL:*:*) 1115 1201 echo nsr-tandem-nsk${UNAME_RELEASE} 1116 1202 exit 0 ;; 1117 1203 *:NonStop-UX:*:*) … … 1134 1220 fi 1135 1221 echo ${UNAME_MACHINE}-unknown-plan9 1136 1222 exit 0 ;; 1137 i*86:OS/2:*:*)1138 # If we were able to find `uname', then EMX Unix compatibility1139 # is probably installed.1140 echo ${UNAME_MACHINE}-pc-os2-emx1141 exit 0 ;;1142 1223 *:TOPS-10:*:*) 1143 1224 echo pdp10-unknown-tops10 1144 1225 exit 0 ;; … … 1157 1238 *:ITS:*:*) 1158 1239 echo pdp10-unknown-its 1159 1240 exit 0 ;; 1160 i*86:XTS-300:*:STOP)1161 echo ${UNAME_MACHINE}-unknown-stop 1241 SEI:*:*:SEIUX) 1242 echo mips-sei-seiux${UNAME_RELEASE} 1162 1243 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 1165 1256 exit 0 ;; 1166 1257 esac 1167 1258 … … 1283 1374 } 1284 1375 EOF 1285 1376 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 1288 1378 1289 1379 # Apollos put the system type in the environment. 1290 1380 -
module-init-tools-3.1
diff -Naur module-init-tools-3.1.orig/config.sub module-init-tools-3.1/config.sub
old new 1 1 #! /bin/sh 2 2 # Configuration validation subroutine script. 3 3 # 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. 5 5 6 timestamp='200 2-09-05'6 timestamp='2004-11-30' 7 7 8 8 # This file is (in principle) common to ALL GNU software. 9 9 # The presence of a machine in this file suggests that SOME GNU software … … 70 70 version="\ 71 71 GNU config.sub ($timestamp) 72 72 73 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 73 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 74 74 Free Software Foundation, Inc. 75 75 76 76 This is free software; see the source for copying conditions. There is NO … … 118 118 # Here we must recognize all the valid KERNEL-OS combinations. 119 119 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` 120 120 case $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*) 122 123 os=-$maybe_os 123 124 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` 124 125 ;; … … 144 145 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ 145 146 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ 146 147 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ 147 -apple | -axis )148 -apple | -axis | -knuth | -cray) 148 149 os= 149 150 basic_machine=$1 150 151 ;; … … 228 229 | a29k \ 229 230 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ 230 231 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ 232 | am33_2.0 \ 231 233 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ 232 | c lipper \234 | c4x | clipper \ 233 235 | d10v | d30v | dlx | dsp16xx \ 234 236 | fr30 | frv \ 235 237 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ 236 238 | i370 | i860 | i960 | ia64 \ 237 | ip2k \238 | m32r | m 68000 | m68k | m88k| mcore \239 | ip2k | iq2000 \ 240 | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \ 239 241 | mips | mipsbe | mipseb | mipsel | mipsle \ 240 242 | mips16 \ 241 243 | mips64 | mips64el \ … … 245 247 | mips64vr4300 | mips64vr4300el \ 246 248 | mips64vr5000 | mips64vr5000el \ 247 249 | mipsisa32 | mipsisa32el \ 250 | mipsisa32r2 | mipsisa32r2el \ 248 251 | mipsisa64 | mipsisa64el \ 252 | mipsisa64r2 | mipsisa64r2el \ 249 253 | mipsisa64sb1 | mipsisa64sb1el \ 250 254 | mipsisa64sr71k | mipsisa64sr71kel \ 251 255 | mipstx39 | mipstx39el \ 252 256 | mn10200 | mn10300 \ 257 | msp430 \ 253 258 | ns16k | ns32k \ 254 259 | openrisc | or32 \ 255 260 | pdp10 | pdp11 | pj | pjl \ 256 261 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ 257 262 | pyramid \ 258 | sh | sh[1234] | sh 3e | 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 \ 259 264 | sh64 | sh64le \ 260 | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv 9 | sparcv9b \265 | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \ 261 266 | strongarm \ 262 | tahoe | thumb | tic 80 | tron \267 | tahoe | thumb | tic4x | tic80 | tron \ 263 268 | v850 | v850e \ 264 269 | we32k \ 265 | x86 | xscale | xs tormy16 | xtensa \270 | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \ 266 271 | z8k) 267 272 basic_machine=$basic_machine-unknown 268 273 ;; … … 294 299 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ 295 300 | avr-* \ 296 301 | bs2000-* \ 297 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* \298 | clipper-* | c ydra-* \302 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ 303 | clipper-* | craynv-* | cydra-* \ 299 304 | d10v-* | d30v-* | dlx-* \ 300 305 | elxsi-* \ 301 306 | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ 302 307 | h8300-* | h8500-* \ 303 308 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ 304 309 | i*86-* | i860-* | i960-* | ia64-* \ 305 | ip2k-* \306 | m32r-* \310 | ip2k-* | iq2000-* \ 311 | m32r-* | m32rle-* \ 307 312 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ 308 | m88110-* | m88k-* | m core-* \313 | m88110-* | m88k-* | maxq-* | mcore-* \ 309 314 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ 310 315 | mips16-* \ 311 316 | mips64-* | mips64el-* \ … … 315 320 | mips64vr4300-* | mips64vr4300el-* \ 316 321 | mips64vr5000-* | mips64vr5000el-* \ 317 322 | mipsisa32-* | mipsisa32el-* \ 323 | mipsisa32r2-* | mipsisa32r2el-* \ 318 324 | mipsisa64-* | mipsisa64el-* \ 325 | mipsisa64r2-* | mipsisa64r2el-* \ 319 326 | mipsisa64sb1-* | mipsisa64sb1el-* \ 320 327 | mipsisa64sr71k-* | mipsisa64sr71kel-* \ 321 | mipstx39 | mipstx39el \ 328 | mipstx39-* | mipstx39el-* \ 329 | mmix-* \ 330 | msp430-* \ 322 331 | none-* | np1-* | ns16k-* | ns32k-* \ 323 332 | orion-* \ 324 333 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ 325 334 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ 326 335 | pyramid-* \ 327 336 | romp-* | rs6000-* \ 328 | sh-* | sh[1234]-* | sh 3e-* | sh[34]eb-* | shbe-* \337 | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \ 329 338 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ 330 339 | 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-* \ 333 344 | v850-* | v850e-* | vax-* \ 334 345 | we32k-* \ 335 | x86-* | x86_64-* | xps100-* | xscale-* | xs tormy16-* \336 | x tensa-* \346 | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \ 347 | xstormy16-* | xtensa-* \ 337 348 | ymp-* \ 338 349 | z8k-*) 339 350 ;; … … 353 364 basic_machine=a29k-amd 354 365 os=-udi 355 366 ;; 367 abacus) 368 basic_machine=abacus-unknown 369 ;; 356 370 adobe68k) 357 371 basic_machine=m68010-adobe 358 372 os=-scout … … 367 381 basic_machine=a29k-none 368 382 os=-bsd 369 383 ;; 384 amd64) 385 basic_machine=x86_64-pc 386 ;; 387 amd64-*) 388 basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` 389 ;; 370 390 amdahl) 371 391 basic_machine=580-amdahl 372 392 os=-sysv … … 426 446 basic_machine=j90-cray 427 447 os=-unicos 428 448 ;; 449 craynv) 450 basic_machine=craynv-cray 451 os=-unicosmp 452 ;; 453 cr16c) 454 basic_machine=cr16c-unknown 455 os=-elf 456 ;; 429 457 crds | unos) 430 458 basic_machine=m68k-crds 431 459 ;; 460 crisv32 | crisv32-* | etraxfs*) 461 basic_machine=crisv32-axis 462 ;; 432 463 cris | cris-* | etrax*) 433 464 basic_machine=cris-axis 434 465 ;; 466 crx) 467 basic_machine=crx-unknown 468 os=-elf 469 ;; 435 470 da30 | da30-*) 436 471 basic_machine=m68k-da30 437 472 ;; … … 454 489 basic_machine=m88k-motorola 455 490 os=-sysv3 456 491 ;; 492 djgpp) 493 basic_machine=i586-pc 494 os=-msdosdjgpp 495 ;; 457 496 dpx20 | dpx20-*) 458 497 basic_machine=rs6000-bull 459 498 os=-bosx … … 632 671 mips3*) 633 672 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown 634 673 ;; 635 mmix*)636 basic_machine=mmix-knuth637 os=-mmixware638 ;;639 674 monitor) 640 675 basic_machine=m68k-rom68k 641 676 os=-coff … … 727 762 basic_machine=or32-unknown 728 763 os=-coff 729 764 ;; 765 os400) 766 basic_machine=powerpc-ibm 767 os=-os400 768 ;; 730 769 OSE68000 | ose68000) 731 770 basic_machine=m68000-ericsson 732 771 os=-ose … … 758 797 pentiumpro | p6 | 6x86 | athlon | athlon_*) 759 798 basic_machine=i686-pc 760 799 ;; 761 pentiumii | pentium2 )800 pentiumii | pentium2 | pentiumiii | pentium3) 762 801 basic_machine=i686-pc 763 802 ;; 803 pentium4) 804 basic_machine=i786-pc 805 ;; 764 806 pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) 765 807 basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` 766 808 ;; 767 809 pentiumpro-* | p6-* | 6x86-* | athlon-*) 768 810 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` 769 811 ;; 770 pentiumii-* | pentium2-* )812 pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) 771 813 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` 772 814 ;; 815 pentium4-*) 816 basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` 817 ;; 773 818 pn) 774 819 basic_machine=pn-gould 775 820 ;; … … 828 873 sb1el) 829 874 basic_machine=mipsisa64sb1el-unknown 830 875 ;; 876 sei) 877 basic_machine=mips-sei 878 os=-seiux 879 ;; 831 880 sequent) 832 881 basic_machine=i386-sequent 833 882 ;; … … 835 884 basic_machine=sh-hitachi 836 885 os=-hms 837 886 ;; 887 sh64) 888 basic_machine=sh64-unknown 889 ;; 838 890 sparclite-wrs | simso-wrs) 839 891 basic_machine=sparclite-wrs 840 892 os=-vxworks … … 901 953 basic_machine=i386-sequent 902 954 os=-dynix 903 955 ;; 904 t3d)905 basic_machine=alpha-cray906 os=-unicos907 ;;908 956 t3e) 909 957 basic_machine=alphaev5-cray 910 958 os=-unicos … … 913 961 basic_machine=t90-cray 914 962 os=-unicos 915 963 ;; 916 tic4x | c4x*)917 basic_machine=tic4x-unknown918 os=-coff919 ;;920 964 tic54x | c54x*) 921 965 basic_machine=tic54x-unknown 922 966 os=-coff 923 967 ;; 968 tic55x | c55x*) 969 basic_machine=tic55x-unknown 970 os=-coff 971 ;; 972 tic6x | c6x*) 973 basic_machine=tic6x-unknown 974 os=-coff 975 ;; 924 976 tx39) 925 977 basic_machine=mipstx39-unknown 926 978 ;; … … 934 986 tower | tower-32) 935 987 basic_machine=m68k-ncr 936 988 ;; 989 tpf) 990 basic_machine=s390x-ibm 991 os=-tpf 992 ;; 937 993 udi29k) 938 994 basic_machine=a29k-amd 939 995 os=-udi … … 977 1033 basic_machine=hppa1.1-winbond 978 1034 os=-proelf 979 1035 ;; 980 windows32)981 basic_machine=i 386-pc982 os=- windows32-msvcrt1036 xbox) 1037 basic_machine=i686-pc 1038 os=-mingw32 983 1039 ;; 984 1040 xps | xps100) 985 1041 basic_machine=xps100-honeywell … … 1011 1067 romp) 1012 1068 basic_machine=romp-ibm 1013 1069 ;; 1070 mmix) 1071 basic_machine=mmix-knuth 1072 ;; 1014 1073 rs6000) 1015 1074 basic_machine=rs6000-ibm 1016 1075 ;; … … 1027 1086 we32k) 1028 1087 basic_machine=we32k-att 1029 1088 ;; 1030 sh3 | sh4 | sh 3eb | sh4eb | sh[1234]le | sh3ele)1089 sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele) 1031 1090 basic_machine=sh-unknown 1032 1091 ;; 1033 1092 sh64) 1034 1093 basic_machine=sh64-unknown 1035 1094 ;; 1036 sparc | sparcv 9 | sparcv9b)1095 sparc | sparcv8 | sparcv9 | sparcv9b) 1037 1096 basic_machine=sparc-sun 1038 1097 ;; 1039 1098 cydra) … … 1106 1165 | -aos* \ 1107 1166 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ 1108 1167 | -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* \ 1111 1171 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ 1112 1172 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ 1113 1173 | -chorusos* | -chorusrdb* \ 1114 1174 | -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* \ 1117 1177 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ 1118 1178 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ 1119 1179 | -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*) 1121 1182 # Remember, each alternative MUST END IN *, to match a version number. 1122 1183 ;; 1123 1184 -qnx*) … … 1129 1190 ;; 1130 1191 esac 1131 1192 ;; 1193 -nto-qnx*) 1194 ;; 1132 1195 -nto*) 1133 os= -nto-qnx1196 os=`echo $os | sed -e 's|nto|nto-qnx|'` 1134 1197 ;; 1135 1198 -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ 1136 1199 | -windows* | -osx | -abug | -netware* | -os9* | -beos* \ … … 1139 1202 -mac*) 1140 1203 os=`echo $os | sed -e 's|mac|macos|'` 1141 1204 ;; 1205 -linux-dietlibc) 1206 os=-linux-dietlibc 1207 ;; 1142 1208 -linux*) 1143 1209 os=`echo $os | sed -e 's|linux|linux-gnu|'` 1144 1210 ;; … … 1151 1217 -opened*) 1152 1218 os=-openedition 1153 1219 ;; 1220 -os400*) 1221 os=-os400 1222 ;; 1154 1223 -wince*) 1155 1224 os=-wince 1156 1225 ;; … … 1172 1241 -atheos*) 1173 1242 os=-atheos 1174 1243 ;; 1244 -syllable*) 1245 os=-syllable 1246 ;; 1175 1247 -386bsd) 1176 1248 os=-bsd 1177 1249 ;; … … 1194 1266 -sinix*) 1195 1267 os=-sysv4 1196 1268 ;; 1269 -tpf*) 1270 os=-tpf 1271 ;; 1197 1272 -triton*) 1198 1273 os=-sysv3 1199 1274 ;; … … 1224 1299 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) 1225 1300 os=-mint 1226 1301 ;; 1302 -aros*) 1303 os=-aros 1304 ;; 1305 -kaos*) 1306 os=-kaos 1307 ;; 1308 -zvmoe) 1309 os=-zvmoe 1310 ;; 1227 1311 -none) 1228 1312 ;; 1229 1313 *) … … 1255 1339 arm*-semi) 1256 1340 os=-aout 1257 1341 ;; 1342 c4x-* | tic4x-*) 1343 os=-coff 1344 ;; 1258 1345 # This must come before the *-dec entry. 1259 1346 pdp10-*) 1260 1347 os=-tops20 … … 1301 1388 *-ibm) 1302 1389 os=-aix 1303 1390 ;; 1391 *-knuth) 1392 os=-mmixware 1393 ;; 1304 1394 *-wec) 1305 1395 os=-proelf 1306 1396 ;; … … 1433 1523 -mvs* | -opened*) 1434 1524 vendor=ibm 1435 1525 ;; 1526 -os400*) 1527 vendor=ibm 1528 ;; 1436 1529 -ptx*) 1437 1530 vendor=sequent 1438 1531 ;; 1532 -tpf*) 1533 vendor=ibm 1534 ;; 1439 1535 -vxsim* | -vxworks* | -windiss*) 1440 1536 vendor=wrs 1441 1537 ;;
Note:
See TracBrowser
for help on using the repository browser.