• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


コミットメタ情報

リビジョン3f234ef5cc8460cfd1bfef95cc8be526001f73dd (tree)
日時2003-01-09 07:09:32
作者Chris Demetriou <cgd@goog...>
コミッターChris Demetriou

ログメッセージ

[ ChangeLog ]
2003-01-08 Chris Demetriou <cgd@broadcom.com>

        • config.guess: Update to 2003-01-03 version.
        • config.sub: Update to 2003-01-03 version.

[ dejagnu/ChangeLog ]
2003-01-08 Chris Demetriou <cgd@broadcom.com>

        • config.guess: Update to 2003-01-03 version.
        • config.sub: Update to 2003-01-03 version.

[ readline/ChangeLog.gdb ]
2003-01-08 Chris Demetriou <cgd@broadcom.com>

        • config.guess: Update to 2003-01-03 version.
        • config.sub: Update to 2003-01-03 version.

変更サマリ

差分

--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
1+2003-01-08 Chris Demetriou <cgd@broadcom.com>
2+
3+ * config.guess: Update to 2003-01-03 version.
4+ * config.sub: Update to 2003-01-03 version.
5+
16 2003-01-07 Christopher Faylor <cgf@redhat.com>
27
38 * configure: Regenerate with proper autoconf 2.13.
--- a/config.guess
+++ b/config.guess
@@ -1,9 +1,9 @@
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 Free Software Foundation, Inc.
55
6-timestamp='2002-09-12'
6+timestamp='2003-01-03'
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
@@ -98,30 +98,31 @@ trap 'exit 1' 1 2 15
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 ;
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+ { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
110+dummy=$tmp/dummy ;
111+tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
109112 case $CC_FOR_BUILD,$HOST_CC,$CC in
110113 ,,) echo "int x;" > $dummy.c ;
111114 for c in cc gcc c89 c99 ; do
112- if ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ; then
115+ if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
113116 CC_FOR_BUILD="$c"; break ;
114117 fi ;
115118 done ;
116- rm -f $files ;
117119 if test x"$CC_FOR_BUILD" = x ; then
118120 CC_FOR_BUILD=no_compiler_found ;
119121 fi
120122 ;;
121123 ,,*) CC_FOR_BUILD=$CC ;;
122124 ,*,*) CC_FOR_BUILD=$HOST_CC ;;
123-esac ;
124-unset files'
125+esac ;'
125126
126127 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
127128 # (ghazi@noc.rutgers.edu 1994-08-24)
@@ -178,7 +179,18 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
178179 ;;
179180 esac
180181 # The OS release
181- release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
182+ # Debian GNU/NetBSD machines have a different userland, and
183+ # thus, need a distinct triplet. However, they do not need
184+ # kernel version information, so it can be replaced with a
185+ # suitable tag, in the style of linux-gnu.
186+ case "${UNAME_VERSION}" in
187+ Debian*)
188+ release='-gnu'
189+ ;;
190+ *)
191+ release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
192+ ;;
193+ esac
182194 # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
183195 # contains redundant information, the shorter form:
184196 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
@@ -223,6 +235,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
223235 *:OpenBSD:*:*)
224236 echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
225237 exit 0 ;;
238+ *:MicroBSD:*:*)
239+ echo ${UNAME_MACHINE}-unknown-microbsd${UNAME_RELEASE}
240+ exit 0 ;;
226241 alpha:OSF1:*:*)
227242 if test $UNAME_RELEASE = "V4.0"; then
228243 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
@@ -257,7 +272,7 @@ main:
257272 jsr \$26,exit
258273 .end main
259274 EOF
260- $CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
275+ $CC_FOR_BUILD -o $dummy $dummy.s 2>/dev/null
261276 if test "$?" = 0 ; then
262277 case `$dummy` in
263278 0-0)
@@ -286,7 +301,6 @@ EOF
286301 ;;
287302 esac
288303 fi
289- rm -f $dummy.s $dummy && rmdir $tmpdir
290304 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
291305 exit 0 ;;
292306 Alpha\ *:Windows_NT*:*)
@@ -437,10 +451,9 @@ EOF
437451 exit (-1);
438452 }
439453 EOF
440- $CC_FOR_BUILD $dummy.c -o $dummy \
454+ $CC_FOR_BUILD -o $dummy $dummy.c \
441455 && $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
456+ && exit 0
444457 echo mips-mips-riscos${UNAME_RELEASE}
445458 exit 0 ;;
446459 Motorola:PowerMAX_OS:*:*)
@@ -449,7 +462,7 @@ EOF
449462 Motorola:*:4.3:PL8-*)
450463 echo powerpc-harris-powermax
451464 exit 0 ;;
452- Night_Hawk:*:*:PowerMAX_OS)
465+ Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
453466 echo powerpc-harris-powermax
454467 exit 0 ;;
455468 Night_Hawk:Power_UNIX:*:*)
@@ -524,8 +537,7 @@ EOF
524537 exit(0);
525538 }
526539 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
540+ $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
529541 echo rs6000-ibm-aix3.2.5
530542 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
531543 echo rs6000-ibm-aix3.2.4
@@ -623,11 +635,21 @@ EOF
623635 exit (0);
624636 }
625637 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
638+ (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
639+ test -z "$HP_ARCH" && HP_ARCH=hppa
629640 fi ;;
630641 esac
642+ if [ ${HP_ARCH} = "hppa2.0w" ]
643+ then
644+ # avoid double evaluation of $set_cc_for_build
645+ test -n "$CC_FOR_BUILD" || eval $set_cc_for_build
646+ if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null
647+ then
648+ HP_ARCH="hppa2.0w"
649+ else
650+ HP_ARCH="hppa64"
651+ fi
652+ fi
631653 echo ${HP_ARCH}-hp-hpux${HPUX_REV}
632654 exit 0 ;;
633655 ia64:HP-UX:*:*)
@@ -661,8 +683,7 @@ EOF
661683 exit (0);
662684 }
663685 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
686+ $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
666687 echo unknown-hitachi-hiuxwe2
667688 exit 0 ;;
668689 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
@@ -720,15 +741,15 @@ EOF
720741 CRAY*TS:*:*:*)
721742 echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
722743 exit 0 ;;
723- CRAY*T3D:*:*:*)
724- echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
725- exit 0 ;;
726744 CRAY*T3E:*:*:*)
727745 echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
728746 exit 0 ;;
729747 CRAY*SV1:*:*:*)
730748 echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
731749 exit 0 ;;
750+ *:UNICOS/mp:*:*)
751+ echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
752+ exit 0 ;;
732753 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
733754 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
734755 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
@@ -756,7 +777,6 @@ EOF
756777 #endif
757778 EOF
758779 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
759- rm -f $dummy.c && rmdir $tmpdir
760780 echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
761781 exit 0 ;;
762782 i*:CYGWIN*:*)
@@ -769,13 +789,16 @@ EOF
769789 echo ${UNAME_MACHINE}-pc-pw32
770790 exit 0 ;;
771791 x86:Interix*:3*)
772- echo i386-pc-interix3
792+ echo i586-pc-interix3
793+ exit 0 ;;
794+ [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
795+ echo i${UNAME_MACHINE}-pc-mks
773796 exit 0 ;;
774797 i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
775798 # How do we know it's Interix rather than the generic POSIX subsystem?
776799 # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
777800 # UNAME_MACHINE based on the output of uname instead of i386?
778- echo i386-pc-interix
801+ echo i586-pc-interix
779802 exit 0 ;;
780803 i*:UWIN*:*)
781804 echo ${UNAME_MACHINE}-pc-uwin
@@ -818,8 +841,26 @@ EOF
818841 #endif
819842 EOF
820843 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
844+ test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
845+ ;;
846+ mips64:Linux:*:*)
847+ eval $set_cc_for_build
848+ sed 's/^ //' << EOF >$dummy.c
849+ #undef CPU
850+ #undef mips64
851+ #undef mips64el
852+ #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
853+ CPU=mips64el
854+ #else
855+ #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
856+ CPU=mips64
857+ #else
858+ CPU=
859+ #endif
860+ #endif
861+EOF
862+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
863+ test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
823864 ;;
824865 ppc:Linux:*:*)
825866 echo powerpc-unknown-linux-gnu
@@ -914,7 +955,6 @@ EOF
914955 #endif
915956 EOF
916957 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
917- rm -f $dummy.c && rmdir $tmpdir
918958 test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0
919959 test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
920960 ;;
@@ -932,6 +972,23 @@ EOF
932972 # Use sysv4.2uw... so that sysv4* matches it.
933973 echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
934974 exit 0 ;;
975+ i*86:OS/2:*:*)
976+ # If we were able to find `uname', then EMX Unix compatibility
977+ # is probably installed.
978+ echo ${UNAME_MACHINE}-pc-os2-emx
979+ exit 0 ;;
980+ i*86:XTS-300:*:STOP)
981+ echo ${UNAME_MACHINE}-unknown-stop
982+ exit 0 ;;
983+ i*86:atheos:*:*)
984+ echo ${UNAME_MACHINE}-unknown-atheos
985+ exit 0 ;;
986+ i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
987+ echo i386-unknown-lynxos${UNAME_RELEASE}
988+ exit 0 ;;
989+ i*86:*DOS:*:*)
990+ echo ${UNAME_MACHINE}-pc-msdosdjgpp
991+ exit 0 ;;
935992 i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
936993 UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
937994 if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
@@ -966,9 +1023,6 @@ EOF
9661023 echo ${UNAME_MACHINE}-pc-sysv32
9671024 fi
9681025 exit 0 ;;
969- i*86:*DOS:*:*)
970- echo ${UNAME_MACHINE}-pc-msdosdjgpp
971- exit 0 ;;
9721026 pc:*:*:*)
9731027 # Left here for compatibility:
9741028 # uname -m prints for DJGPP always 'pc', but it prints nothing about
@@ -995,9 +1049,12 @@ EOF
9951049 mc68k:UNIX:SYSTEM5:3.51m)
9961050 echo m68k-convergent-sysv
9971051 exit 0 ;;
1052+ M680?0:D-NIX:5.3:*)
1053+ echo m68k-diab-dnix
1054+ exit 0 ;;
9981055 M68*:*:R3V[567]*:*)
9991056 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)
1057+ 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 | SDS2:*:4.0:3.0)
10011058 OS_REL=''
10021059 test -r /etc/.relid \
10031060 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
@@ -1014,9 +1071,6 @@ EOF
10141071 mc68030:UNIX_System_V:4.*:*)
10151072 echo m68k-atari-sysv4
10161073 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 ;;
10201074 TSUNAMI:LynxOS:2.*:*)
10211075 echo sparc-unknown-lynxos${UNAME_RELEASE}
10221076 exit 0 ;;
@@ -1134,11 +1188,6 @@ EOF
11341188 fi
11351189 echo ${UNAME_MACHINE}-unknown-plan9
11361190 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 ;;
11421191 *:TOPS-10:*:*)
11431192 echo pdp10-unknown-tops10
11441193 exit 0 ;;
@@ -1157,12 +1206,6 @@ EOF
11571206 *:ITS:*:*)
11581207 echo pdp10-unknown-its
11591208 exit 0 ;;
1160- i*86:XTS-300:*:STOP)
1161- echo ${UNAME_MACHINE}-unknown-stop
1162- exit 0 ;;
1163- i*86:atheos:*:*)
1164- echo ${UNAME_MACHINE}-unknown-atheos
1165- exit 0 ;;
11661209 esac
11671210
11681211 #echo '(No uname command or uname output not recognized.)' 1>&2
@@ -1283,8 +1326,7 @@ main ()
12831326 }
12841327 EOF
12851328
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
1329+$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && exit 0
12881330
12891331 # Apollos put the system type in the environment.
12901332
--- a/config.sub
+++ b/config.sub
@@ -1,9 +1,9 @@
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 Free Software Foundation, Inc.
55
6-timestamp='2002-09-12'
6+timestamp='2003-01-03'
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
@@ -118,7 +118,7 @@ esac
118118 # Here we must recognize all the valid KERNEL-OS combinations.
119119 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
120120 case $maybe_os in
121- nto-qnx* | linux-gnu* | freebsd*-gnu* | storm-chaos* | os2-emx* | windows32-* | rtmk-nova*)
121+ nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
122122 os=-$maybe_os
123123 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
124124 ;;
@@ -245,11 +245,13 @@ case $basic_machine in
245245 | mips64vr4300 | mips64vr4300el \
246246 | mips64vr5000 | mips64vr5000el \
247247 | mipsisa32 | mipsisa32el \
248+ | mipsisa32r2 | mipsisa32r2el \
248249 | mipsisa64 | mipsisa64el \
249250 | mipsisa64sb1 | mipsisa64sb1el \
250251 | mipsisa64sr71k | mipsisa64sr71kel \
251252 | mipstx39 | mipstx39el \
252253 | mn10200 | mn10300 \
254+ | msp430 \
253255 | ns16k | ns32k \
254256 | openrisc | or32 \
255257 | pdp10 | pdp11 | pj | pjl \
@@ -315,11 +317,13 @@ case $basic_machine in
315317 | mips64vr4300-* | mips64vr4300el-* \
316318 | mips64vr5000-* | mips64vr5000el-* \
317319 | mipsisa32-* | mipsisa32el-* \
320+ | mipsisa32r2-* | mipsisa32r2el-* \
318321 | mipsisa64-* | mipsisa64el-* \
319322 | mipsisa64sb1-* | mipsisa64sb1el-* \
320323 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
321- | mipstx39 | mipstx39el \
322- | none-* | np1-* | ns16k-* | ns32k-* \
324+ | mipstx39-* | mipstx39el-* \
325+ | msp430-* \
326+ | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
323327 | orion-* \
324328 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
325329 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
@@ -716,6 +720,10 @@ case $basic_machine in
716720 np1)
717721 basic_machine=np1-gould
718722 ;;
723+ nv1)
724+ basic_machine=nv1-cray
725+ os=-unicosmp
726+ ;;
719727 nsr-tandem)
720728 basic_machine=nsr-tandem
721729 ;;
@@ -901,10 +909,6 @@ case $basic_machine in
901909 basic_machine=i386-sequent
902910 os=-dynix
903911 ;;
904- t3d)
905- basic_machine=alpha-cray
906- os=-unicos
907- ;;
908912 t3e)
909913 basic_machine=alphaev5-cray
910914 os=-unicos
@@ -977,10 +981,6 @@ case $basic_machine in
977981 basic_machine=hppa1.1-winbond
978982 os=-proelf
979983 ;;
980- windows32)
981- basic_machine=i386-pc
982- os=-windows32-msvcrt
983- ;;
984984 xps | xps100)
985985 basic_machine=xps100-honeywell
986986 ;;
@@ -1113,11 +1113,12 @@ case $os in
11131113 | -chorusos* | -chorusrdb* \
11141114 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
11151115 | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
1116- | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
1116+ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
11171117 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
11181118 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
11191119 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1120- | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* | -powermax*)
1120+ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1121+ | -powermax* | -dnix* | -microbsd*)
11211122 # Remember, each alternative MUST END IN *, to match a version number.
11221123 ;;
11231124 -qnx*)
@@ -1129,8 +1130,10 @@ case $os in
11291130 ;;
11301131 esac
11311132 ;;
1133+ -nto-qnx*)
1134+ ;;
11321135 -nto*)
1133- os=-nto-qnx
1136+ os=`echo $os | sed -e 's|nto|nto-qnx|'`
11341137 ;;
11351138 -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
11361139 | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
--- a/readline/ChangeLog.gdb
+++ b/readline/ChangeLog.gdb
@@ -1,3 +1,8 @@
1+2003-01-08 Chris Demetriou <cgd@broadcom.com>
2+
3+ * config.guess: Update to 2003-01-03 version.
4+ * config.sub: Update to 2003-01-03 version.
5+
16 2002-12-16 Christopher Faylor <cgf@redhat.com>
27
38 * configure.in: Remove --enable-shared option. It shouldn't be used
--- a/readline/support/config.guess
+++ b/readline/support/config.guess
@@ -1,9 +1,9 @@
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 Free Software Foundation, Inc.
55
6-timestamp='2002-08-23'
6+timestamp='2003-01-03'
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
@@ -98,30 +98,31 @@ trap 'exit 1' 1 2 15
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 ;
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+ { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
110+dummy=$tmp/dummy ;
111+tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
109112 case $CC_FOR_BUILD,$HOST_CC,$CC in
110113 ,,) echo "int x;" > $dummy.c ;
111114 for c in cc gcc c89 c99 ; do
112- if ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ; then
115+ if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
113116 CC_FOR_BUILD="$c"; break ;
114117 fi ;
115118 done ;
116- rm -f $files ;
117119 if test x"$CC_FOR_BUILD" = x ; then
118120 CC_FOR_BUILD=no_compiler_found ;
119121 fi
120122 ;;
121123 ,,*) CC_FOR_BUILD=$CC ;;
122124 ,*,*) CC_FOR_BUILD=$HOST_CC ;;
123-esac ;
124-unset files'
125+esac ;'
125126
126127 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
127128 # (ghazi@noc.rutgers.edu 1994-08-24)
@@ -178,7 +179,18 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
178179 ;;
179180 esac
180181 # The OS release
181- release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
182+ # Debian GNU/NetBSD machines have a different userland, and
183+ # thus, need a distinct triplet. However, they do not need
184+ # kernel version information, so it can be replaced with a
185+ # suitable tag, in the style of linux-gnu.
186+ case "${UNAME_VERSION}" in
187+ Debian*)
188+ release='-gnu'
189+ ;;
190+ *)
191+ release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
192+ ;;
193+ esac
182194 # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
183195 # contains redundant information, the shorter form:
184196 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
@@ -223,6 +235,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
223235 *:OpenBSD:*:*)
224236 echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
225237 exit 0 ;;
238+ *:MicroBSD:*:*)
239+ echo ${UNAME_MACHINE}-unknown-microbsd${UNAME_RELEASE}
240+ exit 0 ;;
226241 alpha:OSF1:*:*)
227242 if test $UNAME_RELEASE = "V4.0"; then
228243 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
@@ -257,7 +272,7 @@ main:
257272 jsr \$26,exit
258273 .end main
259274 EOF
260- $CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
275+ $CC_FOR_BUILD -o $dummy $dummy.s 2>/dev/null
261276 if test "$?" = 0 ; then
262277 case `$dummy` in
263278 0-0)
@@ -286,7 +301,6 @@ EOF
286301 ;;
287302 esac
288303 fi
289- rm -f $dummy.s $dummy && rmdir $tmpdir
290304 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
291305 exit 0 ;;
292306 Alpha\ *:Windows_NT*:*)
@@ -437,16 +451,18 @@ EOF
437451 exit (-1);
438452 }
439453 EOF
440- $CC_FOR_BUILD $dummy.c -o $dummy \
454+ $CC_FOR_BUILD -o $dummy $dummy.c \
441455 && $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
456+ && exit 0
444457 echo mips-mips-riscos${UNAME_RELEASE}
445458 exit 0 ;;
446459 Motorola:PowerMAX_OS:*:*)
447460 echo powerpc-motorola-powermax
448461 exit 0 ;;
449- Night_Hawk:*:*:PowerMAX_OS)
462+ Motorola:*:4.3:PL8-*)
463+ echo powerpc-harris-powermax
464+ exit 0 ;;
465+ Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
450466 echo powerpc-harris-powermax
451467 exit 0 ;;
452468 Night_Hawk:Power_UNIX:*:*)
@@ -521,8 +537,7 @@ EOF
521537 exit(0);
522538 }
523539 EOF
524- $CC_FOR_BUILD $dummy.c -o $dummy && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0
525- rm -f $dummy.c $dummy && rmdir $tmpdir
540+ $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
526541 echo rs6000-ibm-aix3.2.5
527542 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
528543 echo rs6000-ibm-aix3.2.4
@@ -620,11 +635,21 @@ EOF
620635 exit (0);
621636 }
622637 EOF
623- (CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null) && HP_ARCH=`$dummy`
624- if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi
625- rm -f $dummy.c $dummy && rmdir $tmpdir
638+ (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
639+ test -z "$HP_ARCH" && HP_ARCH=hppa
626640 fi ;;
627641 esac
642+ if [ ${HP_ARCH} = "hppa2.0w" ]
643+ then
644+ # avoid double evaluation of $set_cc_for_build
645+ test -n "$CC_FOR_BUILD" || eval $set_cc_for_build
646+ if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null
647+ then
648+ HP_ARCH="hppa2.0w"
649+ else
650+ HP_ARCH="hppa64"
651+ fi
652+ fi
628653 echo ${HP_ARCH}-hp-hpux${HPUX_REV}
629654 exit 0 ;;
630655 ia64:HP-UX:*:*)
@@ -658,8 +683,7 @@ EOF
658683 exit (0);
659684 }
660685 EOF
661- $CC_FOR_BUILD $dummy.c -o $dummy && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0
662- rm -f $dummy.c $dummy && rmdir $tmpdir
686+ $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
663687 echo unknown-hitachi-hiuxwe2
664688 exit 0 ;;
665689 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
@@ -717,15 +741,15 @@ EOF
717741 CRAY*TS:*:*:*)
718742 echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
719743 exit 0 ;;
720- CRAY*T3D:*:*:*)
721- echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
722- exit 0 ;;
723744 CRAY*T3E:*:*:*)
724745 echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
725746 exit 0 ;;
726747 CRAY*SV1:*:*:*)
727748 echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
728749 exit 0 ;;
750+ *:UNICOS/mp:*:*)
751+ echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
752+ exit 0 ;;
729753 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
730754 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
731755 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
@@ -753,7 +777,6 @@ EOF
753777 #endif
754778 EOF
755779 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
756- rm -f $dummy.c && rmdir $tmpdir
757780 echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
758781 exit 0 ;;
759782 i*:CYGWIN*:*)
@@ -766,13 +789,16 @@ EOF
766789 echo ${UNAME_MACHINE}-pc-pw32
767790 exit 0 ;;
768791 x86:Interix*:3*)
769- echo i386-pc-interix3
792+ echo i586-pc-interix3
793+ exit 0 ;;
794+ [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
795+ echo i${UNAME_MACHINE}-pc-mks
770796 exit 0 ;;
771797 i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
772798 # How do we know it's Interix rather than the generic POSIX subsystem?
773799 # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
774800 # UNAME_MACHINE based on the output of uname instead of i386?
775- echo i386-pc-interix
801+ echo i586-pc-interix
776802 exit 0 ;;
777803 i*:UWIN*:*)
778804 echo ${UNAME_MACHINE}-pc-uwin
@@ -815,8 +841,26 @@ EOF
815841 #endif
816842 EOF
817843 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
818- rm -f $dummy.c && rmdir $tmpdir
819- test x"${CPU}" != x && echo "${CPU}-pc-linux-gnu" && exit 0
844+ test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
845+ ;;
846+ mips64:Linux:*:*)
847+ eval $set_cc_for_build
848+ sed 's/^ //' << EOF >$dummy.c
849+ #undef CPU
850+ #undef mips64
851+ #undef mips64el
852+ #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
853+ CPU=mips64el
854+ #else
855+ #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
856+ CPU=mips64
857+ #else
858+ CPU=
859+ #endif
860+ #endif
861+EOF
862+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
863+ test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
820864 ;;
821865 ppc:Linux:*:*)
822866 echo powerpc-unknown-linux-gnu
@@ -911,7 +955,6 @@ EOF
911955 #endif
912956 EOF
913957 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
914- rm -f $dummy.c && rmdir $tmpdir
915958 test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0
916959 test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
917960 ;;
@@ -929,6 +972,23 @@ EOF
929972 # Use sysv4.2uw... so that sysv4* matches it.
930973 echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
931974 exit 0 ;;
975+ i*86:OS/2:*:*)
976+ # If we were able to find `uname', then EMX Unix compatibility
977+ # is probably installed.
978+ echo ${UNAME_MACHINE}-pc-os2-emx
979+ exit 0 ;;
980+ i*86:XTS-300:*:STOP)
981+ echo ${UNAME_MACHINE}-unknown-stop
982+ exit 0 ;;
983+ i*86:atheos:*:*)
984+ echo ${UNAME_MACHINE}-unknown-atheos
985+ exit 0 ;;
986+ i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
987+ echo i386-unknown-lynxos${UNAME_RELEASE}
988+ exit 0 ;;
989+ i*86:*DOS:*:*)
990+ echo ${UNAME_MACHINE}-pc-msdosdjgpp
991+ exit 0 ;;
932992 i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
933993 UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
934994 if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
@@ -963,9 +1023,6 @@ EOF
9631023 echo ${UNAME_MACHINE}-pc-sysv32
9641024 fi
9651025 exit 0 ;;
966- i*86:*DOS:*:*)
967- echo ${UNAME_MACHINE}-pc-msdosdjgpp
968- exit 0 ;;
9691026 pc:*:*:*)
9701027 # Left here for compatibility:
9711028 # uname -m prints for DJGPP always 'pc', but it prints nothing about
@@ -992,9 +1049,12 @@ EOF
9921049 mc68k:UNIX:SYSTEM5:3.51m)
9931050 echo m68k-convergent-sysv
9941051 exit 0 ;;
1052+ M680?0:D-NIX:5.3:*)
1053+ echo m68k-diab-dnix
1054+ exit 0 ;;
9951055 M68*:*:R3V[567]*:*)
9961056 test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
997- 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)
1057+ 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 | SDS2:*:4.0:3.0)
9981058 OS_REL=''
9991059 test -r /etc/.relid \
10001060 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
@@ -1011,9 +1071,6 @@ EOF
10111071 mc68030:UNIX_System_V:4.*:*)
10121072 echo m68k-atari-sysv4
10131073 exit 0 ;;
1014- i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
1015- echo i386-unknown-lynxos${UNAME_RELEASE}
1016- exit 0 ;;
10171074 TSUNAMI:LynxOS:2.*:*)
10181075 echo sparc-unknown-lynxos${UNAME_RELEASE}
10191076 exit 0 ;;
@@ -1108,7 +1165,7 @@ EOF
11081165 *:QNX:*:4*)
11091166 echo i386-pc-qnx
11101167 exit 0 ;;
1111- NSR-[GKLNPTVW]:NONSTOP_KERNEL:*:*)
1168+ NSR-[DGKLNPTVW]:NONSTOP_KERNEL:*:*)
11121169 echo nsr-tandem-nsk${UNAME_RELEASE}
11131170 exit 0 ;;
11141171 *:NonStop-UX:*:*)
@@ -1131,11 +1188,6 @@ EOF
11311188 fi
11321189 echo ${UNAME_MACHINE}-unknown-plan9
11331190 exit 0 ;;
1134- i*86:OS/2:*:*)
1135- # If we were able to find `uname', then EMX Unix compatibility
1136- # is probably installed.
1137- echo ${UNAME_MACHINE}-pc-os2-emx
1138- exit 0 ;;
11391191 *:TOPS-10:*:*)
11401192 echo pdp10-unknown-tops10
11411193 exit 0 ;;
@@ -1154,12 +1206,6 @@ EOF
11541206 *:ITS:*:*)
11551207 echo pdp10-unknown-its
11561208 exit 0 ;;
1157- i*86:XTS-300:*:STOP)
1158- echo ${UNAME_MACHINE}-unknown-stop
1159- exit 0 ;;
1160- i*86:atheos:*:*)
1161- echo ${UNAME_MACHINE}-unknown-atheos
1162- exit 0 ;;
11631209 esac
11641210
11651211 #echo '(No uname command or uname output not recognized.)' 1>&2
@@ -1280,8 +1326,7 @@ main ()
12801326 }
12811327 EOF
12821328
1283-$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0
1284-rm -f $dummy.c $dummy && rmdir $tmpdir
1329+$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && exit 0
12851330
12861331 # Apollos put the system type in the environment.
12871332
--- a/readline/support/config.sub
+++ b/readline/support/config.sub
@@ -1,9 +1,9 @@
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 Free Software Foundation, Inc.
55
6-timestamp='2002-08-22'
6+timestamp='2003-01-03'
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
@@ -118,7 +118,7 @@ esac
118118 # Here we must recognize all the valid KERNEL-OS combinations.
119119 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
120120 case $maybe_os in
121- nto-qnx* | linux-gnu* | freebsd*-gnu* | storm-chaos* | os2-emx* | windows32-* | rtmk-nova*)
121+ nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
122122 os=-$maybe_os
123123 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
124124 ;;
@@ -229,7 +229,7 @@ case $basic_machine in
229229 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
230230 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
231231 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
232- | c4x | clipper \
232+ | clipper \
233233 | d10v | d30v | dlx | dsp16xx \
234234 | fr30 | frv \
235235 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
@@ -245,11 +245,13 @@ case $basic_machine in
245245 | mips64vr4300 | mips64vr4300el \
246246 | mips64vr5000 | mips64vr5000el \
247247 | mipsisa32 | mipsisa32el \
248+ | mipsisa32r2 | mipsisa32r2el \
248249 | mipsisa64 | mipsisa64el \
249250 | mipsisa64sb1 | mipsisa64sb1el \
250251 | mipsisa64sr71k | mipsisa64sr71kel \
251252 | mipstx39 | mipstx39el \
252253 | mn10200 | mn10300 \
254+ | msp430 \
253255 | ns16k | ns32k \
254256 | openrisc | or32 \
255257 | pdp10 | pdp11 | pj | pjl \
@@ -294,7 +296,7 @@ case $basic_machine in
294296 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
295297 | avr-* \
296298 | bs2000-* \
297- | c[123]* | c30-* | [cjt]90-* | c54x-* \
299+ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* \
298300 | clipper-* | cydra-* \
299301 | d10v-* | d30v-* | dlx-* \
300302 | elxsi-* \
@@ -315,11 +317,13 @@ case $basic_machine in
315317 | mips64vr4300-* | mips64vr4300el-* \
316318 | mips64vr5000-* | mips64vr5000el-* \
317319 | mipsisa32-* | mipsisa32el-* \
320+ | mipsisa32r2-* | mipsisa32r2el-* \
318321 | mipsisa64-* | mipsisa64el-* \
319322 | mipsisa64sb1-* | mipsisa64sb1el-* \
320323 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
321- | mipstx39 | mipstx39el \
322- | none-* | np1-* | ns16k-* | ns32k-* \
324+ | mipstx39-* | mipstx39el-* \
325+ | msp430-* \
326+ | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
323327 | orion-* \
324328 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
325329 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
@@ -329,7 +333,7 @@ case $basic_machine in
329333 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
330334 | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
331335 | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
332- | tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \
336+ | tahoe-* | thumb-* | tic30-* | tic4x-* | tic54x-* | tic80-* | tron-* \
333337 | v850-* | v850e-* | vax-* \
334338 | we32k-* \
335339 | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
@@ -716,6 +720,10 @@ case $basic_machine in
716720 np1)
717721 basic_machine=np1-gould
718722 ;;
723+ nv1)
724+ basic_machine=nv1-cray
725+ os=-unicosmp
726+ ;;
719727 nsr-tandem)
720728 basic_machine=nsr-tandem
721729 ;;
@@ -901,10 +909,6 @@ case $basic_machine in
901909 basic_machine=i386-sequent
902910 os=-dynix
903911 ;;
904- t3d)
905- basic_machine=alpha-cray
906- os=-unicos
907- ;;
908912 t3e)
909913 basic_machine=alphaev5-cray
910914 os=-unicos
@@ -913,6 +917,10 @@ case $basic_machine in
913917 basic_machine=t90-cray
914918 os=-unicos
915919 ;;
920+ tic4x | c4x*)
921+ basic_machine=tic4x-unknown
922+ os=-coff
923+ ;;
916924 tic54x | c54x*)
917925 basic_machine=tic54x-unknown
918926 os=-coff
@@ -973,10 +981,6 @@ case $basic_machine in
973981 basic_machine=hppa1.1-winbond
974982 os=-proelf
975983 ;;
976- windows32)
977- basic_machine=i386-pc
978- os=-windows32-msvcrt
979- ;;
980984 xps | xps100)
981985 basic_machine=xps100-honeywell
982986 ;;
@@ -1047,10 +1051,6 @@ case $basic_machine in
10471051 pmac | pmac-mpw)
10481052 basic_machine=powerpc-apple
10491053 ;;
1050- c4x*)
1051- basic_machine=c4x-none
1052- os=-coff
1053- ;;
10541054 *-unknown)
10551055 # Make sure to match an already-canonicalized machine name.
10561056 ;;
@@ -1113,11 +1113,12 @@ case $os in
11131113 | -chorusos* | -chorusrdb* \
11141114 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
11151115 | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
1116- | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
1116+ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
11171117 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
11181118 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
11191119 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1120- | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* | -powermax*)
1120+ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1121+ | -powermax* | -dnix* | -microbsd*)
11211122 # Remember, each alternative MUST END IN *, to match a version number.
11221123 ;;
11231124 -qnx*)
@@ -1129,8 +1130,10 @@ case $os in
11291130 ;;
11301131 esac
11311132 ;;
1133+ -nto-qnx*)
1134+ ;;
11321135 -nto*)
1133- os=-nto-qnx
1136+ os=`echo $os | sed -e 's|nto|nto-qnx|'`
11341137 ;;
11351138 -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
11361139 | -windows* | -osx | -abug | -netware* | -os9* | -beos* \