Merge lp:~ubuntu-branches/ubuntu/quantal/tcpdump/quantal-201208211126 into lp:ubuntu/quantal/tcpdump
- Quantal (12.10)
- quantal-201208211126
- Merge into quantal
Status: | Rejected |
---|---|
Rejected by: | James Westby |
Proposed branch: | lp:~ubuntu-branches/ubuntu/quantal/tcpdump/quantal-201208211126 |
Merge into: | lp:ubuntu/quantal/tcpdump |
Diff against target: |
3607 lines (+63/-3457) (has conflicts) 9 files modified
.pc/50_autotools-dev.diff/config.guess (+0/-1502) .pc/50_autotools-dev.diff/config.sub (+0/-1708) .pc/50_hurd.diff/tcpdump-stdinc.h (+0/-226) Makefile.in (+5/-4) config.guess (+0/-5) config.sub (+0/-5) configure.in (+57/-2) tcpdump-stdinc.h (+0/-4) tcpdump.1.in (+1/-1) Conflict: can't delete .pc/10_man_install.diff because it is not empty. Not deleting. Conflict because .pc/10_man_install.diff is not versioned, but has versioned children. Versioned directory. Contents conflict in .pc/10_man_install.diff/Makefile.in Conflict: can't delete .pc/15_install.diff because it is not empty. Not deleting. Conflict because .pc/15_install.diff is not versioned, but has versioned children. Versioned directory. Contents conflict in .pc/15_install.diff/Makefile.in Conflict: can't delete .pc/20_man_fixes.diff because it is not empty. Not deleting. Conflict because .pc/20_man_fixes.diff is not versioned, but has versioned children. Versioned directory. Contents conflict in .pc/20_man_fixes.diff/tcpdump.1.in Conflict: can't delete .pc/40_openssl.diff because it is not empty. Not deleting. Conflict because .pc/40_openssl.diff is not versioned, but has versioned children. Versioned directory. Contents conflict in .pc/40_openssl.diff/configure.in Contents conflict in .pc/applied-patches |
To merge this branch: | bzr merge lp:~ubuntu-branches/ubuntu/quantal/tcpdump/quantal-201208211126 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ubuntu branches | Pending | ||
Review via email: mp+120544@code.launchpad.net |
Commit message
Description of the change
The package importer has detected a possible inconsistency between the package history in the archive and the history in bzr. As the archive is authoritative the importer has made lp:ubuntu/quantal/tcpdump reflect what is in the archive and the old bzr branch has been pushed to lp:~ubuntu-branches/ubuntu/quantal/tcpdump/quantal-201208211126. This merge proposal was created so that an Ubuntu developer can review the situations and perform a merge/upload if necessary. There are three typical cases where this can happen.
1. Where someone pushes a change to bzr and someone else uploads the package without that change. This is the reason that this check is done by the importer. If this appears to be the case then a merge/upload should be done if the changes that were in bzr are still desirable.
2. The importer incorrectly detected the above situation when someone made a change in bzr and then uploaded it.
3. The importer incorrectly detected the above situation when someone just uploaded a package and didn't touch bzr.
If this case doesn't appear to be the first situation then set the status of the merge proposal to "Rejected" and help avoid the problem in future by filing a bug at https:/
(this is an automatically generated message)
Unmerged revisions
- 30. By Logan Rosen
-
merge from Debian courtesy of Logan Rosen
Preview Diff
1 | === renamed file '.pc/10_man_install.diff/Makefile.in' => '.pc/10_man_install.diff/Makefile.in.THIS' |
2 | === renamed file '.pc/15_install.diff/Makefile.in' => '.pc/15_install.diff/Makefile.in.THIS' |
3 | === renamed file '.pc/20_man_fixes.diff/tcpdump.1.in' => '.pc/20_man_fixes.diff/tcpdump.1.in.THIS' |
4 | === renamed file '.pc/40_openssl.diff/configure.in' => '.pc/40_openssl.diff/configure.in.THIS' |
5 | === removed directory '.pc/50_autotools-dev.diff' |
6 | === removed file '.pc/50_autotools-dev.diff/config.guess' |
7 | --- .pc/50_autotools-dev.diff/config.guess 2010-06-22 12:44:32 +0000 |
8 | +++ .pc/50_autotools-dev.diff/config.guess 1970-01-01 00:00:00 +0000 |
9 | @@ -1,1502 +0,0 @@ |
10 | -#! /bin/sh |
11 | -# Attempt to guess a canonical system name. |
12 | -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
13 | -# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 |
14 | -# Free Software Foundation, Inc. |
15 | - |
16 | -timestamp='2009-12-30' |
17 | - |
18 | -# This file is free software; you can redistribute it and/or modify it |
19 | -# under the terms of the GNU General Public License as published by |
20 | -# the Free Software Foundation; either version 2 of the License, or |
21 | -# (at your option) any later version. |
22 | -# |
23 | -# This program is distributed in the hope that it will be useful, but |
24 | -# WITHOUT ANY WARRANTY; without even the implied warranty of |
25 | -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
26 | -# General Public License for more details. |
27 | -# |
28 | -# You should have received a copy of the GNU General Public License |
29 | -# along with this program; if not, write to the Free Software |
30 | -# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA |
31 | -# 02110-1301, USA. |
32 | -# |
33 | -# As a special exception to the GNU General Public License, if you |
34 | -# distribute this file as part of a program that contains a |
35 | -# configuration script generated by Autoconf, you may include it under |
36 | -# the same distribution terms that you use for the rest of that program. |
37 | - |
38 | - |
39 | -# Originally written by Per Bothner. Please send patches (context |
40 | -# diff format) to <config-patches@gnu.org> and include a ChangeLog |
41 | -# entry. |
42 | -# |
43 | -# This script attempts to guess a canonical system name similar to |
44 | -# config.sub. If it succeeds, it prints the system name on stdout, and |
45 | -# exits with 0. Otherwise, it exits with 1. |
46 | -# |
47 | -# You can get the latest version of this script from: |
48 | -# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD |
49 | - |
50 | -me=`echo "$0" | sed -e 's,.*/,,'` |
51 | - |
52 | -usage="\ |
53 | -Usage: $0 [OPTION] |
54 | - |
55 | -Output the configuration name of the system \`$me' is run on. |
56 | - |
57 | -Operation modes: |
58 | - -h, --help print this help, then exit |
59 | - -t, --time-stamp print date of last modification, then exit |
60 | - -v, --version print version number, then exit |
61 | - |
62 | -Report bugs and patches to <config-patches@gnu.org>." |
63 | - |
64 | -version="\ |
65 | -GNU config.guess ($timestamp) |
66 | - |
67 | -Originally written by Per Bothner. |
68 | -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, |
69 | -2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free |
70 | -Software Foundation, Inc. |
71 | - |
72 | -This is free software; see the source for copying conditions. There is NO |
73 | -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
74 | - |
75 | -help=" |
76 | -Try \`$me --help' for more information." |
77 | - |
78 | -# Parse command line |
79 | -while test $# -gt 0 ; do |
80 | - case $1 in |
81 | - --time-stamp | --time* | -t ) |
82 | - echo "$timestamp" ; exit ;; |
83 | - --version | -v ) |
84 | - echo "$version" ; exit ;; |
85 | - --help | --h* | -h ) |
86 | - echo "$usage"; exit ;; |
87 | - -- ) # Stop option processing |
88 | - shift; break ;; |
89 | - - ) # Use stdin as input. |
90 | - break ;; |
91 | - -* ) |
92 | - echo "$me: invalid option $1$help" >&2 |
93 | - exit 1 ;; |
94 | - * ) |
95 | - break ;; |
96 | - esac |
97 | -done |
98 | - |
99 | -if test $# != 0; then |
100 | - echo "$me: too many arguments$help" >&2 |
101 | - exit 1 |
102 | -fi |
103 | - |
104 | -trap 'exit 1' 1 2 15 |
105 | - |
106 | -# CC_FOR_BUILD -- compiler used by this script. Note that the use of a |
107 | -# compiler to aid in system detection is discouraged as it requires |
108 | -# temporary files to be created and, as you can see below, it is a |
109 | -# headache to deal with in a portable fashion. |
110 | - |
111 | -# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still |
112 | -# use `HOST_CC' if defined, but it is deprecated. |
113 | - |
114 | -# Portable tmp directory creation inspired by the Autoconf team. |
115 | - |
116 | -set_cc_for_build=' |
117 | -trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; |
118 | -trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; |
119 | -: ${TMPDIR=/tmp} ; |
120 | - { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || |
121 | - { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || |
122 | - { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || |
123 | - { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; |
124 | -dummy=$tmp/dummy ; |
125 | -tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; |
126 | -case $CC_FOR_BUILD,$HOST_CC,$CC in |
127 | - ,,) echo "int x;" > $dummy.c ; |
128 | - for c in cc gcc c89 c99 ; do |
129 | - if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then |
130 | - CC_FOR_BUILD="$c"; break ; |
131 | - fi ; |
132 | - done ; |
133 | - if test x"$CC_FOR_BUILD" = x ; then |
134 | - CC_FOR_BUILD=no_compiler_found ; |
135 | - fi |
136 | - ;; |
137 | - ,,*) CC_FOR_BUILD=$CC ;; |
138 | - ,*,*) CC_FOR_BUILD=$HOST_CC ;; |
139 | -esac ; set_cc_for_build= ;' |
140 | - |
141 | -# This is needed to find uname on a Pyramid OSx when run in the BSD universe. |
142 | -# (ghazi@noc.rutgers.edu 1994-08-24) |
143 | -if (test -f /.attbin/uname) >/dev/null 2>&1 ; then |
144 | - PATH=$PATH:/.attbin ; export PATH |
145 | -fi |
146 | - |
147 | -UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown |
148 | -UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown |
149 | -UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown |
150 | -UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown |
151 | - |
152 | -# Note: order is significant - the case branches are not exclusive. |
153 | - |
154 | -case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in |
155 | - *:NetBSD:*:*) |
156 | - # NetBSD (nbsd) targets should (where applicable) match one or |
157 | - # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, |
158 | - # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently |
159 | - # switched to ELF, *-*-netbsd* would select the old |
160 | - # object file format. This provides both forward |
161 | - # compatibility and a consistent mechanism for selecting the |
162 | - # object file format. |
163 | - # |
164 | - # Note: NetBSD doesn't particularly care about the vendor |
165 | - # portion of the name. We always set it to "unknown". |
166 | - sysctl="sysctl -n hw.machine_arch" |
167 | - UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ |
168 | - /usr/sbin/$sysctl 2>/dev/null || echo unknown)` |
169 | - case "${UNAME_MACHINE_ARCH}" in |
170 | - armeb) machine=armeb-unknown ;; |
171 | - arm*) machine=arm-unknown ;; |
172 | - sh3el) machine=shl-unknown ;; |
173 | - sh3eb) machine=sh-unknown ;; |
174 | - sh5el) machine=sh5le-unknown ;; |
175 | - *) machine=${UNAME_MACHINE_ARCH}-unknown ;; |
176 | - esac |
177 | - # The Operating System including object format, if it has switched |
178 | - # to ELF recently, or will in the future. |
179 | - case "${UNAME_MACHINE_ARCH}" in |
180 | - arm*|i386|m68k|ns32k|sh3*|sparc|vax) |
181 | - eval $set_cc_for_build |
182 | - if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ |
183 | - | grep -q __ELF__ |
184 | - then |
185 | - # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). |
186 | - # Return netbsd for either. FIX? |
187 | - os=netbsd |
188 | - else |
189 | - os=netbsdelf |
190 | - fi |
191 | - ;; |
192 | - *) |
193 | - os=netbsd |
194 | - ;; |
195 | - esac |
196 | - # The OS release |
197 | - # Debian GNU/NetBSD machines have a different userland, and |
198 | - # thus, need a distinct triplet. However, they do not need |
199 | - # kernel version information, so it can be replaced with a |
200 | - # suitable tag, in the style of linux-gnu. |
201 | - case "${UNAME_VERSION}" in |
202 | - Debian*) |
203 | - release='-gnu' |
204 | - ;; |
205 | - *) |
206 | - release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` |
207 | - ;; |
208 | - esac |
209 | - # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: |
210 | - # contains redundant information, the shorter form: |
211 | - # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. |
212 | - echo "${machine}-${os}${release}" |
213 | - exit ;; |
214 | - *:OpenBSD:*:*) |
215 | - UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` |
216 | - echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} |
217 | - exit ;; |
218 | - *:ekkoBSD:*:*) |
219 | - echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} |
220 | - exit ;; |
221 | - *:SolidBSD:*:*) |
222 | - echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} |
223 | - exit ;; |
224 | - macppc:MirBSD:*:*) |
225 | - echo powerpc-unknown-mirbsd${UNAME_RELEASE} |
226 | - exit ;; |
227 | - *:MirBSD:*:*) |
228 | - echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} |
229 | - exit ;; |
230 | - alpha:OSF1:*:*) |
231 | - case $UNAME_RELEASE in |
232 | - *4.0) |
233 | - UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` |
234 | - ;; |
235 | - *5.*) |
236 | - UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` |
237 | - ;; |
238 | - esac |
239 | - # According to Compaq, /usr/sbin/psrinfo has been available on |
240 | - # OSF/1 and Tru64 systems produced since 1995. I hope that |
241 | - # covers most systems running today. This code pipes the CPU |
242 | - # types through head -n 1, so we only detect the type of CPU 0. |
243 | - ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` |
244 | - case "$ALPHA_CPU_TYPE" in |
245 | - "EV4 (21064)") |
246 | - UNAME_MACHINE="alpha" ;; |
247 | - "EV4.5 (21064)") |
248 | - UNAME_MACHINE="alpha" ;; |
249 | - "LCA4 (21066/21068)") |
250 | - UNAME_MACHINE="alpha" ;; |
251 | - "EV5 (21164)") |
252 | - UNAME_MACHINE="alphaev5" ;; |
253 | - "EV5.6 (21164A)") |
254 | - UNAME_MACHINE="alphaev56" ;; |
255 | - "EV5.6 (21164PC)") |
256 | - UNAME_MACHINE="alphapca56" ;; |
257 | - "EV5.7 (21164PC)") |
258 | - UNAME_MACHINE="alphapca57" ;; |
259 | - "EV6 (21264)") |
260 | - UNAME_MACHINE="alphaev6" ;; |
261 | - "EV6.7 (21264A)") |
262 | - UNAME_MACHINE="alphaev67" ;; |
263 | - "EV6.8CB (21264C)") |
264 | - UNAME_MACHINE="alphaev68" ;; |
265 | - "EV6.8AL (21264B)") |
266 | - UNAME_MACHINE="alphaev68" ;; |
267 | - "EV6.8CX (21264D)") |
268 | - UNAME_MACHINE="alphaev68" ;; |
269 | - "EV6.9A (21264/EV69A)") |
270 | - UNAME_MACHINE="alphaev69" ;; |
271 | - "EV7 (21364)") |
272 | - UNAME_MACHINE="alphaev7" ;; |
273 | - "EV7.9 (21364A)") |
274 | - UNAME_MACHINE="alphaev79" ;; |
275 | - esac |
276 | - # A Pn.n version is a patched version. |
277 | - # A Vn.n version is a released version. |
278 | - # A Tn.n version is a released field test version. |
279 | - # A Xn.n version is an unreleased experimental baselevel. |
280 | - # 1.2 uses "1.2" for uname -r. |
281 | - echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` |
282 | - exit ;; |
283 | - Alpha\ *:Windows_NT*:*) |
284 | - # How do we know it's Interix rather than the generic POSIX subsystem? |
285 | - # Should we change UNAME_MACHINE based on the output of uname instead |
286 | - # of the specific Alpha model? |
287 | - echo alpha-pc-interix |
288 | - exit ;; |
289 | - 21064:Windows_NT:50:3) |
290 | - echo alpha-dec-winnt3.5 |
291 | - exit ;; |
292 | - Amiga*:UNIX_System_V:4.0:*) |
293 | - echo m68k-unknown-sysv4 |
294 | - exit ;; |
295 | - *:[Aa]miga[Oo][Ss]:*:*) |
296 | - echo ${UNAME_MACHINE}-unknown-amigaos |
297 | - exit ;; |
298 | - *:[Mm]orph[Oo][Ss]:*:*) |
299 | - echo ${UNAME_MACHINE}-unknown-morphos |
300 | - exit ;; |
301 | - *:OS/390:*:*) |
302 | - echo i370-ibm-openedition |
303 | - exit ;; |
304 | - *:z/VM:*:*) |
305 | - echo s390-ibm-zvmoe |
306 | - exit ;; |
307 | - *:OS400:*:*) |
308 | - echo powerpc-ibm-os400 |
309 | - exit ;; |
310 | - arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) |
311 | - echo arm-acorn-riscix${UNAME_RELEASE} |
312 | - exit ;; |
313 | - arm:riscos:*:*|arm:RISCOS:*:*) |
314 | - echo arm-unknown-riscos |
315 | - exit ;; |
316 | - SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) |
317 | - echo hppa1.1-hitachi-hiuxmpp |
318 | - exit ;; |
319 | - Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) |
320 | - # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. |
321 | - if test "`(/bin/universe) 2>/dev/null`" = att ; then |
322 | - echo pyramid-pyramid-sysv3 |
323 | - else |
324 | - echo pyramid-pyramid-bsd |
325 | - fi |
326 | - exit ;; |
327 | - NILE*:*:*:dcosx) |
328 | - echo pyramid-pyramid-svr4 |
329 | - exit ;; |
330 | - DRS?6000:unix:4.0:6*) |
331 | - echo sparc-icl-nx6 |
332 | - exit ;; |
333 | - DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) |
334 | - case `/usr/bin/uname -p` in |
335 | - sparc) echo sparc-icl-nx7; exit ;; |
336 | - esac ;; |
337 | - s390x:SunOS:*:*) |
338 | - echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
339 | - exit ;; |
340 | - sun4H:SunOS:5.*:*) |
341 | - echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
342 | - exit ;; |
343 | - sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) |
344 | - echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
345 | - exit ;; |
346 | - i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) |
347 | - echo i386-pc-auroraux${UNAME_RELEASE} |
348 | - exit ;; |
349 | - i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) |
350 | - eval $set_cc_for_build |
351 | - SUN_ARCH="i386" |
352 | - # If there is a compiler, see if it is configured for 64-bit objects. |
353 | - # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. |
354 | - # This test works for both compilers. |
355 | - if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then |
356 | - if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ |
357 | - (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ |
358 | - grep IS_64BIT_ARCH >/dev/null |
359 | - then |
360 | - SUN_ARCH="x86_64" |
361 | - fi |
362 | - fi |
363 | - echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
364 | - exit ;; |
365 | - sun4*:SunOS:6*:*) |
366 | - # According to config.sub, this is the proper way to canonicalize |
367 | - # SunOS6. Hard to guess exactly what SunOS6 will be like, but |
368 | - # it's likely to be more like Solaris than SunOS4. |
369 | - echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
370 | - exit ;; |
371 | - sun4*:SunOS:*:*) |
372 | - case "`/usr/bin/arch -k`" in |
373 | - Series*|S4*) |
374 | - UNAME_RELEASE=`uname -v` |
375 | - ;; |
376 | - esac |
377 | - # Japanese Language versions have a version number like `4.1.3-JL'. |
378 | - echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` |
379 | - exit ;; |
380 | - sun3*:SunOS:*:*) |
381 | - echo m68k-sun-sunos${UNAME_RELEASE} |
382 | - exit ;; |
383 | - sun*:*:4.2BSD:*) |
384 | - UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` |
385 | - test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 |
386 | - case "`/bin/arch`" in |
387 | - sun3) |
388 | - echo m68k-sun-sunos${UNAME_RELEASE} |
389 | - ;; |
390 | - sun4) |
391 | - echo sparc-sun-sunos${UNAME_RELEASE} |
392 | - ;; |
393 | - esac |
394 | - exit ;; |
395 | - aushp:SunOS:*:*) |
396 | - echo sparc-auspex-sunos${UNAME_RELEASE} |
397 | - exit ;; |
398 | - # The situation for MiNT is a little confusing. The machine name |
399 | - # can be virtually everything (everything which is not |
400 | - # "atarist" or "atariste" at least should have a processor |
401 | - # > m68000). The system name ranges from "MiNT" over "FreeMiNT" |
402 | - # to the lowercase version "mint" (or "freemint"). Finally |
403 | - # the system name "TOS" denotes a system which is actually not |
404 | - # MiNT. But MiNT is downward compatible to TOS, so this should |
405 | - # be no problem. |
406 | - atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) |
407 | - echo m68k-atari-mint${UNAME_RELEASE} |
408 | - exit ;; |
409 | - atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) |
410 | - echo m68k-atari-mint${UNAME_RELEASE} |
411 | - exit ;; |
412 | - *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) |
413 | - echo m68k-atari-mint${UNAME_RELEASE} |
414 | - exit ;; |
415 | - milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) |
416 | - echo m68k-milan-mint${UNAME_RELEASE} |
417 | - exit ;; |
418 | - hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) |
419 | - echo m68k-hades-mint${UNAME_RELEASE} |
420 | - exit ;; |
421 | - *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) |
422 | - echo m68k-unknown-mint${UNAME_RELEASE} |
423 | - exit ;; |
424 | - m68k:machten:*:*) |
425 | - echo m68k-apple-machten${UNAME_RELEASE} |
426 | - exit ;; |
427 | - powerpc:machten:*:*) |
428 | - echo powerpc-apple-machten${UNAME_RELEASE} |
429 | - exit ;; |
430 | - RISC*:Mach:*:*) |
431 | - echo mips-dec-mach_bsd4.3 |
432 | - exit ;; |
433 | - RISC*:ULTRIX:*:*) |
434 | - echo mips-dec-ultrix${UNAME_RELEASE} |
435 | - exit ;; |
436 | - VAX*:ULTRIX*:*:*) |
437 | - echo vax-dec-ultrix${UNAME_RELEASE} |
438 | - exit ;; |
439 | - 2020:CLIX:*:* | 2430:CLIX:*:*) |
440 | - echo clipper-intergraph-clix${UNAME_RELEASE} |
441 | - exit ;; |
442 | - mips:*:*:UMIPS | mips:*:*:RISCos) |
443 | - eval $set_cc_for_build |
444 | - sed 's/^ //' << EOF >$dummy.c |
445 | -#ifdef __cplusplus |
446 | -#include <stdio.h> /* for printf() prototype */ |
447 | - int main (int argc, char *argv[]) { |
448 | -#else |
449 | - int main (argc, argv) int argc; char *argv[]; { |
450 | -#endif |
451 | - #if defined (host_mips) && defined (MIPSEB) |
452 | - #if defined (SYSTYPE_SYSV) |
453 | - printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); |
454 | - #endif |
455 | - #if defined (SYSTYPE_SVR4) |
456 | - printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); |
457 | - #endif |
458 | - #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) |
459 | - printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); |
460 | - #endif |
461 | - #endif |
462 | - exit (-1); |
463 | - } |
464 | -EOF |
465 | - $CC_FOR_BUILD -o $dummy $dummy.c && |
466 | - dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && |
467 | - SYSTEM_NAME=`$dummy $dummyarg` && |
468 | - { echo "$SYSTEM_NAME"; exit; } |
469 | - echo mips-mips-riscos${UNAME_RELEASE} |
470 | - exit ;; |
471 | - Motorola:PowerMAX_OS:*:*) |
472 | - echo powerpc-motorola-powermax |
473 | - exit ;; |
474 | - Motorola:*:4.3:PL8-*) |
475 | - echo powerpc-harris-powermax |
476 | - exit ;; |
477 | - Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) |
478 | - echo powerpc-harris-powermax |
479 | - exit ;; |
480 | - Night_Hawk:Power_UNIX:*:*) |
481 | - echo powerpc-harris-powerunix |
482 | - exit ;; |
483 | - m88k:CX/UX:7*:*) |
484 | - echo m88k-harris-cxux7 |
485 | - exit ;; |
486 | - m88k:*:4*:R4*) |
487 | - echo m88k-motorola-sysv4 |
488 | - exit ;; |
489 | - m88k:*:3*:R3*) |
490 | - echo m88k-motorola-sysv3 |
491 | - exit ;; |
492 | - AViiON:dgux:*:*) |
493 | - # DG/UX returns AViiON for all architectures |
494 | - UNAME_PROCESSOR=`/usr/bin/uname -p` |
495 | - if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] |
496 | - then |
497 | - if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ |
498 | - [ ${TARGET_BINARY_INTERFACE}x = x ] |
499 | - then |
500 | - echo m88k-dg-dgux${UNAME_RELEASE} |
501 | - else |
502 | - echo m88k-dg-dguxbcs${UNAME_RELEASE} |
503 | - fi |
504 | - else |
505 | - echo i586-dg-dgux${UNAME_RELEASE} |
506 | - fi |
507 | - exit ;; |
508 | - M88*:DolphinOS:*:*) # DolphinOS (SVR3) |
509 | - echo m88k-dolphin-sysv3 |
510 | - exit ;; |
511 | - M88*:*:R3*:*) |
512 | - # Delta 88k system running SVR3 |
513 | - echo m88k-motorola-sysv3 |
514 | - exit ;; |
515 | - XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) |
516 | - echo m88k-tektronix-sysv3 |
517 | - exit ;; |
518 | - Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) |
519 | - echo m68k-tektronix-bsd |
520 | - exit ;; |
521 | - *:IRIX*:*:*) |
522 | - echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` |
523 | - exit ;; |
524 | - ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. |
525 | - echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id |
526 | - exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' |
527 | - i*86:AIX:*:*) |
528 | - echo i386-ibm-aix |
529 | - exit ;; |
530 | - ia64:AIX:*:*) |
531 | - if [ -x /usr/bin/oslevel ] ; then |
532 | - IBM_REV=`/usr/bin/oslevel` |
533 | - else |
534 | - IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} |
535 | - fi |
536 | - echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} |
537 | - exit ;; |
538 | - *:AIX:2:3) |
539 | - if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then |
540 | - eval $set_cc_for_build |
541 | - sed 's/^ //' << EOF >$dummy.c |
542 | - #include <sys/systemcfg.h> |
543 | - |
544 | - main() |
545 | - { |
546 | - if (!__power_pc()) |
547 | - exit(1); |
548 | - puts("powerpc-ibm-aix3.2.5"); |
549 | - exit(0); |
550 | - } |
551 | -EOF |
552 | - if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` |
553 | - then |
554 | - echo "$SYSTEM_NAME" |
555 | - else |
556 | - echo rs6000-ibm-aix3.2.5 |
557 | - fi |
558 | - elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then |
559 | - echo rs6000-ibm-aix3.2.4 |
560 | - else |
561 | - echo rs6000-ibm-aix3.2 |
562 | - fi |
563 | - exit ;; |
564 | - *:AIX:*:[456]) |
565 | - IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` |
566 | - if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then |
567 | - IBM_ARCH=rs6000 |
568 | - else |
569 | - IBM_ARCH=powerpc |
570 | - fi |
571 | - if [ -x /usr/bin/oslevel ] ; then |
572 | - IBM_REV=`/usr/bin/oslevel` |
573 | - else |
574 | - IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} |
575 | - fi |
576 | - echo ${IBM_ARCH}-ibm-aix${IBM_REV} |
577 | - exit ;; |
578 | - *:AIX:*:*) |
579 | - echo rs6000-ibm-aix |
580 | - exit ;; |
581 | - ibmrt:4.4BSD:*|romp-ibm:BSD:*) |
582 | - echo romp-ibm-bsd4.4 |
583 | - exit ;; |
584 | - ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and |
585 | - echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to |
586 | - exit ;; # report: romp-ibm BSD 4.3 |
587 | - *:BOSX:*:*) |
588 | - echo rs6000-bull-bosx |
589 | - exit ;; |
590 | - DPX/2?00:B.O.S.:*:*) |
591 | - echo m68k-bull-sysv3 |
592 | - exit ;; |
593 | - 9000/[34]??:4.3bsd:1.*:*) |
594 | - echo m68k-hp-bsd |
595 | - exit ;; |
596 | - hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) |
597 | - echo m68k-hp-bsd4.4 |
598 | - exit ;; |
599 | - 9000/[34678]??:HP-UX:*:*) |
600 | - HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` |
601 | - case "${UNAME_MACHINE}" in |
602 | - 9000/31? ) HP_ARCH=m68000 ;; |
603 | - 9000/[34]?? ) HP_ARCH=m68k ;; |
604 | - 9000/[678][0-9][0-9]) |
605 | - if [ -x /usr/bin/getconf ]; then |
606 | - sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` |
607 | - sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` |
608 | - case "${sc_cpu_version}" in |
609 | - 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 |
610 | - 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 |
611 | - 532) # CPU_PA_RISC2_0 |
612 | - case "${sc_kernel_bits}" in |
613 | - 32) HP_ARCH="hppa2.0n" ;; |
614 | - 64) HP_ARCH="hppa2.0w" ;; |
615 | - '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 |
616 | - esac ;; |
617 | - esac |
618 | - fi |
619 | - if [ "${HP_ARCH}" = "" ]; then |
620 | - eval $set_cc_for_build |
621 | - sed 's/^ //' << EOF >$dummy.c |
622 | - |
623 | - #define _HPUX_SOURCE |
624 | - #include <stdlib.h> |
625 | - #include <unistd.h> |
626 | - |
627 | - int main () |
628 | - { |
629 | - #if defined(_SC_KERNEL_BITS) |
630 | - long bits = sysconf(_SC_KERNEL_BITS); |
631 | - #endif |
632 | - long cpu = sysconf (_SC_CPU_VERSION); |
633 | - |
634 | - switch (cpu) |
635 | - { |
636 | - case CPU_PA_RISC1_0: puts ("hppa1.0"); break; |
637 | - case CPU_PA_RISC1_1: puts ("hppa1.1"); break; |
638 | - case CPU_PA_RISC2_0: |
639 | - #if defined(_SC_KERNEL_BITS) |
640 | - switch (bits) |
641 | - { |
642 | - case 64: puts ("hppa2.0w"); break; |
643 | - case 32: puts ("hppa2.0n"); break; |
644 | - default: puts ("hppa2.0"); break; |
645 | - } break; |
646 | - #else /* !defined(_SC_KERNEL_BITS) */ |
647 | - puts ("hppa2.0"); break; |
648 | - #endif |
649 | - default: puts ("hppa1.0"); break; |
650 | - } |
651 | - exit (0); |
652 | - } |
653 | -EOF |
654 | - (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` |
655 | - test -z "$HP_ARCH" && HP_ARCH=hppa |
656 | - fi ;; |
657 | - esac |
658 | - if [ ${HP_ARCH} = "hppa2.0w" ] |
659 | - then |
660 | - eval $set_cc_for_build |
661 | - |
662 | - # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating |
663 | - # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler |
664 | - # generating 64-bit code. GNU and HP use different nomenclature: |
665 | - # |
666 | - # $ CC_FOR_BUILD=cc ./config.guess |
667 | - # => hppa2.0w-hp-hpux11.23 |
668 | - # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess |
669 | - # => hppa64-hp-hpux11.23 |
670 | - |
671 | - if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | |
672 | - grep -q __LP64__ |
673 | - then |
674 | - HP_ARCH="hppa2.0w" |
675 | - else |
676 | - HP_ARCH="hppa64" |
677 | - fi |
678 | - fi |
679 | - echo ${HP_ARCH}-hp-hpux${HPUX_REV} |
680 | - exit ;; |
681 | - ia64:HP-UX:*:*) |
682 | - HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` |
683 | - echo ia64-hp-hpux${HPUX_REV} |
684 | - exit ;; |
685 | - 3050*:HI-UX:*:*) |
686 | - eval $set_cc_for_build |
687 | - sed 's/^ //' << EOF >$dummy.c |
688 | - #include <unistd.h> |
689 | - int |
690 | - main () |
691 | - { |
692 | - long cpu = sysconf (_SC_CPU_VERSION); |
693 | - /* The order matters, because CPU_IS_HP_MC68K erroneously returns |
694 | - true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct |
695 | - results, however. */ |
696 | - if (CPU_IS_PA_RISC (cpu)) |
697 | - { |
698 | - switch (cpu) |
699 | - { |
700 | - case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; |
701 | - case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; |
702 | - case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; |
703 | - default: puts ("hppa-hitachi-hiuxwe2"); break; |
704 | - } |
705 | - } |
706 | - else if (CPU_IS_HP_MC68K (cpu)) |
707 | - puts ("m68k-hitachi-hiuxwe2"); |
708 | - else puts ("unknown-hitachi-hiuxwe2"); |
709 | - exit (0); |
710 | - } |
711 | -EOF |
712 | - $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && |
713 | - { echo "$SYSTEM_NAME"; exit; } |
714 | - echo unknown-hitachi-hiuxwe2 |
715 | - exit ;; |
716 | - 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) |
717 | - echo hppa1.1-hp-bsd |
718 | - exit ;; |
719 | - 9000/8??:4.3bsd:*:*) |
720 | - echo hppa1.0-hp-bsd |
721 | - exit ;; |
722 | - *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) |
723 | - echo hppa1.0-hp-mpeix |
724 | - exit ;; |
725 | - hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) |
726 | - echo hppa1.1-hp-osf |
727 | - exit ;; |
728 | - hp8??:OSF1:*:*) |
729 | - echo hppa1.0-hp-osf |
730 | - exit ;; |
731 | - i*86:OSF1:*:*) |
732 | - if [ -x /usr/sbin/sysversion ] ; then |
733 | - echo ${UNAME_MACHINE}-unknown-osf1mk |
734 | - else |
735 | - echo ${UNAME_MACHINE}-unknown-osf1 |
736 | - fi |
737 | - exit ;; |
738 | - parisc*:Lites*:*:*) |
739 | - echo hppa1.1-hp-lites |
740 | - exit ;; |
741 | - C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) |
742 | - echo c1-convex-bsd |
743 | - exit ;; |
744 | - C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) |
745 | - if getsysinfo -f scalar_acc |
746 | - then echo c32-convex-bsd |
747 | - else echo c2-convex-bsd |
748 | - fi |
749 | - exit ;; |
750 | - C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) |
751 | - echo c34-convex-bsd |
752 | - exit ;; |
753 | - C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) |
754 | - echo c38-convex-bsd |
755 | - exit ;; |
756 | - C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) |
757 | - echo c4-convex-bsd |
758 | - exit ;; |
759 | - CRAY*Y-MP:*:*:*) |
760 | - echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' |
761 | - exit ;; |
762 | - CRAY*[A-Z]90:*:*:*) |
763 | - echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ |
764 | - | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ |
765 | - -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ |
766 | - -e 's/\.[^.]*$/.X/' |
767 | - exit ;; |
768 | - CRAY*TS:*:*:*) |
769 | - echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' |
770 | - exit ;; |
771 | - CRAY*T3E:*:*:*) |
772 | - echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' |
773 | - exit ;; |
774 | - CRAY*SV1:*:*:*) |
775 | - echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' |
776 | - exit ;; |
777 | - *:UNICOS/mp:*:*) |
778 | - echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' |
779 | - exit ;; |
780 | - F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) |
781 | - FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` |
782 | - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` |
783 | - FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` |
784 | - echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" |
785 | - exit ;; |
786 | - 5000:UNIX_System_V:4.*:*) |
787 | - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` |
788 | - FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` |
789 | - echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" |
790 | - exit ;; |
791 | - i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) |
792 | - echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} |
793 | - exit ;; |
794 | - sparc*:BSD/OS:*:*) |
795 | - echo sparc-unknown-bsdi${UNAME_RELEASE} |
796 | - exit ;; |
797 | - *:BSD/OS:*:*) |
798 | - echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} |
799 | - exit ;; |
800 | - *:FreeBSD:*:*) |
801 | - case ${UNAME_MACHINE} in |
802 | - pc98) |
803 | - echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; |
804 | - amd64) |
805 | - echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; |
806 | - *) |
807 | - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; |
808 | - esac |
809 | - exit ;; |
810 | - i*:CYGWIN*:*) |
811 | - echo ${UNAME_MACHINE}-pc-cygwin |
812 | - exit ;; |
813 | - *:MINGW*:*) |
814 | - echo ${UNAME_MACHINE}-pc-mingw32 |
815 | - exit ;; |
816 | - i*:windows32*:*) |
817 | - # uname -m includes "-pc" on this system. |
818 | - echo ${UNAME_MACHINE}-mingw32 |
819 | - exit ;; |
820 | - i*:PW*:*) |
821 | - echo ${UNAME_MACHINE}-pc-pw32 |
822 | - exit ;; |
823 | - *:Interix*:*) |
824 | - case ${UNAME_MACHINE} in |
825 | - x86) |
826 | - echo i586-pc-interix${UNAME_RELEASE} |
827 | - exit ;; |
828 | - authenticamd | genuineintel | EM64T) |
829 | - echo x86_64-unknown-interix${UNAME_RELEASE} |
830 | - exit ;; |
831 | - IA64) |
832 | - echo ia64-unknown-interix${UNAME_RELEASE} |
833 | - exit ;; |
834 | - esac ;; |
835 | - [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) |
836 | - echo i${UNAME_MACHINE}-pc-mks |
837 | - exit ;; |
838 | - 8664:Windows_NT:*) |
839 | - echo x86_64-pc-mks |
840 | - exit ;; |
841 | - i*:Windows_NT*:* | Pentium*:Windows_NT*:*) |
842 | - # How do we know it's Interix rather than the generic POSIX subsystem? |
843 | - # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we |
844 | - # UNAME_MACHINE based on the output of uname instead of i386? |
845 | - echo i586-pc-interix |
846 | - exit ;; |
847 | - i*:UWIN*:*) |
848 | - echo ${UNAME_MACHINE}-pc-uwin |
849 | - exit ;; |
850 | - amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) |
851 | - echo x86_64-unknown-cygwin |
852 | - exit ;; |
853 | - p*:CYGWIN*:*) |
854 | - echo powerpcle-unknown-cygwin |
855 | - exit ;; |
856 | - prep*:SunOS:5.*:*) |
857 | - echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
858 | - exit ;; |
859 | - *:GNU:*:*) |
860 | - # the GNU system |
861 | - echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` |
862 | - exit ;; |
863 | - *:GNU/*:*:*) |
864 | - # other systems with GNU libc and userland |
865 | - echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu |
866 | - exit ;; |
867 | - i*86:Minix:*:*) |
868 | - echo ${UNAME_MACHINE}-pc-minix |
869 | - exit ;; |
870 | - alpha:Linux:*:*) |
871 | - case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in |
872 | - EV5) UNAME_MACHINE=alphaev5 ;; |
873 | - EV56) UNAME_MACHINE=alphaev56 ;; |
874 | - PCA56) UNAME_MACHINE=alphapca56 ;; |
875 | - PCA57) UNAME_MACHINE=alphapca56 ;; |
876 | - EV6) UNAME_MACHINE=alphaev6 ;; |
877 | - EV67) UNAME_MACHINE=alphaev67 ;; |
878 | - EV68*) UNAME_MACHINE=alphaev68 ;; |
879 | - esac |
880 | - objdump --private-headers /bin/sh | grep -q ld.so.1 |
881 | - if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi |
882 | - echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} |
883 | - exit ;; |
884 | - arm*:Linux:*:*) |
885 | - eval $set_cc_for_build |
886 | - if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ |
887 | - | grep -q __ARM_EABI__ |
888 | - then |
889 | - echo ${UNAME_MACHINE}-unknown-linux-gnu |
890 | - else |
891 | - echo ${UNAME_MACHINE}-unknown-linux-gnueabi |
892 | - fi |
893 | - exit ;; |
894 | - avr32*:Linux:*:*) |
895 | - echo ${UNAME_MACHINE}-unknown-linux-gnu |
896 | - exit ;; |
897 | - cris:Linux:*:*) |
898 | - echo cris-axis-linux-gnu |
899 | - exit ;; |
900 | - crisv32:Linux:*:*) |
901 | - echo crisv32-axis-linux-gnu |
902 | - exit ;; |
903 | - frv:Linux:*:*) |
904 | - echo frv-unknown-linux-gnu |
905 | - exit ;; |
906 | - i*86:Linux:*:*) |
907 | - LIBC=gnu |
908 | - eval $set_cc_for_build |
909 | - sed 's/^ //' << EOF >$dummy.c |
910 | - #ifdef __dietlibc__ |
911 | - LIBC=dietlibc |
912 | - #endif |
913 | -EOF |
914 | - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` |
915 | - echo "${UNAME_MACHINE}-pc-linux-${LIBC}" |
916 | - exit ;; |
917 | - ia64:Linux:*:*) |
918 | - echo ${UNAME_MACHINE}-unknown-linux-gnu |
919 | - exit ;; |
920 | - m32r*:Linux:*:*) |
921 | - echo ${UNAME_MACHINE}-unknown-linux-gnu |
922 | - exit ;; |
923 | - m68*:Linux:*:*) |
924 | - echo ${UNAME_MACHINE}-unknown-linux-gnu |
925 | - exit ;; |
926 | - mips:Linux:*:* | mips64:Linux:*:*) |
927 | - eval $set_cc_for_build |
928 | - sed 's/^ //' << EOF >$dummy.c |
929 | - #undef CPU |
930 | - #undef ${UNAME_MACHINE} |
931 | - #undef ${UNAME_MACHINE}el |
932 | - #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) |
933 | - CPU=${UNAME_MACHINE}el |
934 | - #else |
935 | - #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) |
936 | - CPU=${UNAME_MACHINE} |
937 | - #else |
938 | - CPU= |
939 | - #endif |
940 | - #endif |
941 | -EOF |
942 | - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` |
943 | - test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } |
944 | - ;; |
945 | - or32:Linux:*:*) |
946 | - echo or32-unknown-linux-gnu |
947 | - exit ;; |
948 | - padre:Linux:*:*) |
949 | - echo sparc-unknown-linux-gnu |
950 | - exit ;; |
951 | - parisc64:Linux:*:* | hppa64:Linux:*:*) |
952 | - echo hppa64-unknown-linux-gnu |
953 | - exit ;; |
954 | - parisc:Linux:*:* | hppa:Linux:*:*) |
955 | - # Look for CPU level |
956 | - case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in |
957 | - PA7*) echo hppa1.1-unknown-linux-gnu ;; |
958 | - PA8*) echo hppa2.0-unknown-linux-gnu ;; |
959 | - *) echo hppa-unknown-linux-gnu ;; |
960 | - esac |
961 | - exit ;; |
962 | - ppc64:Linux:*:*) |
963 | - echo powerpc64-unknown-linux-gnu |
964 | - exit ;; |
965 | - ppc:Linux:*:*) |
966 | - echo powerpc-unknown-linux-gnu |
967 | - exit ;; |
968 | - s390:Linux:*:* | s390x:Linux:*:*) |
969 | - echo ${UNAME_MACHINE}-ibm-linux |
970 | - exit ;; |
971 | - sh64*:Linux:*:*) |
972 | - echo ${UNAME_MACHINE}-unknown-linux-gnu |
973 | - exit ;; |
974 | - sh*:Linux:*:*) |
975 | - echo ${UNAME_MACHINE}-unknown-linux-gnu |
976 | - exit ;; |
977 | - sparc:Linux:*:* | sparc64:Linux:*:*) |
978 | - echo ${UNAME_MACHINE}-unknown-linux-gnu |
979 | - exit ;; |
980 | - vax:Linux:*:*) |
981 | - echo ${UNAME_MACHINE}-dec-linux-gnu |
982 | - exit ;; |
983 | - x86_64:Linux:*:*) |
984 | - echo x86_64-unknown-linux-gnu |
985 | - exit ;; |
986 | - xtensa*:Linux:*:*) |
987 | - echo ${UNAME_MACHINE}-unknown-linux-gnu |
988 | - exit ;; |
989 | - i*86:DYNIX/ptx:4*:*) |
990 | - # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. |
991 | - # earlier versions are messed up and put the nodename in both |
992 | - # sysname and nodename. |
993 | - echo i386-sequent-sysv4 |
994 | - exit ;; |
995 | - i*86:UNIX_SV:4.2MP:2.*) |
996 | - # Unixware is an offshoot of SVR4, but it has its own version |
997 | - # number series starting with 2... |
998 | - # I am not positive that other SVR4 systems won't match this, |
999 | - # I just have to hope. -- rms. |
1000 | - # Use sysv4.2uw... so that sysv4* matches it. |
1001 | - echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} |
1002 | - exit ;; |
1003 | - i*86:OS/2:*:*) |
1004 | - # If we were able to find `uname', then EMX Unix compatibility |
1005 | - # is probably installed. |
1006 | - echo ${UNAME_MACHINE}-pc-os2-emx |
1007 | - exit ;; |
1008 | - i*86:XTS-300:*:STOP) |
1009 | - echo ${UNAME_MACHINE}-unknown-stop |
1010 | - exit ;; |
1011 | - i*86:atheos:*:*) |
1012 | - echo ${UNAME_MACHINE}-unknown-atheos |
1013 | - exit ;; |
1014 | - i*86:syllable:*:*) |
1015 | - echo ${UNAME_MACHINE}-pc-syllable |
1016 | - exit ;; |
1017 | - i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) |
1018 | - echo i386-unknown-lynxos${UNAME_RELEASE} |
1019 | - exit ;; |
1020 | - i*86:*DOS:*:*) |
1021 | - echo ${UNAME_MACHINE}-pc-msdosdjgpp |
1022 | - exit ;; |
1023 | - i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) |
1024 | - UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` |
1025 | - if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then |
1026 | - echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} |
1027 | - else |
1028 | - echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} |
1029 | - fi |
1030 | - exit ;; |
1031 | - i*86:*:5:[678]*) |
1032 | - # UnixWare 7.x, OpenUNIX and OpenServer 6. |
1033 | - case `/bin/uname -X | grep "^Machine"` in |
1034 | - *486*) UNAME_MACHINE=i486 ;; |
1035 | - *Pentium) UNAME_MACHINE=i586 ;; |
1036 | - *Pent*|*Celeron) UNAME_MACHINE=i686 ;; |
1037 | - esac |
1038 | - echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} |
1039 | - exit ;; |
1040 | - i*86:*:3.2:*) |
1041 | - if test -f /usr/options/cb.name; then |
1042 | - UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name` |
1043 | - echo ${UNAME_MACHINE}-pc-isc$UNAME_REL |
1044 | - elif /bin/uname -X 2>/dev/null >/dev/null ; then |
1045 | - UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` |
1046 | - (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 |
1047 | - (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ |
1048 | - && UNAME_MACHINE=i586 |
1049 | - (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ |
1050 | - && UNAME_MACHINE=i686 |
1051 | - (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ |
1052 | - && UNAME_MACHINE=i686 |
1053 | - echo ${UNAME_MACHINE}-pc-sco$UNAME_REL |
1054 | - else |
1055 | - echo ${UNAME_MACHINE}-pc-sysv32 |
1056 | - fi |
1057 | - exit ;; |
1058 | - pc:*:*:*) |
1059 | - # Left here for compatibility: |
1060 | - # uname -m prints for DJGPP always 'pc', but it prints nothing about |
1061 | - # the processor, so we play safe by assuming i586. |
1062 | - # Note: whatever this is, it MUST be the same as what config.sub |
1063 | - # prints for the "djgpp" host, or else GDB configury will decide that |
1064 | - # this is a cross-build. |
1065 | - echo i586-pc-msdosdjgpp |
1066 | - exit ;; |
1067 | - Intel:Mach:3*:*) |
1068 | - echo i386-pc-mach3 |
1069 | - exit ;; |
1070 | - paragon:*:*:*) |
1071 | - echo i860-intel-osf1 |
1072 | - exit ;; |
1073 | - i860:*:4.*:*) # i860-SVR4 |
1074 | - if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then |
1075 | - echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 |
1076 | - else # Add other i860-SVR4 vendors below as they are discovered. |
1077 | - echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 |
1078 | - fi |
1079 | - exit ;; |
1080 | - mini*:CTIX:SYS*5:*) |
1081 | - # "miniframe" |
1082 | - echo m68010-convergent-sysv |
1083 | - exit ;; |
1084 | - mc68k:UNIX:SYSTEM5:3.51m) |
1085 | - echo m68k-convergent-sysv |
1086 | - exit ;; |
1087 | - M680?0:D-NIX:5.3:*) |
1088 | - echo m68k-diab-dnix |
1089 | - exit ;; |
1090 | - M68*:*:R3V[5678]*:*) |
1091 | - test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; |
1092 | - 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) |
1093 | - OS_REL='' |
1094 | - test -r /etc/.relid \ |
1095 | - && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` |
1096 | - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ |
1097 | - && { echo i486-ncr-sysv4.3${OS_REL}; exit; } |
1098 | - /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ |
1099 | - && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; |
1100 | - 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) |
1101 | - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ |
1102 | - && { echo i486-ncr-sysv4; exit; } ;; |
1103 | - NCR*:*:4.2:* | MPRAS*:*:4.2:*) |
1104 | - OS_REL='.3' |
1105 | - test -r /etc/.relid \ |
1106 | - && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` |
1107 | - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ |
1108 | - && { echo i486-ncr-sysv4.3${OS_REL}; exit; } |
1109 | - /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ |
1110 | - && { echo i586-ncr-sysv4.3${OS_REL}; exit; } |
1111 | - /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ |
1112 | - && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; |
1113 | - m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) |
1114 | - echo m68k-unknown-lynxos${UNAME_RELEASE} |
1115 | - exit ;; |
1116 | - mc68030:UNIX_System_V:4.*:*) |
1117 | - echo m68k-atari-sysv4 |
1118 | - exit ;; |
1119 | - TSUNAMI:LynxOS:2.*:*) |
1120 | - echo sparc-unknown-lynxos${UNAME_RELEASE} |
1121 | - exit ;; |
1122 | - rs6000:LynxOS:2.*:*) |
1123 | - echo rs6000-unknown-lynxos${UNAME_RELEASE} |
1124 | - exit ;; |
1125 | - PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) |
1126 | - echo powerpc-unknown-lynxos${UNAME_RELEASE} |
1127 | - exit ;; |
1128 | - SM[BE]S:UNIX_SV:*:*) |
1129 | - echo mips-dde-sysv${UNAME_RELEASE} |
1130 | - exit ;; |
1131 | - RM*:ReliantUNIX-*:*:*) |
1132 | - echo mips-sni-sysv4 |
1133 | - exit ;; |
1134 | - RM*:SINIX-*:*:*) |
1135 | - echo mips-sni-sysv4 |
1136 | - exit ;; |
1137 | - *:SINIX-*:*:*) |
1138 | - if uname -p 2>/dev/null >/dev/null ; then |
1139 | - UNAME_MACHINE=`(uname -p) 2>/dev/null` |
1140 | - echo ${UNAME_MACHINE}-sni-sysv4 |
1141 | - else |
1142 | - echo ns32k-sni-sysv |
1143 | - fi |
1144 | - exit ;; |
1145 | - PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort |
1146 | - # says <Richard.M.Bartel@ccMail.Census.GOV> |
1147 | - echo i586-unisys-sysv4 |
1148 | - exit ;; |
1149 | - *:UNIX_System_V:4*:FTX*) |
1150 | - # From Gerald Hewes <hewes@openmarket.com>. |
1151 | - # How about differentiating between stratus architectures? -djm |
1152 | - echo hppa1.1-stratus-sysv4 |
1153 | - exit ;; |
1154 | - *:*:*:FTX*) |
1155 | - # From seanf@swdc.stratus.com. |
1156 | - echo i860-stratus-sysv4 |
1157 | - exit ;; |
1158 | - i*86:VOS:*:*) |
1159 | - # From Paul.Green@stratus.com. |
1160 | - echo ${UNAME_MACHINE}-stratus-vos |
1161 | - exit ;; |
1162 | - *:VOS:*:*) |
1163 | - # From Paul.Green@stratus.com. |
1164 | - echo hppa1.1-stratus-vos |
1165 | - exit ;; |
1166 | - mc68*:A/UX:*:*) |
1167 | - echo m68k-apple-aux${UNAME_RELEASE} |
1168 | - exit ;; |
1169 | - news*:NEWS-OS:6*:*) |
1170 | - echo mips-sony-newsos6 |
1171 | - exit ;; |
1172 | - R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) |
1173 | - if [ -d /usr/nec ]; then |
1174 | - echo mips-nec-sysv${UNAME_RELEASE} |
1175 | - else |
1176 | - echo mips-unknown-sysv${UNAME_RELEASE} |
1177 | - fi |
1178 | - exit ;; |
1179 | - BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. |
1180 | - echo powerpc-be-beos |
1181 | - exit ;; |
1182 | - BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. |
1183 | - echo powerpc-apple-beos |
1184 | - exit ;; |
1185 | - BePC:BeOS:*:*) # BeOS running on Intel PC compatible. |
1186 | - echo i586-pc-beos |
1187 | - exit ;; |
1188 | - BePC:Haiku:*:*) # Haiku running on Intel PC compatible. |
1189 | - echo i586-pc-haiku |
1190 | - exit ;; |
1191 | - SX-4:SUPER-UX:*:*) |
1192 | - echo sx4-nec-superux${UNAME_RELEASE} |
1193 | - exit ;; |
1194 | - SX-5:SUPER-UX:*:*) |
1195 | - echo sx5-nec-superux${UNAME_RELEASE} |
1196 | - exit ;; |
1197 | - SX-6:SUPER-UX:*:*) |
1198 | - echo sx6-nec-superux${UNAME_RELEASE} |
1199 | - exit ;; |
1200 | - SX-7:SUPER-UX:*:*) |
1201 | - echo sx7-nec-superux${UNAME_RELEASE} |
1202 | - exit ;; |
1203 | - SX-8:SUPER-UX:*:*) |
1204 | - echo sx8-nec-superux${UNAME_RELEASE} |
1205 | - exit ;; |
1206 | - SX-8R:SUPER-UX:*:*) |
1207 | - echo sx8r-nec-superux${UNAME_RELEASE} |
1208 | - exit ;; |
1209 | - Power*:Rhapsody:*:*) |
1210 | - echo powerpc-apple-rhapsody${UNAME_RELEASE} |
1211 | - exit ;; |
1212 | - *:Rhapsody:*:*) |
1213 | - echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} |
1214 | - exit ;; |
1215 | - *:Darwin:*:*) |
1216 | - UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown |
1217 | - case $UNAME_PROCESSOR in |
1218 | - i386) |
1219 | - eval $set_cc_for_build |
1220 | - if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then |
1221 | - if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ |
1222 | - (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ |
1223 | - grep IS_64BIT_ARCH >/dev/null |
1224 | - then |
1225 | - UNAME_PROCESSOR="x86_64" |
1226 | - fi |
1227 | - fi ;; |
1228 | - unknown) UNAME_PROCESSOR=powerpc ;; |
1229 | - esac |
1230 | - echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} |
1231 | - exit ;; |
1232 | - *:procnto*:*:* | *:QNX:[0123456789]*:*) |
1233 | - UNAME_PROCESSOR=`uname -p` |
1234 | - if test "$UNAME_PROCESSOR" = "x86"; then |
1235 | - UNAME_PROCESSOR=i386 |
1236 | - UNAME_MACHINE=pc |
1237 | - fi |
1238 | - echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} |
1239 | - exit ;; |
1240 | - *:QNX:*:4*) |
1241 | - echo i386-pc-qnx |
1242 | - exit ;; |
1243 | - NSE-?:NONSTOP_KERNEL:*:*) |
1244 | - echo nse-tandem-nsk${UNAME_RELEASE} |
1245 | - exit ;; |
1246 | - NSR-?:NONSTOP_KERNEL:*:*) |
1247 | - echo nsr-tandem-nsk${UNAME_RELEASE} |
1248 | - exit ;; |
1249 | - *:NonStop-UX:*:*) |
1250 | - echo mips-compaq-nonstopux |
1251 | - exit ;; |
1252 | - BS2000:POSIX*:*:*) |
1253 | - echo bs2000-siemens-sysv |
1254 | - exit ;; |
1255 | - DS/*:UNIX_System_V:*:*) |
1256 | - echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} |
1257 | - exit ;; |
1258 | - *:Plan9:*:*) |
1259 | - # "uname -m" is not consistent, so use $cputype instead. 386 |
1260 | - # is converted to i386 for consistency with other x86 |
1261 | - # operating systems. |
1262 | - if test "$cputype" = "386"; then |
1263 | - UNAME_MACHINE=i386 |
1264 | - else |
1265 | - UNAME_MACHINE="$cputype" |
1266 | - fi |
1267 | - echo ${UNAME_MACHINE}-unknown-plan9 |
1268 | - exit ;; |
1269 | - *:TOPS-10:*:*) |
1270 | - echo pdp10-unknown-tops10 |
1271 | - exit ;; |
1272 | - *:TENEX:*:*) |
1273 | - echo pdp10-unknown-tenex |
1274 | - exit ;; |
1275 | - KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) |
1276 | - echo pdp10-dec-tops20 |
1277 | - exit ;; |
1278 | - XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) |
1279 | - echo pdp10-xkl-tops20 |
1280 | - exit ;; |
1281 | - *:TOPS-20:*:*) |
1282 | - echo pdp10-unknown-tops20 |
1283 | - exit ;; |
1284 | - *:ITS:*:*) |
1285 | - echo pdp10-unknown-its |
1286 | - exit ;; |
1287 | - SEI:*:*:SEIUX) |
1288 | - echo mips-sei-seiux${UNAME_RELEASE} |
1289 | - exit ;; |
1290 | - *:DragonFly:*:*) |
1291 | - echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` |
1292 | - exit ;; |
1293 | - *:*VMS:*:*) |
1294 | - UNAME_MACHINE=`(uname -p) 2>/dev/null` |
1295 | - case "${UNAME_MACHINE}" in |
1296 | - A*) echo alpha-dec-vms ; exit ;; |
1297 | - I*) echo ia64-dec-vms ; exit ;; |
1298 | - V*) echo vax-dec-vms ; exit ;; |
1299 | - esac ;; |
1300 | - *:XENIX:*:SysV) |
1301 | - echo i386-pc-xenix |
1302 | - exit ;; |
1303 | - i*86:skyos:*:*) |
1304 | - echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' |
1305 | - exit ;; |
1306 | - i*86:rdos:*:*) |
1307 | - echo ${UNAME_MACHINE}-pc-rdos |
1308 | - exit ;; |
1309 | - i*86:AROS:*:*) |
1310 | - echo ${UNAME_MACHINE}-pc-aros |
1311 | - exit ;; |
1312 | -esac |
1313 | - |
1314 | -#echo '(No uname command or uname output not recognized.)' 1>&2 |
1315 | -#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 |
1316 | - |
1317 | -eval $set_cc_for_build |
1318 | -cat >$dummy.c <<EOF |
1319 | -#ifdef _SEQUENT_ |
1320 | -# include <sys/types.h> |
1321 | -# include <sys/utsname.h> |
1322 | -#endif |
1323 | -main () |
1324 | -{ |
1325 | -#if defined (sony) |
1326 | -#if defined (MIPSEB) |
1327 | - /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, |
1328 | - I don't know.... */ |
1329 | - printf ("mips-sony-bsd\n"); exit (0); |
1330 | -#else |
1331 | -#include <sys/param.h> |
1332 | - printf ("m68k-sony-newsos%s\n", |
1333 | -#ifdef NEWSOS4 |
1334 | - "4" |
1335 | -#else |
1336 | - "" |
1337 | -#endif |
1338 | - ); exit (0); |
1339 | -#endif |
1340 | -#endif |
1341 | - |
1342 | -#if defined (__arm) && defined (__acorn) && defined (__unix) |
1343 | - printf ("arm-acorn-riscix\n"); exit (0); |
1344 | -#endif |
1345 | - |
1346 | -#if defined (hp300) && !defined (hpux) |
1347 | - printf ("m68k-hp-bsd\n"); exit (0); |
1348 | -#endif |
1349 | - |
1350 | -#if defined (NeXT) |
1351 | -#if !defined (__ARCHITECTURE__) |
1352 | -#define __ARCHITECTURE__ "m68k" |
1353 | -#endif |
1354 | - int version; |
1355 | - version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; |
1356 | - if (version < 4) |
1357 | - printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); |
1358 | - else |
1359 | - printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); |
1360 | - exit (0); |
1361 | -#endif |
1362 | - |
1363 | -#if defined (MULTIMAX) || defined (n16) |
1364 | -#if defined (UMAXV) |
1365 | - printf ("ns32k-encore-sysv\n"); exit (0); |
1366 | -#else |
1367 | -#if defined (CMU) |
1368 | - printf ("ns32k-encore-mach\n"); exit (0); |
1369 | -#else |
1370 | - printf ("ns32k-encore-bsd\n"); exit (0); |
1371 | -#endif |
1372 | -#endif |
1373 | -#endif |
1374 | - |
1375 | -#if defined (__386BSD__) |
1376 | - printf ("i386-pc-bsd\n"); exit (0); |
1377 | -#endif |
1378 | - |
1379 | -#if defined (sequent) |
1380 | -#if defined (i386) |
1381 | - printf ("i386-sequent-dynix\n"); exit (0); |
1382 | -#endif |
1383 | -#if defined (ns32000) |
1384 | - printf ("ns32k-sequent-dynix\n"); exit (0); |
1385 | -#endif |
1386 | -#endif |
1387 | - |
1388 | -#if defined (_SEQUENT_) |
1389 | - struct utsname un; |
1390 | - |
1391 | - uname(&un); |
1392 | - |
1393 | - if (strncmp(un.version, "V2", 2) == 0) { |
1394 | - printf ("i386-sequent-ptx2\n"); exit (0); |
1395 | - } |
1396 | - if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ |
1397 | - printf ("i386-sequent-ptx1\n"); exit (0); |
1398 | - } |
1399 | - printf ("i386-sequent-ptx\n"); exit (0); |
1400 | - |
1401 | -#endif |
1402 | - |
1403 | -#if defined (vax) |
1404 | -# if !defined (ultrix) |
1405 | -# include <sys/param.h> |
1406 | -# if defined (BSD) |
1407 | -# if BSD == 43 |
1408 | - printf ("vax-dec-bsd4.3\n"); exit (0); |
1409 | -# else |
1410 | -# if BSD == 199006 |
1411 | - printf ("vax-dec-bsd4.3reno\n"); exit (0); |
1412 | -# else |
1413 | - printf ("vax-dec-bsd\n"); exit (0); |
1414 | -# endif |
1415 | -# endif |
1416 | -# else |
1417 | - printf ("vax-dec-bsd\n"); exit (0); |
1418 | -# endif |
1419 | -# else |
1420 | - printf ("vax-dec-ultrix\n"); exit (0); |
1421 | -# endif |
1422 | -#endif |
1423 | - |
1424 | -#if defined (alliant) && defined (i860) |
1425 | - printf ("i860-alliant-bsd\n"); exit (0); |
1426 | -#endif |
1427 | - |
1428 | - exit (1); |
1429 | -} |
1430 | -EOF |
1431 | - |
1432 | -$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && |
1433 | - { echo "$SYSTEM_NAME"; exit; } |
1434 | - |
1435 | -# Apollos put the system type in the environment. |
1436 | - |
1437 | -test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } |
1438 | - |
1439 | -# Convex versions that predate uname can use getsysinfo(1) |
1440 | - |
1441 | -if [ -x /usr/convex/getsysinfo ] |
1442 | -then |
1443 | - case `getsysinfo -f cpu_type` in |
1444 | - c1*) |
1445 | - echo c1-convex-bsd |
1446 | - exit ;; |
1447 | - c2*) |
1448 | - if getsysinfo -f scalar_acc |
1449 | - then echo c32-convex-bsd |
1450 | - else echo c2-convex-bsd |
1451 | - fi |
1452 | - exit ;; |
1453 | - c34*) |
1454 | - echo c34-convex-bsd |
1455 | - exit ;; |
1456 | - c38*) |
1457 | - echo c38-convex-bsd |
1458 | - exit ;; |
1459 | - c4*) |
1460 | - echo c4-convex-bsd |
1461 | - exit ;; |
1462 | - esac |
1463 | -fi |
1464 | - |
1465 | -cat >&2 <<EOF |
1466 | -$0: unable to guess system type |
1467 | - |
1468 | -This script, last modified $timestamp, has failed to recognize |
1469 | -the operating system you are using. It is advised that you |
1470 | -download the most up to date version of the config scripts from |
1471 | - |
1472 | - http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD |
1473 | -and |
1474 | - http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD |
1475 | - |
1476 | -If the version you run ($0) is already up to date, please |
1477 | -send the following data and any information you think might be |
1478 | -pertinent to <config-patches@gnu.org> in order to provide the needed |
1479 | -information to handle your system. |
1480 | - |
1481 | -config.guess timestamp = $timestamp |
1482 | - |
1483 | -uname -m = `(uname -m) 2>/dev/null || echo unknown` |
1484 | -uname -r = `(uname -r) 2>/dev/null || echo unknown` |
1485 | -uname -s = `(uname -s) 2>/dev/null || echo unknown` |
1486 | -uname -v = `(uname -v) 2>/dev/null || echo unknown` |
1487 | - |
1488 | -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` |
1489 | -/bin/uname -X = `(/bin/uname -X) 2>/dev/null` |
1490 | - |
1491 | -hostinfo = `(hostinfo) 2>/dev/null` |
1492 | -/bin/universe = `(/bin/universe) 2>/dev/null` |
1493 | -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` |
1494 | -/bin/arch = `(/bin/arch) 2>/dev/null` |
1495 | -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` |
1496 | -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` |
1497 | - |
1498 | -UNAME_MACHINE = ${UNAME_MACHINE} |
1499 | -UNAME_RELEASE = ${UNAME_RELEASE} |
1500 | -UNAME_SYSTEM = ${UNAME_SYSTEM} |
1501 | -UNAME_VERSION = ${UNAME_VERSION} |
1502 | -EOF |
1503 | - |
1504 | -exit 1 |
1505 | - |
1506 | -# Local variables: |
1507 | -# eval: (add-hook 'write-file-hooks 'time-stamp) |
1508 | -# time-stamp-start: "timestamp='" |
1509 | -# time-stamp-format: "%:y-%02m-%02d" |
1510 | -# time-stamp-end: "'" |
1511 | -# End: |
1512 | |
1513 | === removed file '.pc/50_autotools-dev.diff/config.sub' |
1514 | --- .pc/50_autotools-dev.diff/config.sub 2010-06-22 12:44:32 +0000 |
1515 | +++ .pc/50_autotools-dev.diff/config.sub 1970-01-01 00:00:00 +0000 |
1516 | @@ -1,1708 +0,0 @@ |
1517 | -#! /bin/sh |
1518 | -# Configuration validation subroutine script. |
1519 | -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
1520 | -# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 |
1521 | -# Free Software Foundation, Inc. |
1522 | - |
1523 | -timestamp='2009-12-31' |
1524 | - |
1525 | -# This file is (in principle) common to ALL GNU software. |
1526 | -# The presence of a machine in this file suggests that SOME GNU software |
1527 | -# can handle that machine. It does not imply ALL GNU software can. |
1528 | -# |
1529 | -# This file is free software; you can redistribute it and/or modify |
1530 | -# it under the terms of the GNU General Public License as published by |
1531 | -# the Free Software Foundation; either version 2 of the License, or |
1532 | -# (at your option) any later version. |
1533 | -# |
1534 | -# This program is distributed in the hope that it will be useful, |
1535 | -# but WITHOUT ANY WARRANTY; without even the implied warranty of |
1536 | -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1537 | -# GNU General Public License for more details. |
1538 | -# |
1539 | -# You should have received a copy of the GNU General Public License |
1540 | -# along with this program; if not, write to the Free Software |
1541 | -# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA |
1542 | -# 02110-1301, USA. |
1543 | -# |
1544 | -# As a special exception to the GNU General Public License, if you |
1545 | -# distribute this file as part of a program that contains a |
1546 | -# configuration script generated by Autoconf, you may include it under |
1547 | -# the same distribution terms that you use for the rest of that program. |
1548 | - |
1549 | - |
1550 | -# Please send patches to <config-patches@gnu.org>. Submit a context |
1551 | -# diff and a properly formatted GNU ChangeLog entry. |
1552 | -# |
1553 | -# Configuration subroutine to validate and canonicalize a configuration type. |
1554 | -# Supply the specified configuration type as an argument. |
1555 | -# If it is invalid, we print an error message on stderr and exit with code 1. |
1556 | -# Otherwise, we print the canonical config type on stdout and succeed. |
1557 | - |
1558 | -# You can get the latest version of this script from: |
1559 | -# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD |
1560 | - |
1561 | -# This file is supposed to be the same for all GNU packages |
1562 | -# and recognize all the CPU types, system types and aliases |
1563 | -# that are meaningful with *any* GNU software. |
1564 | -# Each package is responsible for reporting which valid configurations |
1565 | -# it does not support. The user should be able to distinguish |
1566 | -# a failure to support a valid configuration from a meaningless |
1567 | -# configuration. |
1568 | - |
1569 | -# The goal of this file is to map all the various variations of a given |
1570 | -# machine specification into a single specification in the form: |
1571 | -# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM |
1572 | -# or in some cases, the newer four-part form: |
1573 | -# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM |
1574 | -# It is wrong to echo any other type of specification. |
1575 | - |
1576 | -me=`echo "$0" | sed -e 's,.*/,,'` |
1577 | - |
1578 | -usage="\ |
1579 | -Usage: $0 [OPTION] CPU-MFR-OPSYS |
1580 | - $0 [OPTION] ALIAS |
1581 | - |
1582 | -Canonicalize a configuration name. |
1583 | - |
1584 | -Operation modes: |
1585 | - -h, --help print this help, then exit |
1586 | - -t, --time-stamp print date of last modification, then exit |
1587 | - -v, --version print version number, then exit |
1588 | - |
1589 | -Report bugs and patches to <config-patches@gnu.org>." |
1590 | - |
1591 | -version="\ |
1592 | -GNU config.sub ($timestamp) |
1593 | - |
1594 | -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, |
1595 | -2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free |
1596 | -Software Foundation, Inc. |
1597 | - |
1598 | -This is free software; see the source for copying conditions. There is NO |
1599 | -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
1600 | - |
1601 | -help=" |
1602 | -Try \`$me --help' for more information." |
1603 | - |
1604 | -# Parse command line |
1605 | -while test $# -gt 0 ; do |
1606 | - case $1 in |
1607 | - --time-stamp | --time* | -t ) |
1608 | - echo "$timestamp" ; exit ;; |
1609 | - --version | -v ) |
1610 | - echo "$version" ; exit ;; |
1611 | - --help | --h* | -h ) |
1612 | - echo "$usage"; exit ;; |
1613 | - -- ) # Stop option processing |
1614 | - shift; break ;; |
1615 | - - ) # Use stdin as input. |
1616 | - break ;; |
1617 | - -* ) |
1618 | - echo "$me: invalid option $1$help" |
1619 | - exit 1 ;; |
1620 | - |
1621 | - *local*) |
1622 | - # First pass through any local machine types. |
1623 | - echo $1 |
1624 | - exit ;; |
1625 | - |
1626 | - * ) |
1627 | - break ;; |
1628 | - esac |
1629 | -done |
1630 | - |
1631 | -case $# in |
1632 | - 0) echo "$me: missing argument$help" >&2 |
1633 | - exit 1;; |
1634 | - 1) ;; |
1635 | - *) echo "$me: too many arguments$help" >&2 |
1636 | - exit 1;; |
1637 | -esac |
1638 | - |
1639 | -# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). |
1640 | -# Here we must recognize all the valid KERNEL-OS combinations. |
1641 | -maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` |
1642 | -case $maybe_os in |
1643 | - nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ |
1644 | - uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ |
1645 | - kopensolaris*-gnu* | \ |
1646 | - storm-chaos* | os2-emx* | rtmk-nova*) |
1647 | - os=-$maybe_os |
1648 | - basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` |
1649 | - ;; |
1650 | - *) |
1651 | - basic_machine=`echo $1 | sed 's/-[^-]*$//'` |
1652 | - if [ $basic_machine != $1 ] |
1653 | - then os=`echo $1 | sed 's/.*-/-/'` |
1654 | - else os=; fi |
1655 | - ;; |
1656 | -esac |
1657 | - |
1658 | -### Let's recognize common machines as not being operating systems so |
1659 | -### that things like config.sub decstation-3100 work. We also |
1660 | -### recognize some manufacturers as not being operating systems, so we |
1661 | -### can provide default operating systems below. |
1662 | -case $os in |
1663 | - -sun*os*) |
1664 | - # Prevent following clause from handling this invalid input. |
1665 | - ;; |
1666 | - -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ |
1667 | - -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ |
1668 | - -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ |
1669 | - -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ |
1670 | - -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ |
1671 | - -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ |
1672 | - -apple | -axis | -knuth | -cray | -microblaze) |
1673 | - os= |
1674 | - basic_machine=$1 |
1675 | - ;; |
1676 | - -bluegene*) |
1677 | - os=-cnk |
1678 | - ;; |
1679 | - -sim | -cisco | -oki | -wec | -winbond) |
1680 | - os= |
1681 | - basic_machine=$1 |
1682 | - ;; |
1683 | - -scout) |
1684 | - ;; |
1685 | - -wrs) |
1686 | - os=-vxworks |
1687 | - basic_machine=$1 |
1688 | - ;; |
1689 | - -chorusos*) |
1690 | - os=-chorusos |
1691 | - basic_machine=$1 |
1692 | - ;; |
1693 | - -chorusrdb) |
1694 | - os=-chorusrdb |
1695 | - basic_machine=$1 |
1696 | - ;; |
1697 | - -hiux*) |
1698 | - os=-hiuxwe2 |
1699 | - ;; |
1700 | - -sco6) |
1701 | - os=-sco5v6 |
1702 | - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
1703 | - ;; |
1704 | - -sco5) |
1705 | - os=-sco3.2v5 |
1706 | - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
1707 | - ;; |
1708 | - -sco4) |
1709 | - os=-sco3.2v4 |
1710 | - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
1711 | - ;; |
1712 | - -sco3.2.[4-9]*) |
1713 | - os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` |
1714 | - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
1715 | - ;; |
1716 | - -sco3.2v[4-9]*) |
1717 | - # Don't forget version if it is 3.2v4 or newer. |
1718 | - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
1719 | - ;; |
1720 | - -sco5v6*) |
1721 | - # Don't forget version if it is 3.2v4 or newer. |
1722 | - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
1723 | - ;; |
1724 | - -sco*) |
1725 | - os=-sco3.2v2 |
1726 | - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
1727 | - ;; |
1728 | - -udk*) |
1729 | - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
1730 | - ;; |
1731 | - -isc) |
1732 | - os=-isc2.2 |
1733 | - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
1734 | - ;; |
1735 | - -clix*) |
1736 | - basic_machine=clipper-intergraph |
1737 | - ;; |
1738 | - -isc*) |
1739 | - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
1740 | - ;; |
1741 | - -lynx*) |
1742 | - os=-lynxos |
1743 | - ;; |
1744 | - -ptx*) |
1745 | - basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` |
1746 | - ;; |
1747 | - -windowsnt*) |
1748 | - os=`echo $os | sed -e 's/windowsnt/winnt/'` |
1749 | - ;; |
1750 | - -psos*) |
1751 | - os=-psos |
1752 | - ;; |
1753 | - -mint | -mint[0-9]*) |
1754 | - basic_machine=m68k-atari |
1755 | - os=-mint |
1756 | - ;; |
1757 | -esac |
1758 | - |
1759 | -# Decode aliases for certain CPU-COMPANY combinations. |
1760 | -case $basic_machine in |
1761 | - # Recognize the basic CPU types without company name. |
1762 | - # Some are omitted here because they have special meanings below. |
1763 | - 1750a | 580 \ |
1764 | - | a29k \ |
1765 | - | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ |
1766 | - | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ |
1767 | - | am33_2.0 \ |
1768 | - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ |
1769 | - | bfin \ |
1770 | - | c4x | clipper \ |
1771 | - | d10v | d30v | dlx | dsp16xx \ |
1772 | - | fido | fr30 | frv \ |
1773 | - | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ |
1774 | - | i370 | i860 | i960 | ia64 \ |
1775 | - | ip2k | iq2000 \ |
1776 | - | lm32 \ |
1777 | - | m32c | m32r | m32rle | m68000 | m68k | m88k \ |
1778 | - | maxq | mb | microblaze | mcore | mep | metag \ |
1779 | - | mips | mipsbe | mipseb | mipsel | mipsle \ |
1780 | - | mips16 \ |
1781 | - | mips64 | mips64el \ |
1782 | - | mips64octeon | mips64octeonel \ |
1783 | - | mips64orion | mips64orionel \ |
1784 | - | mips64r5900 | mips64r5900el \ |
1785 | - | mips64vr | mips64vrel \ |
1786 | - | mips64vr4100 | mips64vr4100el \ |
1787 | - | mips64vr4300 | mips64vr4300el \ |
1788 | - | mips64vr5000 | mips64vr5000el \ |
1789 | - | mips64vr5900 | mips64vr5900el \ |
1790 | - | mipsisa32 | mipsisa32el \ |
1791 | - | mipsisa32r2 | mipsisa32r2el \ |
1792 | - | mipsisa64 | mipsisa64el \ |
1793 | - | mipsisa64r2 | mipsisa64r2el \ |
1794 | - | mipsisa64sb1 | mipsisa64sb1el \ |
1795 | - | mipsisa64sr71k | mipsisa64sr71kel \ |
1796 | - | mipstx39 | mipstx39el \ |
1797 | - | mn10200 | mn10300 \ |
1798 | - | moxie \ |
1799 | - | mt \ |
1800 | - | msp430 \ |
1801 | - | nios | nios2 \ |
1802 | - | ns16k | ns32k \ |
1803 | - | or32 \ |
1804 | - | pdp10 | pdp11 | pj | pjl \ |
1805 | - | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ |
1806 | - | pyramid \ |
1807 | - | rx \ |
1808 | - | score \ |
1809 | - | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ |
1810 | - | sh64 | sh64le \ |
1811 | - | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ |
1812 | - | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ |
1813 | - | spu | strongarm \ |
1814 | - | tahoe | thumb | tic4x | tic80 | tron \ |
1815 | - | ubicom32 \ |
1816 | - | v850 | v850e \ |
1817 | - | we32k \ |
1818 | - | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ |
1819 | - | z8k | z80) |
1820 | - basic_machine=$basic_machine-unknown |
1821 | - ;; |
1822 | - m6811 | m68hc11 | m6812 | m68hc12 | picochip) |
1823 | - # Motorola 68HC11/12. |
1824 | - basic_machine=$basic_machine-unknown |
1825 | - os=-none |
1826 | - ;; |
1827 | - m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) |
1828 | - ;; |
1829 | - ms1) |
1830 | - basic_machine=mt-unknown |
1831 | - ;; |
1832 | - |
1833 | - # We use `pc' rather than `unknown' |
1834 | - # because (1) that's what they normally are, and |
1835 | - # (2) the word "unknown" tends to confuse beginning users. |
1836 | - i*86 | x86_64) |
1837 | - basic_machine=$basic_machine-pc |
1838 | - ;; |
1839 | - # Object if more than one company name word. |
1840 | - *-*-*) |
1841 | - echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 |
1842 | - exit 1 |
1843 | - ;; |
1844 | - # Recognize the basic CPU types with company name. |
1845 | - 580-* \ |
1846 | - | a29k-* \ |
1847 | - | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ |
1848 | - | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ |
1849 | - | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ |
1850 | - | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ |
1851 | - | avr-* | avr32-* \ |
1852 | - | bfin-* | bs2000-* \ |
1853 | - | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ |
1854 | - | clipper-* | craynv-* | cydra-* \ |
1855 | - | d10v-* | d30v-* | dlx-* \ |
1856 | - | elxsi-* \ |
1857 | - | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ |
1858 | - | h8300-* | h8500-* \ |
1859 | - | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ |
1860 | - | i*86-* | i860-* | i960-* | ia64-* \ |
1861 | - | ip2k-* | iq2000-* \ |
1862 | - | lm32-* \ |
1863 | - | m32c-* | m32r-* | m32rle-* \ |
1864 | - | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
1865 | - | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ |
1866 | - | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ |
1867 | - | mips16-* \ |
1868 | - | mips64-* | mips64el-* \ |
1869 | - | mips64octeon-* | mips64octeonel-* \ |
1870 | - | mips64orion-* | mips64orionel-* \ |
1871 | - | mips64r5900-* | mips64r5900el-* \ |
1872 | - | mips64vr-* | mips64vrel-* \ |
1873 | - | mips64vr4100-* | mips64vr4100el-* \ |
1874 | - | mips64vr4300-* | mips64vr4300el-* \ |
1875 | - | mips64vr5000-* | mips64vr5000el-* \ |
1876 | - | mips64vr5900-* | mips64vr5900el-* \ |
1877 | - | mipsisa32-* | mipsisa32el-* \ |
1878 | - | mipsisa32r2-* | mipsisa32r2el-* \ |
1879 | - | mipsisa64-* | mipsisa64el-* \ |
1880 | - | mipsisa64r2-* | mipsisa64r2el-* \ |
1881 | - | mipsisa64sb1-* | mipsisa64sb1el-* \ |
1882 | - | mipsisa64sr71k-* | mipsisa64sr71kel-* \ |
1883 | - | mipstx39-* | mipstx39el-* \ |
1884 | - | mmix-* \ |
1885 | - | mt-* \ |
1886 | - | msp430-* \ |
1887 | - | nios-* | nios2-* \ |
1888 | - | none-* | np1-* | ns16k-* | ns32k-* \ |
1889 | - | orion-* \ |
1890 | - | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
1891 | - | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ |
1892 | - | pyramid-* \ |
1893 | - | romp-* | rs6000-* | rx-* \ |
1894 | - | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ |
1895 | - | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ |
1896 | - | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ |
1897 | - | sparclite-* \ |
1898 | - | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ |
1899 | - | tahoe-* | thumb-* \ |
1900 | - | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \ |
1901 | - | tron-* \ |
1902 | - | ubicom32-* \ |
1903 | - | v850-* | v850e-* | vax-* \ |
1904 | - | we32k-* \ |
1905 | - | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ |
1906 | - | xstormy16-* | xtensa*-* \ |
1907 | - | ymp-* \ |
1908 | - | z8k-* | z80-*) |
1909 | - ;; |
1910 | - # Recognize the basic CPU types without company name, with glob match. |
1911 | - xtensa*) |
1912 | - basic_machine=$basic_machine-unknown |
1913 | - ;; |
1914 | - # Recognize the various machine names and aliases which stand |
1915 | - # for a CPU type and a company and sometimes even an OS. |
1916 | - 386bsd) |
1917 | - basic_machine=i386-unknown |
1918 | - os=-bsd |
1919 | - ;; |
1920 | - 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) |
1921 | - basic_machine=m68000-att |
1922 | - ;; |
1923 | - 3b*) |
1924 | - basic_machine=we32k-att |
1925 | - ;; |
1926 | - a29khif) |
1927 | - basic_machine=a29k-amd |
1928 | - os=-udi |
1929 | - ;; |
1930 | - abacus) |
1931 | - basic_machine=abacus-unknown |
1932 | - ;; |
1933 | - adobe68k) |
1934 | - basic_machine=m68010-adobe |
1935 | - os=-scout |
1936 | - ;; |
1937 | - alliant | fx80) |
1938 | - basic_machine=fx80-alliant |
1939 | - ;; |
1940 | - altos | altos3068) |
1941 | - basic_machine=m68k-altos |
1942 | - ;; |
1943 | - am29k) |
1944 | - basic_machine=a29k-none |
1945 | - os=-bsd |
1946 | - ;; |
1947 | - amd64) |
1948 | - basic_machine=x86_64-pc |
1949 | - ;; |
1950 | - amd64-*) |
1951 | - basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` |
1952 | - ;; |
1953 | - amdahl) |
1954 | - basic_machine=580-amdahl |
1955 | - os=-sysv |
1956 | - ;; |
1957 | - amiga | amiga-*) |
1958 | - basic_machine=m68k-unknown |
1959 | - ;; |
1960 | - amigaos | amigados) |
1961 | - basic_machine=m68k-unknown |
1962 | - os=-amigaos |
1963 | - ;; |
1964 | - amigaunix | amix) |
1965 | - basic_machine=m68k-unknown |
1966 | - os=-sysv4 |
1967 | - ;; |
1968 | - apollo68) |
1969 | - basic_machine=m68k-apollo |
1970 | - os=-sysv |
1971 | - ;; |
1972 | - apollo68bsd) |
1973 | - basic_machine=m68k-apollo |
1974 | - os=-bsd |
1975 | - ;; |
1976 | - aros) |
1977 | - basic_machine=i386-pc |
1978 | - os=-aros |
1979 | - ;; |
1980 | - aux) |
1981 | - basic_machine=m68k-apple |
1982 | - os=-aux |
1983 | - ;; |
1984 | - balance) |
1985 | - basic_machine=ns32k-sequent |
1986 | - os=-dynix |
1987 | - ;; |
1988 | - blackfin) |
1989 | - basic_machine=bfin-unknown |
1990 | - os=-linux |
1991 | - ;; |
1992 | - blackfin-*) |
1993 | - basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` |
1994 | - os=-linux |
1995 | - ;; |
1996 | - bluegene*) |
1997 | - basic_machine=powerpc-ibm |
1998 | - os=-cnk |
1999 | - ;; |
2000 | - c90) |
2001 | - basic_machine=c90-cray |
2002 | - os=-unicos |
2003 | - ;; |
2004 | - cegcc) |
2005 | - basic_machine=arm-unknown |
2006 | - os=-cegcc |
2007 | - ;; |
2008 | - convex-c1) |
2009 | - basic_machine=c1-convex |
2010 | - os=-bsd |
2011 | - ;; |
2012 | - convex-c2) |
2013 | - basic_machine=c2-convex |
2014 | - os=-bsd |
2015 | - ;; |
2016 | - convex-c32) |
2017 | - basic_machine=c32-convex |
2018 | - os=-bsd |
2019 | - ;; |
2020 | - convex-c34) |
2021 | - basic_machine=c34-convex |
2022 | - os=-bsd |
2023 | - ;; |
2024 | - convex-c38) |
2025 | - basic_machine=c38-convex |
2026 | - os=-bsd |
2027 | - ;; |
2028 | - cray | j90) |
2029 | - basic_machine=j90-cray |
2030 | - os=-unicos |
2031 | - ;; |
2032 | - craynv) |
2033 | - basic_machine=craynv-cray |
2034 | - os=-unicosmp |
2035 | - ;; |
2036 | - cr16) |
2037 | - basic_machine=cr16-unknown |
2038 | - os=-elf |
2039 | - ;; |
2040 | - crds | unos) |
2041 | - basic_machine=m68k-crds |
2042 | - ;; |
2043 | - crisv32 | crisv32-* | etraxfs*) |
2044 | - basic_machine=crisv32-axis |
2045 | - ;; |
2046 | - cris | cris-* | etrax*) |
2047 | - basic_machine=cris-axis |
2048 | - ;; |
2049 | - crx) |
2050 | - basic_machine=crx-unknown |
2051 | - os=-elf |
2052 | - ;; |
2053 | - da30 | da30-*) |
2054 | - basic_machine=m68k-da30 |
2055 | - ;; |
2056 | - decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) |
2057 | - basic_machine=mips-dec |
2058 | - ;; |
2059 | - decsystem10* | dec10*) |
2060 | - basic_machine=pdp10-dec |
2061 | - os=-tops10 |
2062 | - ;; |
2063 | - decsystem20* | dec20*) |
2064 | - basic_machine=pdp10-dec |
2065 | - os=-tops20 |
2066 | - ;; |
2067 | - delta | 3300 | motorola-3300 | motorola-delta \ |
2068 | - | 3300-motorola | delta-motorola) |
2069 | - basic_machine=m68k-motorola |
2070 | - ;; |
2071 | - delta88) |
2072 | - basic_machine=m88k-motorola |
2073 | - os=-sysv3 |
2074 | - ;; |
2075 | - dicos) |
2076 | - basic_machine=i686-pc |
2077 | - os=-dicos |
2078 | - ;; |
2079 | - djgpp) |
2080 | - basic_machine=i586-pc |
2081 | - os=-msdosdjgpp |
2082 | - ;; |
2083 | - dpx20 | dpx20-*) |
2084 | - basic_machine=rs6000-bull |
2085 | - os=-bosx |
2086 | - ;; |
2087 | - dpx2* | dpx2*-bull) |
2088 | - basic_machine=m68k-bull |
2089 | - os=-sysv3 |
2090 | - ;; |
2091 | - ebmon29k) |
2092 | - basic_machine=a29k-amd |
2093 | - os=-ebmon |
2094 | - ;; |
2095 | - elxsi) |
2096 | - basic_machine=elxsi-elxsi |
2097 | - os=-bsd |
2098 | - ;; |
2099 | - encore | umax | mmax) |
2100 | - basic_machine=ns32k-encore |
2101 | - ;; |
2102 | - es1800 | OSE68k | ose68k | ose | OSE) |
2103 | - basic_machine=m68k-ericsson |
2104 | - os=-ose |
2105 | - ;; |
2106 | - fx2800) |
2107 | - basic_machine=i860-alliant |
2108 | - ;; |
2109 | - genix) |
2110 | - basic_machine=ns32k-ns |
2111 | - ;; |
2112 | - gmicro) |
2113 | - basic_machine=tron-gmicro |
2114 | - os=-sysv |
2115 | - ;; |
2116 | - go32) |
2117 | - basic_machine=i386-pc |
2118 | - os=-go32 |
2119 | - ;; |
2120 | - h3050r* | hiux*) |
2121 | - basic_machine=hppa1.1-hitachi |
2122 | - os=-hiuxwe2 |
2123 | - ;; |
2124 | - h8300hms) |
2125 | - basic_machine=h8300-hitachi |
2126 | - os=-hms |
2127 | - ;; |
2128 | - h8300xray) |
2129 | - basic_machine=h8300-hitachi |
2130 | - os=-xray |
2131 | - ;; |
2132 | - h8500hms) |
2133 | - basic_machine=h8500-hitachi |
2134 | - os=-hms |
2135 | - ;; |
2136 | - harris) |
2137 | - basic_machine=m88k-harris |
2138 | - os=-sysv3 |
2139 | - ;; |
2140 | - hp300-*) |
2141 | - basic_machine=m68k-hp |
2142 | - ;; |
2143 | - hp300bsd) |
2144 | - basic_machine=m68k-hp |
2145 | - os=-bsd |
2146 | - ;; |
2147 | - hp300hpux) |
2148 | - basic_machine=m68k-hp |
2149 | - os=-hpux |
2150 | - ;; |
2151 | - hp3k9[0-9][0-9] | hp9[0-9][0-9]) |
2152 | - basic_machine=hppa1.0-hp |
2153 | - ;; |
2154 | - hp9k2[0-9][0-9] | hp9k31[0-9]) |
2155 | - basic_machine=m68000-hp |
2156 | - ;; |
2157 | - hp9k3[2-9][0-9]) |
2158 | - basic_machine=m68k-hp |
2159 | - ;; |
2160 | - hp9k6[0-9][0-9] | hp6[0-9][0-9]) |
2161 | - basic_machine=hppa1.0-hp |
2162 | - ;; |
2163 | - hp9k7[0-79][0-9] | hp7[0-79][0-9]) |
2164 | - basic_machine=hppa1.1-hp |
2165 | - ;; |
2166 | - hp9k78[0-9] | hp78[0-9]) |
2167 | - # FIXME: really hppa2.0-hp |
2168 | - basic_machine=hppa1.1-hp |
2169 | - ;; |
2170 | - hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) |
2171 | - # FIXME: really hppa2.0-hp |
2172 | - basic_machine=hppa1.1-hp |
2173 | - ;; |
2174 | - hp9k8[0-9][13679] | hp8[0-9][13679]) |
2175 | - basic_machine=hppa1.1-hp |
2176 | - ;; |
2177 | - hp9k8[0-9][0-9] | hp8[0-9][0-9]) |
2178 | - basic_machine=hppa1.0-hp |
2179 | - ;; |
2180 | - hppa-next) |
2181 | - os=-nextstep3 |
2182 | - ;; |
2183 | - hppaosf) |
2184 | - basic_machine=hppa1.1-hp |
2185 | - os=-osf |
2186 | - ;; |
2187 | - hppro) |
2188 | - basic_machine=hppa1.1-hp |
2189 | - os=-proelf |
2190 | - ;; |
2191 | - i370-ibm* | ibm*) |
2192 | - basic_machine=i370-ibm |
2193 | - ;; |
2194 | -# I'm not sure what "Sysv32" means. Should this be sysv3.2? |
2195 | - i*86v32) |
2196 | - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` |
2197 | - os=-sysv32 |
2198 | - ;; |
2199 | - i*86v4*) |
2200 | - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` |
2201 | - os=-sysv4 |
2202 | - ;; |
2203 | - i*86v) |
2204 | - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` |
2205 | - os=-sysv |
2206 | - ;; |
2207 | - i*86sol2) |
2208 | - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` |
2209 | - os=-solaris2 |
2210 | - ;; |
2211 | - i386mach) |
2212 | - basic_machine=i386-mach |
2213 | - os=-mach |
2214 | - ;; |
2215 | - i386-vsta | vsta) |
2216 | - basic_machine=i386-unknown |
2217 | - os=-vsta |
2218 | - ;; |
2219 | - iris | iris4d) |
2220 | - basic_machine=mips-sgi |
2221 | - case $os in |
2222 | - -irix*) |
2223 | - ;; |
2224 | - *) |
2225 | - os=-irix4 |
2226 | - ;; |
2227 | - esac |
2228 | - ;; |
2229 | - isi68 | isi) |
2230 | - basic_machine=m68k-isi |
2231 | - os=-sysv |
2232 | - ;; |
2233 | - m68knommu) |
2234 | - basic_machine=m68k-unknown |
2235 | - os=-linux |
2236 | - ;; |
2237 | - m68knommu-*) |
2238 | - basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` |
2239 | - os=-linux |
2240 | - ;; |
2241 | - m88k-omron*) |
2242 | - basic_machine=m88k-omron |
2243 | - ;; |
2244 | - magnum | m3230) |
2245 | - basic_machine=mips-mips |
2246 | - os=-sysv |
2247 | - ;; |
2248 | - merlin) |
2249 | - basic_machine=ns32k-utek |
2250 | - os=-sysv |
2251 | - ;; |
2252 | - microblaze) |
2253 | - basic_machine=microblaze-xilinx |
2254 | - ;; |
2255 | - mingw32) |
2256 | - basic_machine=i386-pc |
2257 | - os=-mingw32 |
2258 | - ;; |
2259 | - mingw32ce) |
2260 | - basic_machine=arm-unknown |
2261 | - os=-mingw32ce |
2262 | - ;; |
2263 | - miniframe) |
2264 | - basic_machine=m68000-convergent |
2265 | - ;; |
2266 | - *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) |
2267 | - basic_machine=m68k-atari |
2268 | - os=-mint |
2269 | - ;; |
2270 | - mips3*-*) |
2271 | - basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` |
2272 | - ;; |
2273 | - mips3*) |
2274 | - basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown |
2275 | - ;; |
2276 | - monitor) |
2277 | - basic_machine=m68k-rom68k |
2278 | - os=-coff |
2279 | - ;; |
2280 | - morphos) |
2281 | - basic_machine=powerpc-unknown |
2282 | - os=-morphos |
2283 | - ;; |
2284 | - msdos) |
2285 | - basic_machine=i386-pc |
2286 | - os=-msdos |
2287 | - ;; |
2288 | - ms1-*) |
2289 | - basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` |
2290 | - ;; |
2291 | - mvs) |
2292 | - basic_machine=i370-ibm |
2293 | - os=-mvs |
2294 | - ;; |
2295 | - ncr3000) |
2296 | - basic_machine=i486-ncr |
2297 | - os=-sysv4 |
2298 | - ;; |
2299 | - netbsd386) |
2300 | - basic_machine=i386-unknown |
2301 | - os=-netbsd |
2302 | - ;; |
2303 | - netwinder) |
2304 | - basic_machine=armv4l-rebel |
2305 | - os=-linux |
2306 | - ;; |
2307 | - news | news700 | news800 | news900) |
2308 | - basic_machine=m68k-sony |
2309 | - os=-newsos |
2310 | - ;; |
2311 | - news1000) |
2312 | - basic_machine=m68030-sony |
2313 | - os=-newsos |
2314 | - ;; |
2315 | - news-3600 | risc-news) |
2316 | - basic_machine=mips-sony |
2317 | - os=-newsos |
2318 | - ;; |
2319 | - necv70) |
2320 | - basic_machine=v70-nec |
2321 | - os=-sysv |
2322 | - ;; |
2323 | - next | m*-next ) |
2324 | - basic_machine=m68k-next |
2325 | - case $os in |
2326 | - -nextstep* ) |
2327 | - ;; |
2328 | - -ns2*) |
2329 | - os=-nextstep2 |
2330 | - ;; |
2331 | - *) |
2332 | - os=-nextstep3 |
2333 | - ;; |
2334 | - esac |
2335 | - ;; |
2336 | - nh3000) |
2337 | - basic_machine=m68k-harris |
2338 | - os=-cxux |
2339 | - ;; |
2340 | - nh[45]000) |
2341 | - basic_machine=m88k-harris |
2342 | - os=-cxux |
2343 | - ;; |
2344 | - nindy960) |
2345 | - basic_machine=i960-intel |
2346 | - os=-nindy |
2347 | - ;; |
2348 | - mon960) |
2349 | - basic_machine=i960-intel |
2350 | - os=-mon960 |
2351 | - ;; |
2352 | - nonstopux) |
2353 | - basic_machine=mips-compaq |
2354 | - os=-nonstopux |
2355 | - ;; |
2356 | - np1) |
2357 | - basic_machine=np1-gould |
2358 | - ;; |
2359 | - nsr-tandem) |
2360 | - basic_machine=nsr-tandem |
2361 | - ;; |
2362 | - op50n-* | op60c-*) |
2363 | - basic_machine=hppa1.1-oki |
2364 | - os=-proelf |
2365 | - ;; |
2366 | - openrisc | openrisc-*) |
2367 | - basic_machine=or32-unknown |
2368 | - ;; |
2369 | - os400) |
2370 | - basic_machine=powerpc-ibm |
2371 | - os=-os400 |
2372 | - ;; |
2373 | - OSE68000 | ose68000) |
2374 | - basic_machine=m68000-ericsson |
2375 | - os=-ose |
2376 | - ;; |
2377 | - os68k) |
2378 | - basic_machine=m68k-none |
2379 | - os=-os68k |
2380 | - ;; |
2381 | - pa-hitachi) |
2382 | - basic_machine=hppa1.1-hitachi |
2383 | - os=-hiuxwe2 |
2384 | - ;; |
2385 | - paragon) |
2386 | - basic_machine=i860-intel |
2387 | - os=-osf |
2388 | - ;; |
2389 | - parisc) |
2390 | - basic_machine=hppa-unknown |
2391 | - os=-linux |
2392 | - ;; |
2393 | - parisc-*) |
2394 | - basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` |
2395 | - os=-linux |
2396 | - ;; |
2397 | - pbd) |
2398 | - basic_machine=sparc-tti |
2399 | - ;; |
2400 | - pbb) |
2401 | - basic_machine=m68k-tti |
2402 | - ;; |
2403 | - pc532 | pc532-*) |
2404 | - basic_machine=ns32k-pc532 |
2405 | - ;; |
2406 | - pc98) |
2407 | - basic_machine=i386-pc |
2408 | - ;; |
2409 | - pc98-*) |
2410 | - basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` |
2411 | - ;; |
2412 | - pentium | p5 | k5 | k6 | nexgen | viac3) |
2413 | - basic_machine=i586-pc |
2414 | - ;; |
2415 | - pentiumpro | p6 | 6x86 | athlon | athlon_*) |
2416 | - basic_machine=i686-pc |
2417 | - ;; |
2418 | - pentiumii | pentium2 | pentiumiii | pentium3) |
2419 | - basic_machine=i686-pc |
2420 | - ;; |
2421 | - pentium4) |
2422 | - basic_machine=i786-pc |
2423 | - ;; |
2424 | - pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) |
2425 | - basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` |
2426 | - ;; |
2427 | - pentiumpro-* | p6-* | 6x86-* | athlon-*) |
2428 | - basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` |
2429 | - ;; |
2430 | - pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) |
2431 | - basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` |
2432 | - ;; |
2433 | - pentium4-*) |
2434 | - basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` |
2435 | - ;; |
2436 | - pn) |
2437 | - basic_machine=pn-gould |
2438 | - ;; |
2439 | - power) basic_machine=power-ibm |
2440 | - ;; |
2441 | - ppc) basic_machine=powerpc-unknown |
2442 | - ;; |
2443 | - ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` |
2444 | - ;; |
2445 | - ppcle | powerpclittle | ppc-le | powerpc-little) |
2446 | - basic_machine=powerpcle-unknown |
2447 | - ;; |
2448 | - ppcle-* | powerpclittle-*) |
2449 | - basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` |
2450 | - ;; |
2451 | - ppc64) basic_machine=powerpc64-unknown |
2452 | - ;; |
2453 | - ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` |
2454 | - ;; |
2455 | - ppc64le | powerpc64little | ppc64-le | powerpc64-little) |
2456 | - basic_machine=powerpc64le-unknown |
2457 | - ;; |
2458 | - ppc64le-* | powerpc64little-*) |
2459 | - basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` |
2460 | - ;; |
2461 | - ps2) |
2462 | - basic_machine=i386-ibm |
2463 | - ;; |
2464 | - pw32) |
2465 | - basic_machine=i586-unknown |
2466 | - os=-pw32 |
2467 | - ;; |
2468 | - rdos) |
2469 | - basic_machine=i386-pc |
2470 | - os=-rdos |
2471 | - ;; |
2472 | - rom68k) |
2473 | - basic_machine=m68k-rom68k |
2474 | - os=-coff |
2475 | - ;; |
2476 | - rm[46]00) |
2477 | - basic_machine=mips-siemens |
2478 | - ;; |
2479 | - rtpc | rtpc-*) |
2480 | - basic_machine=romp-ibm |
2481 | - ;; |
2482 | - s390 | s390-*) |
2483 | - basic_machine=s390-ibm |
2484 | - ;; |
2485 | - s390x | s390x-*) |
2486 | - basic_machine=s390x-ibm |
2487 | - ;; |
2488 | - sa29200) |
2489 | - basic_machine=a29k-amd |
2490 | - os=-udi |
2491 | - ;; |
2492 | - sb1) |
2493 | - basic_machine=mipsisa64sb1-unknown |
2494 | - ;; |
2495 | - sb1el) |
2496 | - basic_machine=mipsisa64sb1el-unknown |
2497 | - ;; |
2498 | - sde) |
2499 | - basic_machine=mipsisa32-sde |
2500 | - os=-elf |
2501 | - ;; |
2502 | - sei) |
2503 | - basic_machine=mips-sei |
2504 | - os=-seiux |
2505 | - ;; |
2506 | - sequent) |
2507 | - basic_machine=i386-sequent |
2508 | - ;; |
2509 | - sh) |
2510 | - basic_machine=sh-hitachi |
2511 | - os=-hms |
2512 | - ;; |
2513 | - sh5el) |
2514 | - basic_machine=sh5le-unknown |
2515 | - ;; |
2516 | - sh64) |
2517 | - basic_machine=sh64-unknown |
2518 | - ;; |
2519 | - sparclite-wrs | simso-wrs) |
2520 | - basic_machine=sparclite-wrs |
2521 | - os=-vxworks |
2522 | - ;; |
2523 | - sps7) |
2524 | - basic_machine=m68k-bull |
2525 | - os=-sysv2 |
2526 | - ;; |
2527 | - spur) |
2528 | - basic_machine=spur-unknown |
2529 | - ;; |
2530 | - st2000) |
2531 | - basic_machine=m68k-tandem |
2532 | - ;; |
2533 | - stratus) |
2534 | - basic_machine=i860-stratus |
2535 | - os=-sysv4 |
2536 | - ;; |
2537 | - sun2) |
2538 | - basic_machine=m68000-sun |
2539 | - ;; |
2540 | - sun2os3) |
2541 | - basic_machine=m68000-sun |
2542 | - os=-sunos3 |
2543 | - ;; |
2544 | - sun2os4) |
2545 | - basic_machine=m68000-sun |
2546 | - os=-sunos4 |
2547 | - ;; |
2548 | - sun3os3) |
2549 | - basic_machine=m68k-sun |
2550 | - os=-sunos3 |
2551 | - ;; |
2552 | - sun3os4) |
2553 | - basic_machine=m68k-sun |
2554 | - os=-sunos4 |
2555 | - ;; |
2556 | - sun4os3) |
2557 | - basic_machine=sparc-sun |
2558 | - os=-sunos3 |
2559 | - ;; |
2560 | - sun4os4) |
2561 | - basic_machine=sparc-sun |
2562 | - os=-sunos4 |
2563 | - ;; |
2564 | - sun4sol2) |
2565 | - basic_machine=sparc-sun |
2566 | - os=-solaris2 |
2567 | - ;; |
2568 | - sun3 | sun3-*) |
2569 | - basic_machine=m68k-sun |
2570 | - ;; |
2571 | - sun4) |
2572 | - basic_machine=sparc-sun |
2573 | - ;; |
2574 | - sun386 | sun386i | roadrunner) |
2575 | - basic_machine=i386-sun |
2576 | - ;; |
2577 | - sv1) |
2578 | - basic_machine=sv1-cray |
2579 | - os=-unicos |
2580 | - ;; |
2581 | - symmetry) |
2582 | - basic_machine=i386-sequent |
2583 | - os=-dynix |
2584 | - ;; |
2585 | - t3e) |
2586 | - basic_machine=alphaev5-cray |
2587 | - os=-unicos |
2588 | - ;; |
2589 | - t90) |
2590 | - basic_machine=t90-cray |
2591 | - os=-unicos |
2592 | - ;; |
2593 | - tic54x | c54x*) |
2594 | - basic_machine=tic54x-unknown |
2595 | - os=-coff |
2596 | - ;; |
2597 | - tic55x | c55x*) |
2598 | - basic_machine=tic55x-unknown |
2599 | - os=-coff |
2600 | - ;; |
2601 | - tic6x | c6x*) |
2602 | - basic_machine=tic6x-unknown |
2603 | - os=-coff |
2604 | - ;; |
2605 | - tile*) |
2606 | - basic_machine=tile-unknown |
2607 | - os=-linux-gnu |
2608 | - ;; |
2609 | - tx39) |
2610 | - basic_machine=mipstx39-unknown |
2611 | - ;; |
2612 | - tx39el) |
2613 | - basic_machine=mipstx39el-unknown |
2614 | - ;; |
2615 | - toad1) |
2616 | - basic_machine=pdp10-xkl |
2617 | - os=-tops20 |
2618 | - ;; |
2619 | - tower | tower-32) |
2620 | - basic_machine=m68k-ncr |
2621 | - ;; |
2622 | - tpf) |
2623 | - basic_machine=s390x-ibm |
2624 | - os=-tpf |
2625 | - ;; |
2626 | - udi29k) |
2627 | - basic_machine=a29k-amd |
2628 | - os=-udi |
2629 | - ;; |
2630 | - ultra3) |
2631 | - basic_machine=a29k-nyu |
2632 | - os=-sym1 |
2633 | - ;; |
2634 | - v810 | necv810) |
2635 | - basic_machine=v810-nec |
2636 | - os=-none |
2637 | - ;; |
2638 | - vaxv) |
2639 | - basic_machine=vax-dec |
2640 | - os=-sysv |
2641 | - ;; |
2642 | - vms) |
2643 | - basic_machine=vax-dec |
2644 | - os=-vms |
2645 | - ;; |
2646 | - vpp*|vx|vx-*) |
2647 | - basic_machine=f301-fujitsu |
2648 | - ;; |
2649 | - vxworks960) |
2650 | - basic_machine=i960-wrs |
2651 | - os=-vxworks |
2652 | - ;; |
2653 | - vxworks68) |
2654 | - basic_machine=m68k-wrs |
2655 | - os=-vxworks |
2656 | - ;; |
2657 | - vxworks29k) |
2658 | - basic_machine=a29k-wrs |
2659 | - os=-vxworks |
2660 | - ;; |
2661 | - w65*) |
2662 | - basic_machine=w65-wdc |
2663 | - os=-none |
2664 | - ;; |
2665 | - w89k-*) |
2666 | - basic_machine=hppa1.1-winbond |
2667 | - os=-proelf |
2668 | - ;; |
2669 | - xbox) |
2670 | - basic_machine=i686-pc |
2671 | - os=-mingw32 |
2672 | - ;; |
2673 | - xps | xps100) |
2674 | - basic_machine=xps100-honeywell |
2675 | - ;; |
2676 | - ymp) |
2677 | - basic_machine=ymp-cray |
2678 | - os=-unicos |
2679 | - ;; |
2680 | - z8k-*-coff) |
2681 | - basic_machine=z8k-unknown |
2682 | - os=-sim |
2683 | - ;; |
2684 | - z80-*-coff) |
2685 | - basic_machine=z80-unknown |
2686 | - os=-sim |
2687 | - ;; |
2688 | - none) |
2689 | - basic_machine=none-none |
2690 | - os=-none |
2691 | - ;; |
2692 | - |
2693 | -# Here we handle the default manufacturer of certain CPU types. It is in |
2694 | -# some cases the only manufacturer, in others, it is the most popular. |
2695 | - w89k) |
2696 | - basic_machine=hppa1.1-winbond |
2697 | - ;; |
2698 | - op50n) |
2699 | - basic_machine=hppa1.1-oki |
2700 | - ;; |
2701 | - op60c) |
2702 | - basic_machine=hppa1.1-oki |
2703 | - ;; |
2704 | - romp) |
2705 | - basic_machine=romp-ibm |
2706 | - ;; |
2707 | - mmix) |
2708 | - basic_machine=mmix-knuth |
2709 | - ;; |
2710 | - rs6000) |
2711 | - basic_machine=rs6000-ibm |
2712 | - ;; |
2713 | - vax) |
2714 | - basic_machine=vax-dec |
2715 | - ;; |
2716 | - pdp10) |
2717 | - # there are many clones, so DEC is not a safe bet |
2718 | - basic_machine=pdp10-unknown |
2719 | - ;; |
2720 | - pdp11) |
2721 | - basic_machine=pdp11-dec |
2722 | - ;; |
2723 | - we32k) |
2724 | - basic_machine=we32k-att |
2725 | - ;; |
2726 | - sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) |
2727 | - basic_machine=sh-unknown |
2728 | - ;; |
2729 | - sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) |
2730 | - basic_machine=sparc-sun |
2731 | - ;; |
2732 | - cydra) |
2733 | - basic_machine=cydra-cydrome |
2734 | - ;; |
2735 | - orion) |
2736 | - basic_machine=orion-highlevel |
2737 | - ;; |
2738 | - orion105) |
2739 | - basic_machine=clipper-highlevel |
2740 | - ;; |
2741 | - mac | mpw | mac-mpw) |
2742 | - basic_machine=m68k-apple |
2743 | - ;; |
2744 | - pmac | pmac-mpw) |
2745 | - basic_machine=powerpc-apple |
2746 | - ;; |
2747 | - *-unknown) |
2748 | - # Make sure to match an already-canonicalized machine name. |
2749 | - ;; |
2750 | - *) |
2751 | - echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 |
2752 | - exit 1 |
2753 | - ;; |
2754 | -esac |
2755 | - |
2756 | -# Here we canonicalize certain aliases for manufacturers. |
2757 | -case $basic_machine in |
2758 | - *-digital*) |
2759 | - basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` |
2760 | - ;; |
2761 | - *-commodore*) |
2762 | - basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` |
2763 | - ;; |
2764 | - *) |
2765 | - ;; |
2766 | -esac |
2767 | - |
2768 | -# Decode manufacturer-specific aliases for certain operating systems. |
2769 | - |
2770 | -if [ x"$os" != x"" ] |
2771 | -then |
2772 | -case $os in |
2773 | - # First match some system type aliases |
2774 | - # that might get confused with valid system types. |
2775 | - # -solaris* is a basic system type, with this one exception. |
2776 | - -auroraux) |
2777 | - os=-auroraux |
2778 | - ;; |
2779 | - -solaris1 | -solaris1.*) |
2780 | - os=`echo $os | sed -e 's|solaris1|sunos4|'` |
2781 | - ;; |
2782 | - -solaris) |
2783 | - os=-solaris2 |
2784 | - ;; |
2785 | - -svr4*) |
2786 | - os=-sysv4 |
2787 | - ;; |
2788 | - -unixware*) |
2789 | - os=-sysv4.2uw |
2790 | - ;; |
2791 | - -gnu/linux*) |
2792 | - os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` |
2793 | - ;; |
2794 | - # First accept the basic system types. |
2795 | - # The portable systems comes first. |
2796 | - # Each alternative MUST END IN A *, to match a version number. |
2797 | - # -sysv* is not here because it comes later, after sysvr4. |
2798 | - -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ |
2799 | - | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ |
2800 | - | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ |
2801 | - | -sym* | -kopensolaris* \ |
2802 | - | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ |
2803 | - | -aos* | -aros* \ |
2804 | - | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
2805 | - | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ |
2806 | - | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ |
2807 | - | -openbsd* | -solidbsd* \ |
2808 | - | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ |
2809 | - | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ |
2810 | - | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
2811 | - | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
2812 | - | -chorusos* | -chorusrdb* | -cegcc* \ |
2813 | - | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
2814 | - | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ |
2815 | - | -uxpv* | -beos* | -mpeix* | -udk* \ |
2816 | - | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |
2817 | - | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
2818 | - | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
2819 | - | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
2820 | - | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
2821 | - | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ |
2822 | - | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) |
2823 | - # Remember, each alternative MUST END IN *, to match a version number. |
2824 | - ;; |
2825 | - -qnx*) |
2826 | - case $basic_machine in |
2827 | - x86-* | i*86-*) |
2828 | - ;; |
2829 | - *) |
2830 | - os=-nto$os |
2831 | - ;; |
2832 | - esac |
2833 | - ;; |
2834 | - -nto-qnx*) |
2835 | - ;; |
2836 | - -nto*) |
2837 | - os=`echo $os | sed -e 's|nto|nto-qnx|'` |
2838 | - ;; |
2839 | - -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ |
2840 | - | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ |
2841 | - | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) |
2842 | - ;; |
2843 | - -mac*) |
2844 | - os=`echo $os | sed -e 's|mac|macos|'` |
2845 | - ;; |
2846 | - -linux-dietlibc) |
2847 | - os=-linux-dietlibc |
2848 | - ;; |
2849 | - -linux*) |
2850 | - os=`echo $os | sed -e 's|linux|linux-gnu|'` |
2851 | - ;; |
2852 | - -sunos5*) |
2853 | - os=`echo $os | sed -e 's|sunos5|solaris2|'` |
2854 | - ;; |
2855 | - -sunos6*) |
2856 | - os=`echo $os | sed -e 's|sunos6|solaris3|'` |
2857 | - ;; |
2858 | - -opened*) |
2859 | - os=-openedition |
2860 | - ;; |
2861 | - -os400*) |
2862 | - os=-os400 |
2863 | - ;; |
2864 | - -wince*) |
2865 | - os=-wince |
2866 | - ;; |
2867 | - -osfrose*) |
2868 | - os=-osfrose |
2869 | - ;; |
2870 | - -osf*) |
2871 | - os=-osf |
2872 | - ;; |
2873 | - -utek*) |
2874 | - os=-bsd |
2875 | - ;; |
2876 | - -dynix*) |
2877 | - os=-bsd |
2878 | - ;; |
2879 | - -acis*) |
2880 | - os=-aos |
2881 | - ;; |
2882 | - -atheos*) |
2883 | - os=-atheos |
2884 | - ;; |
2885 | - -syllable*) |
2886 | - os=-syllable |
2887 | - ;; |
2888 | - -386bsd) |
2889 | - os=-bsd |
2890 | - ;; |
2891 | - -ctix* | -uts*) |
2892 | - os=-sysv |
2893 | - ;; |
2894 | - -nova*) |
2895 | - os=-rtmk-nova |
2896 | - ;; |
2897 | - -ns2 ) |
2898 | - os=-nextstep2 |
2899 | - ;; |
2900 | - -nsk*) |
2901 | - os=-nsk |
2902 | - ;; |
2903 | - # Preserve the version number of sinix5. |
2904 | - -sinix5.*) |
2905 | - os=`echo $os | sed -e 's|sinix|sysv|'` |
2906 | - ;; |
2907 | - -sinix*) |
2908 | - os=-sysv4 |
2909 | - ;; |
2910 | - -tpf*) |
2911 | - os=-tpf |
2912 | - ;; |
2913 | - -triton*) |
2914 | - os=-sysv3 |
2915 | - ;; |
2916 | - -oss*) |
2917 | - os=-sysv3 |
2918 | - ;; |
2919 | - -svr4) |
2920 | - os=-sysv4 |
2921 | - ;; |
2922 | - -svr3) |
2923 | - os=-sysv3 |
2924 | - ;; |
2925 | - -sysvr4) |
2926 | - os=-sysv4 |
2927 | - ;; |
2928 | - # This must come after -sysvr4. |
2929 | - -sysv*) |
2930 | - ;; |
2931 | - -ose*) |
2932 | - os=-ose |
2933 | - ;; |
2934 | - -es1800*) |
2935 | - os=-ose |
2936 | - ;; |
2937 | - -xenix) |
2938 | - os=-xenix |
2939 | - ;; |
2940 | - -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) |
2941 | - os=-mint |
2942 | - ;; |
2943 | - -aros*) |
2944 | - os=-aros |
2945 | - ;; |
2946 | - -kaos*) |
2947 | - os=-kaos |
2948 | - ;; |
2949 | - -zvmoe) |
2950 | - os=-zvmoe |
2951 | - ;; |
2952 | - -dicos*) |
2953 | - os=-dicos |
2954 | - ;; |
2955 | - -nacl*) |
2956 | - ;; |
2957 | - -none) |
2958 | - ;; |
2959 | - *) |
2960 | - # Get rid of the `-' at the beginning of $os. |
2961 | - os=`echo $os | sed 's/[^-]*-//'` |
2962 | - echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 |
2963 | - exit 1 |
2964 | - ;; |
2965 | -esac |
2966 | -else |
2967 | - |
2968 | -# Here we handle the default operating systems that come with various machines. |
2969 | -# The value should be what the vendor currently ships out the door with their |
2970 | -# machine or put another way, the most popular os provided with the machine. |
2971 | - |
2972 | -# Note that if you're going to try to match "-MANUFACTURER" here (say, |
2973 | -# "-sun"), then you have to tell the case statement up towards the top |
2974 | -# that MANUFACTURER isn't an operating system. Otherwise, code above |
2975 | -# will signal an error saying that MANUFACTURER isn't an operating |
2976 | -# system, and we'll never get to this point. |
2977 | - |
2978 | -case $basic_machine in |
2979 | - score-*) |
2980 | - os=-elf |
2981 | - ;; |
2982 | - spu-*) |
2983 | - os=-elf |
2984 | - ;; |
2985 | - *-acorn) |
2986 | - os=-riscix1.2 |
2987 | - ;; |
2988 | - arm*-rebel) |
2989 | - os=-linux |
2990 | - ;; |
2991 | - arm*-semi) |
2992 | - os=-aout |
2993 | - ;; |
2994 | - c4x-* | tic4x-*) |
2995 | - os=-coff |
2996 | - ;; |
2997 | - # This must come before the *-dec entry. |
2998 | - pdp10-*) |
2999 | - os=-tops20 |
3000 | - ;; |
3001 | - pdp11-*) |
3002 | - os=-none |
3003 | - ;; |
3004 | - *-dec | vax-*) |
3005 | - os=-ultrix4.2 |
3006 | - ;; |
3007 | - m68*-apollo) |
3008 | - os=-domain |
3009 | - ;; |
3010 | - i386-sun) |
3011 | - os=-sunos4.0.2 |
3012 | - ;; |
3013 | - m68000-sun) |
3014 | - os=-sunos3 |
3015 | - # This also exists in the configure program, but was not the |
3016 | - # default. |
3017 | - # os=-sunos4 |
3018 | - ;; |
3019 | - m68*-cisco) |
3020 | - os=-aout |
3021 | - ;; |
3022 | - mep-*) |
3023 | - os=-elf |
3024 | - ;; |
3025 | - mips*-cisco) |
3026 | - os=-elf |
3027 | - ;; |
3028 | - mips*-*) |
3029 | - os=-elf |
3030 | - ;; |
3031 | - or32-*) |
3032 | - os=-coff |
3033 | - ;; |
3034 | - *-tti) # must be before sparc entry or we get the wrong os. |
3035 | - os=-sysv3 |
3036 | - ;; |
3037 | - sparc-* | *-sun) |
3038 | - os=-sunos4.1.1 |
3039 | - ;; |
3040 | - *-be) |
3041 | - os=-beos |
3042 | - ;; |
3043 | - *-haiku) |
3044 | - os=-haiku |
3045 | - ;; |
3046 | - *-ibm) |
3047 | - os=-aix |
3048 | - ;; |
3049 | - *-knuth) |
3050 | - os=-mmixware |
3051 | - ;; |
3052 | - *-wec) |
3053 | - os=-proelf |
3054 | - ;; |
3055 | - *-winbond) |
3056 | - os=-proelf |
3057 | - ;; |
3058 | - *-oki) |
3059 | - os=-proelf |
3060 | - ;; |
3061 | - *-hp) |
3062 | - os=-hpux |
3063 | - ;; |
3064 | - *-hitachi) |
3065 | - os=-hiux |
3066 | - ;; |
3067 | - i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) |
3068 | - os=-sysv |
3069 | - ;; |
3070 | - *-cbm) |
3071 | - os=-amigaos |
3072 | - ;; |
3073 | - *-dg) |
3074 | - os=-dgux |
3075 | - ;; |
3076 | - *-dolphin) |
3077 | - os=-sysv3 |
3078 | - ;; |
3079 | - m68k-ccur) |
3080 | - os=-rtu |
3081 | - ;; |
3082 | - m88k-omron*) |
3083 | - os=-luna |
3084 | - ;; |
3085 | - *-next ) |
3086 | - os=-nextstep |
3087 | - ;; |
3088 | - *-sequent) |
3089 | - os=-ptx |
3090 | - ;; |
3091 | - *-crds) |
3092 | - os=-unos |
3093 | - ;; |
3094 | - *-ns) |
3095 | - os=-genix |
3096 | - ;; |
3097 | - i370-*) |
3098 | - os=-mvs |
3099 | - ;; |
3100 | - *-next) |
3101 | - os=-nextstep3 |
3102 | - ;; |
3103 | - *-gould) |
3104 | - os=-sysv |
3105 | - ;; |
3106 | - *-highlevel) |
3107 | - os=-bsd |
3108 | - ;; |
3109 | - *-encore) |
3110 | - os=-bsd |
3111 | - ;; |
3112 | - *-sgi) |
3113 | - os=-irix |
3114 | - ;; |
3115 | - *-siemens) |
3116 | - os=-sysv4 |
3117 | - ;; |
3118 | - *-masscomp) |
3119 | - os=-rtu |
3120 | - ;; |
3121 | - f30[01]-fujitsu | f700-fujitsu) |
3122 | - os=-uxpv |
3123 | - ;; |
3124 | - *-rom68k) |
3125 | - os=-coff |
3126 | - ;; |
3127 | - *-*bug) |
3128 | - os=-coff |
3129 | - ;; |
3130 | - *-apple) |
3131 | - os=-macos |
3132 | - ;; |
3133 | - *-atari*) |
3134 | - os=-mint |
3135 | - ;; |
3136 | - *) |
3137 | - os=-none |
3138 | - ;; |
3139 | -esac |
3140 | -fi |
3141 | - |
3142 | -# Here we handle the case where we know the os, and the CPU type, but not the |
3143 | -# manufacturer. We pick the logical manufacturer. |
3144 | -vendor=unknown |
3145 | -case $basic_machine in |
3146 | - *-unknown) |
3147 | - case $os in |
3148 | - -riscix*) |
3149 | - vendor=acorn |
3150 | - ;; |
3151 | - -sunos*) |
3152 | - vendor=sun |
3153 | - ;; |
3154 | - -cnk*|-aix*) |
3155 | - vendor=ibm |
3156 | - ;; |
3157 | - -beos*) |
3158 | - vendor=be |
3159 | - ;; |
3160 | - -hpux*) |
3161 | - vendor=hp |
3162 | - ;; |
3163 | - -mpeix*) |
3164 | - vendor=hp |
3165 | - ;; |
3166 | - -hiux*) |
3167 | - vendor=hitachi |
3168 | - ;; |
3169 | - -unos*) |
3170 | - vendor=crds |
3171 | - ;; |
3172 | - -dgux*) |
3173 | - vendor=dg |
3174 | - ;; |
3175 | - -luna*) |
3176 | - vendor=omron |
3177 | - ;; |
3178 | - -genix*) |
3179 | - vendor=ns |
3180 | - ;; |
3181 | - -mvs* | -opened*) |
3182 | - vendor=ibm |
3183 | - ;; |
3184 | - -os400*) |
3185 | - vendor=ibm |
3186 | - ;; |
3187 | - -ptx*) |
3188 | - vendor=sequent |
3189 | - ;; |
3190 | - -tpf*) |
3191 | - vendor=ibm |
3192 | - ;; |
3193 | - -vxsim* | -vxworks* | -windiss*) |
3194 | - vendor=wrs |
3195 | - ;; |
3196 | - -aux*) |
3197 | - vendor=apple |
3198 | - ;; |
3199 | - -hms*) |
3200 | - vendor=hitachi |
3201 | - ;; |
3202 | - -mpw* | -macos*) |
3203 | - vendor=apple |
3204 | - ;; |
3205 | - -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) |
3206 | - vendor=atari |
3207 | - ;; |
3208 | - -vos*) |
3209 | - vendor=stratus |
3210 | - ;; |
3211 | - esac |
3212 | - basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` |
3213 | - ;; |
3214 | -esac |
3215 | - |
3216 | -echo $basic_machine$os |
3217 | -exit |
3218 | - |
3219 | -# Local variables: |
3220 | -# eval: (add-hook 'write-file-hooks 'time-stamp) |
3221 | -# time-stamp-start: "timestamp='" |
3222 | -# time-stamp-format: "%:y-%02m-%02d" |
3223 | -# time-stamp-end: "'" |
3224 | -# End: |
3225 | |
3226 | === removed directory '.pc/50_hurd.diff' |
3227 | === removed file '.pc/50_hurd.diff/tcpdump-stdinc.h' |
3228 | --- .pc/50_hurd.diff/tcpdump-stdinc.h 2011-08-14 10:44:58 +0000 |
3229 | +++ .pc/50_hurd.diff/tcpdump-stdinc.h 1970-01-01 00:00:00 +0000 |
3230 | @@ -1,226 +0,0 @@ |
3231 | -/* |
3232 | - * Copyright (c) 2002 - 2003 |
3233 | - * NetGroup, Politecnico di Torino (Italy) |
3234 | - * All rights reserved. |
3235 | - * |
3236 | - * Redistribution and use in source and binary forms, with or without |
3237 | - * modification, are permitted provided that the following conditions |
3238 | - * are met: |
3239 | - * |
3240 | - * 1. Redistributions of source code must retain the above copyright |
3241 | - * notice, this list of conditions and the following disclaimer. |
3242 | - * 2. Redistributions in binary form must reproduce the above copyright |
3243 | - * notice, this list of conditions and the following disclaimer in the |
3244 | - * documentation and/or other materials provided with the distribution. |
3245 | - * 3. Neither the name of the Politecnico di Torino nor the names of its |
3246 | - * contributors may be used to endorse or promote products derived from |
3247 | - * this software without specific prior written permission. |
3248 | - * |
3249 | - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
3250 | - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
3251 | - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
3252 | - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
3253 | - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
3254 | - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
3255 | - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
3256 | - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
3257 | - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
3258 | - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
3259 | - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
3260 | - * |
3261 | - * |
3262 | - * @(#) $Header: /tcpdump/master/tcpdump/tcpdump-stdinc.h,v 1.18 2007-11-24 18:13:33 mcr Exp $ (LBL) |
3263 | - */ |
3264 | - |
3265 | -/* |
3266 | - * Include the appropriate OS header files on Windows and various flavors |
3267 | - * of UNIX, and also define some additional items and include various |
3268 | - * non-OS header files on Windows, and; this isolates most of the platform |
3269 | - * differences to this one file. |
3270 | - */ |
3271 | - |
3272 | -#ifndef tcpdump_stdinc_h |
3273 | -#define tcpdump_stdinc_h |
3274 | - |
3275 | -#ifdef WIN32 |
3276 | - |
3277 | -#include <stdio.h> |
3278 | -#include <winsock2.h> |
3279 | -#include <Ws2tcpip.h> |
3280 | -#include "bittypes.h" |
3281 | -#include <ctype.h> |
3282 | -#include <time.h> |
3283 | -#include <io.h> |
3284 | -#include <fcntl.h> |
3285 | -#include <sys/types.h> |
3286 | -#include <net/netdb.h> /* in wpcap's Win32/include */ |
3287 | - |
3288 | -#ifndef NBBY |
3289 | -#define NBBY 8 |
3290 | -#endif |
3291 | - |
3292 | -#if !defined(__MINGW32__) && !defined(__WATCOMC__) |
3293 | -#undef toascii |
3294 | -#define isascii __isascii |
3295 | -#define toascii __toascii |
3296 | -#define stat _stat |
3297 | -#define open _open |
3298 | -#define fstat _fstat |
3299 | -#define read _read |
3300 | -#define close _close |
3301 | -#define O_RDONLY _O_RDONLY |
3302 | - |
3303 | -typedef short ino_t; |
3304 | -#endif /* __MINGW32__ */ |
3305 | - |
3306 | -#ifdef __MINGW32__ |
3307 | -#include <stdint.h> |
3308 | -#endif |
3309 | - |
3310 | -/* Protos for missing/x.c functions (ideally <missing/addrinfo.h> |
3311 | - * should be used, but it clashes with <ws2tcpip.h>). |
3312 | - */ |
3313 | -extern const char *inet_ntop (int, const void *, char *, size_t); |
3314 | -extern int inet_pton (int, const char *, void *); |
3315 | -extern int inet_aton (const char *cp, struct in_addr *addr); |
3316 | - |
3317 | -#ifndef INET6_ADDRSTRLEN |
3318 | -#define INET6_ADDRSTRLEN 46 |
3319 | -#endif |
3320 | - |
3321 | -#ifndef toascii |
3322 | -#define toascii(c) ((c) & 0x7f) |
3323 | -#endif |
3324 | - |
3325 | -#ifndef caddr_t |
3326 | -typedef char* caddr_t; |
3327 | -#endif /* caddr_t */ |
3328 | - |
3329 | -#define MAXHOSTNAMELEN 64 |
3330 | -#define NI_MAXHOST 1025 |
3331 | -#define snprintf _snprintf |
3332 | -#define vsnprintf _vsnprintf |
3333 | -#define RETSIGTYPE void |
3334 | - |
3335 | -#else /* WIN32 */ |
3336 | - |
3337 | -#include <ctype.h> |
3338 | -#include <unistd.h> |
3339 | -#include <netdb.h> |
3340 | -#if HAVE_INTTYPES_H |
3341 | -#include <inttypes.h> |
3342 | -#else |
3343 | -#if HAVE_STDINT_H |
3344 | -#include <stdint.h> |
3345 | -#endif |
3346 | -#endif |
3347 | -#ifdef HAVE_SYS_BITYPES_H |
3348 | -#include <sys/bitypes.h> |
3349 | -#endif |
3350 | -#include <sys/param.h> |
3351 | -#include <sys/types.h> /* concession to AIX */ |
3352 | -#include <sys/time.h> |
3353 | -#include <sys/socket.h> |
3354 | -#include <netinet/in.h> |
3355 | - |
3356 | -#ifdef TIME_WITH_SYS_TIME |
3357 | -#include <time.h> |
3358 | -#endif |
3359 | - |
3360 | -#include <arpa/inet.h> |
3361 | - |
3362 | -#endif /* WIN32 */ |
3363 | - |
3364 | -#ifndef HAVE___ATTRIBUTE__ |
3365 | -#define __attribute__(x) |
3366 | -#endif |
3367 | - |
3368 | -/* |
3369 | - * Used to declare a structure unaligned, so that the C compiler, |
3370 | - * if necessary, generates code that doesn't assume alignment. |
3371 | - * This is required because there is no guarantee that the packet |
3372 | - * data we get from libpcap/WinPcap is properly aligned. |
3373 | - * |
3374 | - * This assumes that, for all compilers that support __attribute__: |
3375 | - * |
3376 | - * 1) they support __attribute__((packed)); |
3377 | - * |
3378 | - * 2) for all instruction set architectures requiring strict |
3379 | - * alignment, declaring a structure with that attribute |
3380 | - * causes the compiler to generate code that handles |
3381 | - * misaligned 2-byte, 4-byte, and 8-byte integral |
3382 | - * quantities. |
3383 | - * |
3384 | - * It does not (yet) handle compilers where you can get the compiler |
3385 | - * to generate code of that sort by some other means. |
3386 | - * |
3387 | - * This is required in order to, for example, keep the compiler from |
3388 | - * generating, for |
3389 | - * |
3390 | - * if (bp->bp_htype == 1 && bp->bp_hlen == 6 && bp->bp_op == BOOTPREQUEST) { |
3391 | - * |
3392 | - * in print-bootp.c, code that loads the first 4-byte word of a |
3393 | - * "struct bootp", masking out the bp_hops field, and comparing the result |
3394 | - * against 0x01010600. |
3395 | - * |
3396 | - * Note: this also requires that padding be put into the structure, |
3397 | - * at least for compilers where it's implemented as __attribute__((packed)). |
3398 | - */ |
3399 | -#define UNALIGNED __attribute__((packed)) |
3400 | - |
3401 | -#if defined(WIN32) || defined(MSDOS) |
3402 | - #define FOPEN_READ_TXT "rt" |
3403 | - #define FOPEN_READ_BIN "rb" |
3404 | - #define FOPEN_WRITE_TXT "wt" |
3405 | - #define FOPEN_WRITE_BIN "wb" |
3406 | -#else |
3407 | - #define FOPEN_READ_TXT "r" |
3408 | - #define FOPEN_READ_BIN FOPEN_READ_TXT |
3409 | - #define FOPEN_WRITE_TXT "w" |
3410 | - #define FOPEN_WRITE_BIN FOPEN_WRITE_TXT |
3411 | -#endif |
3412 | - |
3413 | -#if defined(__GNUC__) && defined(__i386__) && !defined(__APPLE__) && !defined(__ntohl) |
3414 | - #undef ntohl |
3415 | - #undef ntohs |
3416 | - #undef htonl |
3417 | - #undef htons |
3418 | - |
3419 | - static __inline__ unsigned long __ntohl (unsigned long x); |
3420 | - static __inline__ unsigned short __ntohs (unsigned short x); |
3421 | - |
3422 | - #define ntohl(x) __ntohl(x) |
3423 | - #define ntohs(x) __ntohs(x) |
3424 | - #define htonl(x) __ntohl(x) |
3425 | - #define htons(x) __ntohs(x) |
3426 | - |
3427 | - static __inline__ unsigned long __ntohl (unsigned long x) |
3428 | - { |
3429 | - __asm__ ("xchgb %b0, %h0\n\t" /* swap lower bytes */ |
3430 | - "rorl $16, %0\n\t" /* swap words */ |
3431 | - "xchgb %b0, %h0" /* swap higher bytes */ |
3432 | - : "=q" (x) : "0" (x)); |
3433 | - return (x); |
3434 | - } |
3435 | - |
3436 | - static __inline__ unsigned short __ntohs (unsigned short x) |
3437 | - { |
3438 | - __asm__ ("xchgb %b0, %h0" /* swap bytes */ |
3439 | - : "=q" (x) : "0" (x)); |
3440 | - return (x); |
3441 | - } |
3442 | -#endif |
3443 | - |
3444 | -#ifndef INET_ADDRSTRLEN |
3445 | -#define INET_ADDRSTRLEN 16 |
3446 | -#endif |
3447 | - |
3448 | -#ifndef TRUE |
3449 | -#define TRUE 1 |
3450 | -#endif |
3451 | - |
3452 | -#ifndef FALSE |
3453 | -#define FALSE 0 |
3454 | -#endif |
3455 | - |
3456 | -#endif /* tcpdump_stdinc_h */ |
3457 | |
3458 | === renamed file '.pc/applied-patches' => '.pc/applied-patches.THIS' |
3459 | === modified file 'Makefile.in' |
3460 | --- Makefile.in 2012-06-13 22:55:54 +0000 |
3461 | +++ Makefile.in 2012-08-21 11:44:17 +0000 |
3462 | @@ -409,13 +409,14 @@ |
3463 | [ -d $(DESTDIR)$(sbindir) ] || \ |
3464 | (mkdir -p $(DESTDIR)$(sbindir); chmod 755 $(DESTDIR)$(sbindir)) |
3465 | $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(sbindir)/$(PROG) |
3466 | - [ -d $(DESTDIR)$(mandir)/man8 ] || \ |
3467 | - (mkdir -p $(DESTDIR)$(mandir)/man8; chmod 755 $(DESTDIR)$(mandir)/man8) |
3468 | - $(INSTALL_DATA) $(PROG).1 $(DESTDIR)$(mandir)/man8/$(PROG).8 |
3469 | + $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(sbindir)/$(PROG).`cat ${srcdir}/VERSION` |
3470 | + [ -d $(DESTDIR)$(mandir)/man1 ] || \ |
3471 | + (mkdir -p $(DESTDIR)$(mandir)/man1; chmod 755 $(DESTDIR)$(mandir)/man1) |
3472 | + $(INSTALL_DATA) $(PROG).1 $(DESTDIR)$(mandir)/man1/$(PROG).1 |
3473 | |
3474 | uninstall: |
3475 | rm -f $(DESTDIR)$(sbindir)/$(PROG) |
3476 | - rm -f $(DESTDIR)$(mandir)/man8/$(PROG).8 |
3477 | + rm -f $(DESTDIR)$(mandir)/man1/$(PROG).1 |
3478 | |
3479 | lint: $(GENSRC) |
3480 | lint -hbxn $(SRC) | \ |
3481 | |
3482 | === modified file 'config.guess' |
3483 | --- config.guess 2010-04-06 19:58:14 +0000 |
3484 | +++ config.guess 2012-08-21 11:44:17 +0000 |
3485 | @@ -1,9 +1,4 @@ |
3486 | #! /bin/sh |
3487 | - |
3488 | -if [ -x /usr/share/misc/config.guess ]; then |
3489 | - exec /usr/share/misc/config.guess "$@" |
3490 | -fi |
3491 | - |
3492 | # Attempt to guess a canonical system name. |
3493 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
3494 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 |
3495 | |
3496 | === modified file 'config.sub' |
3497 | --- config.sub 2010-04-06 19:58:14 +0000 |
3498 | +++ config.sub 2012-08-21 11:44:17 +0000 |
3499 | @@ -1,9 +1,4 @@ |
3500 | #! /bin/sh |
3501 | - |
3502 | -if [ -x /usr/share/misc/config.sub ]; then |
3503 | - exec /usr/share/misc/config.sub "$@" |
3504 | -fi |
3505 | - |
3506 | # Configuration validation subroutine script. |
3507 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
3508 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 |
3509 | |
3510 | === modified file 'configure.in' |
3511 | --- configure.in 2012-06-13 22:55:54 +0000 |
3512 | +++ configure.in 2012-08-21 11:44:17 +0000 |
3513 | @@ -1023,8 +1023,63 @@ |
3514 | AC_MSG_RESULT([yes, if available]) |
3515 | ]) |
3516 | if test "$want_libcrypto" != "no"; then |
3517 | - AC_CHECK_LIB(crypto, DES_cbc_encrypt) |
3518 | - AC_CHECK_HEADERS(openssl/evp.h) |
3519 | + ac_cv_ssleay_path=no |
3520 | + incdir=no |
3521 | + if test "x$crypto_dir" = x; then |
3522 | + # |
3523 | + # Location not specified; check the default locations. |
3524 | + # |
3525 | + AC_MSG_CHECKING(where SSLeay is located) |
3526 | + dirs="/usr /usr/local /usr/local/ssl /usr/pkg" |
3527 | + if test "x${host_alias}" != x; then |
3528 | + dirs="/usr/${host_alias} $dirs" |
3529 | + fi |
3530 | + for dir in $dirs; do |
3531 | + AC_LBL_SSLEAY($dir) |
3532 | + |
3533 | + if test "$ac_cv_ssleay_path" != "no" -a "$incdir" != "no"; then |
3534 | + break; |
3535 | + else |
3536 | + ac_cv_ssleay_path=no |
3537 | + incdir=no |
3538 | + fi |
3539 | + done |
3540 | + if test "$ac_cv_ssleay_path" != no; then |
3541 | + AC_MSG_RESULT($ac_cv_ssleay_path) |
3542 | + fi |
3543 | + else |
3544 | + AC_MSG_CHECKING(for SSLeay in $crypto_dir) |
3545 | + AC_LBL_SSLEAY($crypto_dir) |
3546 | + if test "$ac_cv_ssleay_path" != no; then |
3547 | + AC_MSG_RESULT(found) |
3548 | + fi |
3549 | + fi |
3550 | + if test "$ac_cv_ssleay_path" != no; then |
3551 | + V_INCLS="$V_INCLS $incdir" |
3552 | + if test "$dir" != "/usr"; then |
3553 | + LDFLAGS="-L$dir/lib $LDFLAGS" |
3554 | + fi |
3555 | + if test -f $ac_cv_ssleay_path/lib/libRSAglue.a; then |
3556 | + LIBS="$LIBS -lRSAglue" |
3557 | + fi |
3558 | + if test -f $ac_cv_ssleay_path/lib/librsaref.a; then |
3559 | + LIBS="$LIBS -lrsaref" |
3560 | + fi |
3561 | + AC_CHECK_LIB(crypto, DES_cbc_encrypt) |
3562 | + |
3563 | + savedcppflags="$CPPFLAGS" |
3564 | + CPPFLAGS="$CPPFLAGS $V_INCLS" |
3565 | + AC_CHECK_HEADERS(openssl/evp.h) |
3566 | + CPPFLAGS="$savedcppflags" |
3567 | + else |
3568 | + # |
3569 | + # Not found. Did the user explicitly ask for it? |
3570 | + # |
3571 | + AC_MSG_RESULT(not found) |
3572 | + if test "$want_libcrypto" = yes; then |
3573 | + AC_MSG_ERROR(SSLeay not found) |
3574 | + fi |
3575 | + fi |
3576 | fi |
3577 | |
3578 | dnl |
3579 | |
3580 | === modified file 'tcpdump-stdinc.h' |
3581 | --- tcpdump-stdinc.h 2011-08-14 10:44:58 +0000 |
3582 | +++ tcpdump-stdinc.h 2012-08-21 11:44:17 +0000 |
3583 | @@ -117,11 +117,7 @@ |
3584 | #ifdef HAVE_SYS_BITYPES_H |
3585 | #include <sys/bitypes.h> |
3586 | #endif |
3587 | -#ifndef __GNU__ |
3588 | #include <sys/param.h> |
3589 | -#else |
3590 | -#include <rpc/types.h> |
3591 | -#endif |
3592 | #include <sys/types.h> /* concession to AIX */ |
3593 | #include <sys/time.h> |
3594 | #include <sys/socket.h> |
3595 | |
3596 | === modified file 'tcpdump.1.in' |
3597 | --- tcpdump.1.in 2012-08-08 20:06:38 +0000 |
3598 | +++ tcpdump.1.in 2012-08-21 11:44:17 +0000 |
3599 | @@ -22,7 +22,7 @@ |
3600 | .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF |
3601 | .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
3602 | .\" |
3603 | -.TH TCPDUMP 8 "05 March 2009" |
3604 | +.TH TCPDUMP 1 "05 March 2009" |
3605 | .SH NAME |
3606 | tcpdump \- dump traffic on a network |
3607 | .SH SYNOPSIS |