1
Description: Upstream changes introduced in version 1.4.4.dfsg.1-2
2
This patch has been created by dpkg-source during the package build.
3
Here's the last changelog entry, hopefully it gives details on why
4
those changes were made:
6
cdo (1.4.4.dfsg.1-2) unstable; urgency=low
8
* Make build-dep on grib-api conditional so that we build on sparc, hppa
9
and mips, where grib-api doesn't. Closes: #581801.
11
The person named in the Author field signed this changelog entry.
12
Author: Alastair McKinstry <mckinstry@debian.org>
13
Bug-Debian: http://bugs.debian.org/581801
16
The information above should follow the Patch Tagging Guidelines, please
17
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
18
are templates for supplementary fields that you might want to add:
20
Origin: <vendor|upstream|other>, <url of original patch>
21
Bug: <url in upstream bugtracker>
22
Bug-Debian: http://bugs.debian.org/<bugnumber>
23
Forwarded: <no|not-needed|url proving that it has been forwarded>
24
Reviewed-By: <name and email of someone who approved the patch>
25
Last-Update: <YYYY-MM-DD>
27
--- cdo-1.4.4.dfsg.1.orig/config/config.guess
28
+++ cdo-1.4.4.dfsg.1/config/config.guess
31
# Attempt to guess a canonical system name.
32
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
33
-# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
35
+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
36
+# Free Software Foundation, Inc.
38
-timestamp='2006-07-02'
39
+timestamp='2009-12-30'
41
# This file is free software; you can redistribute it and/or modify it
42
# under the terms of the GNU General Public License as published by
43
@@ -27,16 +27,16 @@ timestamp='2006-07-02'
44
# the same distribution terms that you use for the rest of that program.
47
-# Originally written by Per Bothner <per@bothner.com>.
48
-# Please send patches to <config-patches@gnu.org>. Submit a context
49
-# diff and a properly formatted ChangeLog entry.
50
+# Originally written by Per Bothner. Please send patches (context
51
+# diff format) to <config-patches@gnu.org> and include a ChangeLog
54
# This script attempts to guess a canonical system name similar to
55
# config.sub. If it succeeds, it prints the system name on stdout, and
56
# exits with 0. Otherwise, it exits with 1.
58
-# The plan is that this can be called by configure scripts if you
59
-# don't specify an explicit build system type.
60
+# You can get the latest version of this script from:
61
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
63
me=`echo "$0" | sed -e 's,.*/,,'`
65
@@ -56,8 +56,9 @@ version="\
66
GNU config.guess ($timestamp)
68
Originally written by Per Bothner.
69
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
70
-Free Software Foundation, Inc.
71
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
72
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
73
+Software Foundation, Inc.
75
This is free software; see the source for copying conditions. There is NO
76
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
77
@@ -161,6 +162,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
78
arm*) machine=arm-unknown ;;
79
sh3el) machine=shl-unknown ;;
80
sh3eb) machine=sh-unknown ;;
81
+ sh5el) machine=sh5le-unknown ;;
82
*) machine=${UNAME_MACHINE_ARCH}-unknown ;;
84
# The Operating System including object format, if it has switched
85
@@ -169,7 +171,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
86
arm*|i386|m68k|ns32k|sh3*|sparc|vax)
87
eval $set_cc_for_build
88
if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
89
- | grep __ELF__ >/dev/null
92
# Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
93
# Return netbsd for either. FIX?
94
@@ -323,14 +325,33 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
95
case `/usr/bin/uname -p` in
96
sparc) echo sparc-icl-nx7; exit ;;
99
+ echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
102
echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
104
sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
105
echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
108
- echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
109
+ i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
110
+ echo i386-pc-auroraux${UNAME_RELEASE}
112
+ i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
113
+ eval $set_cc_for_build
115
+ # If there is a compiler, see if it is configured for 64-bit objects.
116
+ # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
117
+ # This test works for both compilers.
118
+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
119
+ if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
120
+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
121
+ grep IS_64BIT_ARCH >/dev/null
126
+ echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
129
# According to config.sub, this is the proper way to canonicalize
130
@@ -531,7 +552,7 @@ EOF
131
echo rs6000-ibm-aix3.2
136
IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
137
if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
139
@@ -639,7 +660,7 @@ EOF
140
# => hppa64-hp-hpux11.23
142
if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
143
- grep __LP64__ >/dev/null
148
@@ -780,7 +801,7 @@ EOF
150
echo ${UNAME_MACHINE}-pc-cygwin
154
echo ${UNAME_MACHINE}-pc-mingw32
157
@@ -790,15 +811,24 @@ EOF
159
echo ${UNAME_MACHINE}-pc-pw32
161
- x86:Interix*:[3456]*)
162
- echo i586-pc-interix${UNAME_RELEASE}
164
- EM64T:Interix*:[3456]*)
165
- echo x86_64-unknown-interix${UNAME_RELEASE}
168
+ case ${UNAME_MACHINE} in
170
+ echo i586-pc-interix${UNAME_RELEASE}
172
+ authenticamd | genuineintel | EM64T)
173
+ echo x86_64-unknown-interix${UNAME_RELEASE}
176
+ echo ia64-unknown-interix${UNAME_RELEASE}
179
[345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
180
echo i${UNAME_MACHINE}-pc-mks
185
i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
186
# How do we know it's Interix rather than the generic POSIX subsystem?
187
# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
188
@@ -828,8 +858,29 @@ EOF
190
echo ${UNAME_MACHINE}-pc-minix
193
+ case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
194
+ EV5) UNAME_MACHINE=alphaev5 ;;
195
+ EV56) UNAME_MACHINE=alphaev56 ;;
196
+ PCA56) UNAME_MACHINE=alphapca56 ;;
197
+ PCA57) UNAME_MACHINE=alphapca56 ;;
198
+ EV6) UNAME_MACHINE=alphaev6 ;;
199
+ EV67) UNAME_MACHINE=alphaev67 ;;
200
+ EV68*) UNAME_MACHINE=alphaev68 ;;
202
+ objdump --private-headers /bin/sh | grep -q ld.so.1
203
+ if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
204
+ echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
207
- echo ${UNAME_MACHINE}-unknown-linux-gnu
208
+ eval $set_cc_for_build
209
+ if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
210
+ | grep -q __ARM_EABI__
212
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
214
+ echo ${UNAME_MACHINE}-unknown-linux-gnueabi
218
echo ${UNAME_MACHINE}-unknown-linux-gnu
219
@@ -843,6 +894,17 @@ EOF
221
echo frv-unknown-linux-gnu
225
+ eval $set_cc_for_build
226
+ sed 's/^ //' << EOF >$dummy.c
227
+ #ifdef __dietlibc__
231
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
232
+ echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
235
echo ${UNAME_MACHINE}-unknown-linux-gnu
237
@@ -852,74 +914,33 @@ EOF
239
echo ${UNAME_MACHINE}-unknown-linux-gnu
242
- eval $set_cc_for_build
243
- sed 's/^ //' << EOF >$dummy.c
247
- #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
250
- #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
257
- eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
262
- test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
265
+ mips:Linux:*:* | mips64:Linux:*:*)
266
eval $set_cc_for_build
267
sed 's/^ //' << EOF >$dummy.c
271
+ #undef ${UNAME_MACHINE}
272
+ #undef ${UNAME_MACHINE}el
273
#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
275
+ CPU=${UNAME_MACHINE}el
277
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
279
+ CPU=${UNAME_MACHINE}
285
- eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
290
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
291
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
294
echo or32-unknown-linux-gnu
297
- echo powerpc-unknown-linux-gnu
299
+ echo sparc-unknown-linux-gnu
302
- echo powerpc64-unknown-linux-gnu
305
- case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
306
- EV5) UNAME_MACHINE=alphaev5 ;;
307
- EV56) UNAME_MACHINE=alphaev56 ;;
308
- PCA56) UNAME_MACHINE=alphapca56 ;;
309
- PCA57) UNAME_MACHINE=alphapca56 ;;
310
- EV6) UNAME_MACHINE=alphaev6 ;;
311
- EV67) UNAME_MACHINE=alphaev67 ;;
312
- EV68*) UNAME_MACHINE=alphaev68 ;;
314
- objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
315
- if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
316
- echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
317
+ parisc64:Linux:*:* | hppa64:Linux:*:*)
318
+ echo hppa64-unknown-linux-gnu
320
parisc:Linux:*:* | hppa:Linux:*:*)
322
@@ -929,8 +950,11 @@ EOF
323
*) echo hppa-unknown-linux-gnu ;;
326
- parisc64:Linux:*:* | hppa64:Linux:*:*)
327
- echo hppa64-unknown-linux-gnu
329
+ echo powerpc64-unknown-linux-gnu
332
+ echo powerpc-unknown-linux-gnu
334
s390:Linux:*:* | s390x:Linux:*:*)
335
echo ${UNAME_MACHINE}-ibm-linux
336
@@ -950,69 +974,9 @@ EOF
338
echo x86_64-unknown-linux-gnu
341
- # The BFD linker knows what the default object file format is, so
342
- # first see if it will tell us. cd to the root directory to prevent
343
- # problems with other programs or directories called `ld' in the path.
344
- # Set LC_ALL=C to ensure ld outputs messages in English.
345
- ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
346
- | sed -ne '/supported targets:/!d
348
- s/.*supported targets: *//
351
- case "$ld_supported_targets" in
353
- TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
356
- echo "${UNAME_MACHINE}-pc-linux-gnuaout"
359
- echo "${UNAME_MACHINE}-pc-linux-gnucoff"
362
- # Either a pre-BFD a.out linker (linux-gnuoldld) or
363
- # one that does not give us useful --help.
364
- echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
367
- # Determine whether the default compiler is a.out or elf
368
- eval $set_cc_for_build
369
- sed 's/^ //' << EOF >$dummy.c
370
- #include <features.h>
373
- # if __GLIBC__ >= 2
382
- #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
388
- #ifdef __dietlibc__
392
- eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
397
- test x"${LIBC}" != x && {
398
- echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
401
- test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
404
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
407
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
408
# earlier versions are messed up and put the nodename in both
409
@@ -1041,7 +1005,7 @@ EOF
411
echo ${UNAME_MACHINE}-pc-syllable
413
- i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
414
+ i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
415
echo i386-unknown-lynxos${UNAME_RELEASE}
418
@@ -1085,8 +1049,11 @@ EOF
420
# Left here for compatibility:
421
# uname -m prints for DJGPP always 'pc', but it prints nothing about
422
- # the processor, so we play safe by assuming i386.
423
- echo i386-pc-msdosdjgpp
424
+ # the processor, so we play safe by assuming i586.
425
+ # Note: whatever this is, it MUST be the same as what config.sub
426
+ # prints for the "djgpp" host, or else GDB configury will decide that
427
+ # this is a cross-build.
428
+ echo i586-pc-msdosdjgpp
432
@@ -1124,6 +1091,16 @@ EOF
433
3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
434
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
435
&& { echo i486-ncr-sysv4; exit; } ;;
436
+ NCR*:*:4.2:* | MPRAS*:*:4.2:*)
438
+ test -r /etc/.relid \
439
+ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
440
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
441
+ && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
442
+ /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
443
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
444
+ /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
445
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
446
m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
447
echo m68k-unknown-lynxos${UNAME_RELEASE}
449
@@ -1136,7 +1113,7 @@ EOF
451
echo rs6000-unknown-lynxos${UNAME_RELEASE}
453
- PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
454
+ PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
455
echo powerpc-unknown-lynxos${UNAME_RELEASE}
458
@@ -1199,6 +1176,9 @@ EOF
459
BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
462
+ BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
466
echo sx4-nec-superux${UNAME_RELEASE}
468
@@ -1208,6 +1188,15 @@ EOF
470
echo sx6-nec-superux${UNAME_RELEASE}
473
+ echo sx7-nec-superux${UNAME_RELEASE}
476
+ echo sx8-nec-superux${UNAME_RELEASE}
478
+ SX-8R:SUPER-UX:*:*)
479
+ echo sx8r-nec-superux${UNAME_RELEASE}
482
echo powerpc-apple-rhapsody${UNAME_RELEASE}
484
@@ -1217,6 +1206,16 @@ EOF
486
UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
487
case $UNAME_PROCESSOR in
489
+ eval $set_cc_for_build
490
+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
491
+ if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
492
+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
493
+ grep IS_64BIT_ARCH >/dev/null
495
+ UNAME_PROCESSOR="x86_64"
498
unknown) UNAME_PROCESSOR=powerpc ;;
500
echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
501
@@ -1298,6 +1297,9 @@ EOF
503
echo ${UNAME_MACHINE}-pc-rdos
506
+ echo ${UNAME_MACHINE}-pc-aros
510
#echo '(No uname command or uname output not recognized.)' 1>&2
511
@@ -1458,9 +1460,9 @@ This script, last modified $timestamp, h
512
the operating system you are using. It is advised that you
513
download the most up to date version of the config scripts from
515
- http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
516
+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
518
- http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
519
+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
521
If the version you run ($0) is already up to date, please
522
send the following data and any information you think might be
523
--- cdo-1.4.4.dfsg.1.orig/config/mkinstalldirs
524
+++ cdo-1.4.4.dfsg.1/config/mkinstalldirs
527
# mkinstalldirs --- make directory hierarchy
529
-scriptversion=2006-05-11.19
530
+scriptversion=2009-04-28.21; # UTC
532
# Original author: Noah Friedman <friedman@prep.ai.mit.edu>
533
# Created: 1993-05-16
534
@@ -157,5 +157,6 @@ exit $errstatus
535
# eval: (add-hook 'write-file-hooks 'time-stamp)
536
# time-stamp-start: "scriptversion="
537
# time-stamp-format: "%:y-%02m-%02d.%02H"
538
-# time-stamp-end: "$"
539
+# time-stamp-time-zone: "UTC"
540
+# time-stamp-end: "; # UTC"
542
--- cdo-1.4.4.dfsg.1.orig/config/config.sub
543
+++ cdo-1.4.4.dfsg.1/config/config.sub
546
# Configuration validation subroutine script.
547
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
548
-# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
550
+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
551
+# Free Software Foundation, Inc.
553
-timestamp='2006-09-20'
554
+timestamp='2010-01-22'
556
# This file is (in principle) common to ALL GNU software.
557
# The presence of a machine in this file suggests that SOME GNU software
558
@@ -32,13 +32,16 @@ timestamp='2006-09-20'
561
# Please send patches to <config-patches@gnu.org>. Submit a context
562
-# diff and a properly formatted ChangeLog entry.
563
+# diff and a properly formatted GNU ChangeLog entry.
565
# Configuration subroutine to validate and canonicalize a configuration type.
566
# Supply the specified configuration type as an argument.
567
# If it is invalid, we print an error message on stderr and exit with code 1.
568
# Otherwise, we print the canonical config type on stdout and succeed.
570
+# You can get the latest version of this script from:
571
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
573
# This file is supposed to be the same for all GNU packages
574
# and recognize all the CPU types, system types and aliases
575
# that are meaningful with *any* GNU software.
576
@@ -72,8 +75,9 @@ Report bugs and patches to <config-patch
578
GNU config.sub ($timestamp)
580
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
581
-Free Software Foundation, Inc.
582
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
583
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
584
+Software Foundation, Inc.
586
This is free software; see the source for copying conditions. There is NO
587
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
588
@@ -122,6 +126,7 @@ maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-
590
nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
591
uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
592
+ kopensolaris*-gnu* | \
593
storm-chaos* | os2-emx* | rtmk-nova*)
595
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
596
@@ -148,10 +153,13 @@ case $os in
597
-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
598
-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
599
-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
600
- -apple | -axis | -knuth | -cray)
601
+ -apple | -axis | -knuth | -cray | -microblaze)
608
-sim | -cisco | -oki | -wec | -winbond)
611
@@ -245,17 +253,20 @@ case $basic_machine in
614
| d10v | d30v | dlx | dsp16xx \
616
+ | fido | fr30 | frv \
617
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
618
| i370 | i860 | i960 | ia64 \
621
| m32c | m32r | m32rle | m68000 | m68k | m88k \
622
- | maxq | mb | microblaze | mcore \
623
+ | maxq | mb | microblaze | mcore | mep | metag \
624
| mips | mipsbe | mipseb | mipsel | mipsle \
626
| mips64 | mips64el \
627
- | mips64vr | mips64vrel \
628
+ | mips64octeon | mips64octeonel \
629
| mips64orion | mips64orionel \
630
+ | mips64r5900 | mips64r5900el \
631
+ | mips64vr | mips64vrel \
632
| mips64vr4100 | mips64vr4100el \
633
| mips64vr4300 | mips64vr4300el \
634
| mips64vr5000 | mips64vr5000el \
635
@@ -268,6 +279,7 @@ case $basic_machine in
636
| mipsisa64sr71k | mipsisa64sr71kel \
637
| mipstx39 | mipstx39el \
638
| mn10200 | mn10300 \
643
@@ -276,20 +288,22 @@ case $basic_machine in
644
| pdp10 | pdp11 | pj | pjl \
645
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
649
- | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
650
+ | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
652
| sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
653
| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
655
| tahoe | thumb | tic4x | tic80 | tron \
659
| x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
662
basic_machine=$basic_machine-unknown
664
- m6811 | m68hc11 | m6812 | m68hc12)
665
+ m6811 | m68hc11 | m6812 | m68hc12 | picochip)
666
# Motorola 68HC11/12.
667
basic_machine=$basic_machine-unknown
669
@@ -324,19 +338,22 @@ case $basic_machine in
670
| clipper-* | craynv-* | cydra-* \
671
| d10v-* | d30v-* | dlx-* \
673
- | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
674
+ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
675
| h8300-* | h8500-* \
676
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
677
| i*86-* | i860-* | i960-* | ia64-* \
678
| ip2k-* | iq2000-* \
680
| m32c-* | m32r-* | m32rle-* \
681
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
682
- | m88110-* | m88k-* | maxq-* | mcore-* \
683
+ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
684
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
686
| mips64-* | mips64el-* \
687
- | mips64vr-* | mips64vrel-* \
688
+ | mips64octeon-* | mips64octeonel-* \
689
| mips64orion-* | mips64orionel-* \
690
+ | mips64r5900-* | mips64r5900el-* \
691
+ | mips64vr-* | mips64vrel-* \
692
| mips64vr4100-* | mips64vr4100el-* \
693
| mips64vr4300-* | mips64vr4300el-* \
694
| mips64vr5000-* | mips64vr5000el-* \
695
@@ -357,21 +374,27 @@ case $basic_machine in
696
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
697
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
699
- | romp-* | rs6000-* \
700
- | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
701
+ | romp-* | rs6000-* | rx-* \
702
+ | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
703
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
704
| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
706
| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
707
| tahoe-* | thumb-* \
708
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
709
+ | tile-* | tilegx-* \
712
| v850-* | v850e-* | vax-* \
714
| x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
715
- | xstormy16-* | xtensa-* \
716
+ | xstormy16-* | xtensa*-* \
721
+ # Recognize the basic CPU types without company name, with glob match.
723
+ basic_machine=$basic_machine-unknown
725
# Recognize the various machine names and aliases which stand
726
# for a CPU type and a company and sometimes even an OS.
727
@@ -435,6 +458,10 @@ case $basic_machine in
728
basic_machine=m68k-apollo
732
+ basic_machine=i386-pc
736
basic_machine=m68k-apple
738
@@ -443,10 +470,26 @@ case $basic_machine in
739
basic_machine=ns32k-sequent
743
+ basic_machine=bfin-unknown
747
+ basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
751
+ basic_machine=powerpc-ibm
755
basic_machine=c90-cray
759
+ basic_machine=arm-unknown
763
basic_machine=c1-convex
765
@@ -475,8 +518,8 @@ case $basic_machine in
766
basic_machine=craynv-cray
770
- basic_machine=cr16c-unknown
772
+ basic_machine=cr16-unknown
776
@@ -514,6 +557,10 @@ case $basic_machine in
777
basic_machine=m88k-motorola
781
+ basic_machine=i686-pc
785
basic_machine=i586-pc
787
@@ -668,6 +715,14 @@ case $basic_machine in
788
basic_machine=m68k-isi
792
+ basic_machine=m68k-unknown
796
+ basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
800
basic_machine=m88k-omron
802
@@ -679,10 +734,17 @@ case $basic_machine in
803
basic_machine=ns32k-utek
807
+ basic_machine=microblaze-xilinx
810
basic_machine=i386-pc
814
+ basic_machine=arm-unknown
818
basic_machine=m68000-convergent
820
@@ -809,6 +871,14 @@ case $basic_machine in
821
basic_machine=i860-intel
825
+ basic_machine=hppa-unknown
829
+ basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
833
basic_machine=sparc-tti
835
@@ -925,6 +995,9 @@ case $basic_machine in
836
basic_machine=sh-hitachi
840
+ basic_machine=sh5le-unknown
843
basic_machine=sh64-unknown
845
@@ -994,18 +1067,6 @@ case $basic_machine in
846
basic_machine=i386-sequent
850
- basic_machine=sx4-nec
854
- basic_machine=sx5-nec
858
- basic_machine=sx6-nec
862
basic_machine=alphaev5-cray
864
@@ -1026,6 +1087,15 @@ case $basic_machine in
865
basic_machine=tic6x-unknown
868
+ # This must be matched before tile*.
870
+ basic_machine=tilegx-unknown
874
+ basic_machine=tile-unknown
878
basic_machine=mipstx39-unknown
880
@@ -1101,6 +1171,10 @@ case $basic_machine in
881
basic_machine=z8k-unknown
885
+ basic_machine=z80-unknown
889
basic_machine=none-none
891
@@ -1139,7 +1213,7 @@ case $basic_machine in
893
basic_machine=we32k-att
895
- sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
896
+ sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
897
basic_machine=sh-unknown
899
sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
900
@@ -1189,6 +1263,9 @@ case $os in
901
# First match some system type aliases
902
# that might get confused with valid system types.
903
# -solaris* is a basic system type, with this one exception.
907
-solaris1 | -solaris1.*)
908
os=`echo $os | sed -e 's|solaris1|sunos4|'`
910
@@ -1209,10 +1286,11 @@ case $os in
911
# Each alternative MUST END IN A *, to match a version number.
912
# -sysv* is not here because it comes later, after sysvr4.
913
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
914
- | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
915
- | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
916
+ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
917
+ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
918
+ | -sym* | -kopensolaris* \
919
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
922
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
923
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
924
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
925
@@ -1221,7 +1299,7 @@ case $os in
926
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
927
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
928
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
929
- | -chorusos* | -chorusrdb* \
930
+ | -chorusos* | -chorusrdb* | -cegcc* \
931
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
932
| -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
933
| -uxpv* | -beos* | -mpeix* | -udk* \
934
@@ -1231,7 +1309,7 @@ case $os in
935
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
936
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
937
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
938
- | -skyos* | -haiku* | -rdos* | -toppers*)
939
+ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
940
# Remember, each alternative MUST END IN *, to match a version number.
943
@@ -1361,6 +1439,11 @@ case $os in
955
@@ -1426,6 +1509,9 @@ case $basic_machine in
965
@@ -1555,7 +1641,7 @@ case $basic_machine in