946f7a17df
--- 9.16.9 released --- 5533. [func] Add the "stale-refresh-time" option, a time window that starts after a failed lookup, during which a stale RRset is served directly from cache before a new attempt to refresh it is made. [GL #2066] 5530. [bug] dnstap did not capture responses to forwarded UPDATE requests. [GL #2252] 5527. [bug] A NULL pointer dereference occurred when creating an NTA recheck query failed. [GL #2244] 5525. [bug] Change 5503 inadvertently broke cross-compilation by replacing a call to AC_LINK_IFELSE() with a call to AC_RUN_IFELSE() in configure.ac. This has been fixed, making cross-compilation possible again. [GL #2237] 5523. [bug] The initial lookup in a zone transitioning to/from a signed state could fail if the DNSKEY RRset was not found. [GL #2236] 5522. [bug] Fixed a race/NULL dereference in TCPDNS send. [GL #2227] 5520. [bug] Fixed a number of shutdown races, reference counting errors, and spurious log messages that could occur in the network manager. [GL #2221] 5518. [bug] Stub zones now work correctly with primary servers using "minimal-responses yes". [GL #1736] 5517. [bug] Do not treat UV_EOF as a TCP4RecvErr or a TCP6RecvErr. [GL #2208] --- 9.16.8 released --- 5516. [func] The default EDNS buffer size has been changed from 4096 to 1232 bytes. [GL #2183] 5515. [func] Add 'rndc dnssec -rollover' command to trigger a manual rollover for a specific key. [GL #1749] 5514. [bug] Fix KASP expected key size for Ed25519 and Ed448. [GL #2171] 5513. [doc] The ARM section describing the "rrset-order" statement was rewritten to make it unambiguous and up-to-date with the source code. [GL #2139] 5512. [bug] "rrset-order" rules using "order none" were causing named to crash despite named-checkconf treating them as valid. [GL #2139] 5511. [bug] 'dig -u +yaml' failed to display timestamps to the microsecond. [GL #2190] 5510. [bug] Implement the attach/detach semantics for dns_message_t to fix a data race in accessing an already-destroyed fctx->rmessage. [GL #2124] 5509. [bug] filter-aaaa: named crashed upon shutdown if it was in the process of recursing for A RRsets. [GL #1040] 5508. [func] Added new parameter "-expired" for "rndc dumpdb" that also prints expired RRsets (awaiting cleanup) to the dump file. [GL #1870] 5507. [bug] Named could compute incorrect SIG(0) responses. [GL #2109] 5506. [bug] Properly handle failed sysconf() calls, so we don't report invalid memory size. [GL #2166] 5505. [bug] Updating contents of a mixed-case RPZ could cause some rules to be ignored. [GL #2169] 5503. [bug] Cleaned up reference counting of network manager handles, now using isc_nmhandle_attach() and _detach() instead of _ref() and _unref(). [GL #2122]
418 lines
15 KiB
Text
418 lines
15 KiB
Text
$NetBSD: patch-config.guess,v 1.2 2020/11/26 13:21:51 taca Exp $
|
|
|
|
* Take from NetBSD base.
|
|
|
|
--- config.guess.orig 2020-10-13 08:41:40.000000000 +0000
|
|
+++ config.guess
|
|
@@ -1,8 +1,8 @@
|
|
#! /bin/sh
|
|
# Attempt to guess a canonical system name.
|
|
-# Copyright 1992-2015 Free Software Foundation, Inc.
|
|
+# Copyright 1992-2017 Free Software Foundation, Inc.
|
|
|
|
-timestamp='2015-01-01'
|
|
+timestamp='2017-01-01'
|
|
|
|
# This file is free software; you can redistribute it and/or modify it
|
|
# under the terms of the GNU General Public License as published by
|
|
@@ -27,7 +27,7 @@ timestamp='2015-01-01'
|
|
# Originally written by Per Bothner; maintained since 2000 by Ben Elliston.
|
|
#
|
|
# You can get the latest version of this script from:
|
|
-# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
|
|
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
|
|
#
|
|
# Please send patches to <config-patches@gnu.org>.
|
|
|
|
@@ -50,7 +50,7 @@ version="\
|
|
GNU config.guess ($timestamp)
|
|
|
|
Originally written by Per Bothner.
|
|
-Copyright 1992-2015 Free Software Foundation, Inc.
|
|
+Copyright 1992-2017 Free Software Foundation, Inc.
|
|
|
|
This is free software; see the source for copying conditions. There is NO
|
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
|
@@ -168,19 +168,29 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
|
|
# Note: NetBSD doesn't particularly care about the vendor
|
|
# portion of the name. We always set it to "unknown".
|
|
sysctl="sysctl -n hw.machine_arch"
|
|
- UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
|
|
- /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
|
|
+ UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \
|
|
+ /sbin/$sysctl 2>/dev/null || \
|
|
+ /usr/sbin/$sysctl 2>/dev/null || \
|
|
+ echo unknown)`
|
|
case "${UNAME_MACHINE_ARCH}" in
|
|
armeb) machine=armeb-unknown ;;
|
|
arm*) machine=arm-unknown ;;
|
|
sh3el) machine=shl-unknown ;;
|
|
sh3eb) machine=sh-unknown ;;
|
|
sh5el) machine=sh5le-unknown ;;
|
|
+ earmv*)
|
|
+ arch=`echo ${UNAME_MACHINE_ARCH} | sed -e 's,^e\(armv[0-9]\).*$,\1,'`
|
|
+ endian=`echo ${UNAME_MACHINE_ARCH} | sed -ne 's,^.*\(eb\)$,\1,p'`
|
|
+ machine=${arch}${endian}-unknown
|
|
+ ;;
|
|
*) machine=${UNAME_MACHINE_ARCH}-unknown ;;
|
|
esac
|
|
# The Operating System including object format, if it has switched
|
|
- # to ELF recently, or will in the future.
|
|
+ # to ELF recently (or will in the future) and ABI.
|
|
case "${UNAME_MACHINE_ARCH}" in
|
|
+ earm*)
|
|
+ os=netbsdelf
|
|
+ ;;
|
|
arm*|i386|m68k|ns32k|sh3*|sparc|vax)
|
|
eval $set_cc_for_build
|
|
if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
|
|
@@ -197,6 +207,13 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
|
|
os=netbsd
|
|
;;
|
|
esac
|
|
+ # Determine ABI tags.
|
|
+ case "${UNAME_MACHINE_ARCH}" in
|
|
+ earm*)
|
|
+ expr='s/^earmv[0-9]/-eabi/;s/eb$//'
|
|
+ abi=`echo ${UNAME_MACHINE_ARCH} | sed -e "$expr"`
|
|
+ ;;
|
|
+ esac
|
|
# The OS release
|
|
# Debian GNU/NetBSD machines have a different userland, and
|
|
# thus, need a distinct triplet. However, they do not need
|
|
@@ -207,13 +224,13 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
|
|
release='-gnu'
|
|
;;
|
|
*)
|
|
- release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
|
|
+ release=`echo ${UNAME_RELEASE} | sed -e 's/[-_].*//' | cut -d. -f1,2`
|
|
;;
|
|
esac
|
|
# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
|
|
# contains redundant information, the shorter form:
|
|
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
|
|
- echo "${machine}-${os}${release}"
|
|
+ echo "${machine}-${os}${release}${abi}"
|
|
exit ;;
|
|
*:Bitrig:*:*)
|
|
UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
|
|
@@ -223,6 +240,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
|
|
UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
|
|
echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
|
|
exit ;;
|
|
+ *:LibertyBSD:*:*)
|
|
+ UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'`
|
|
+ echo ${UNAME_MACHINE_ARCH}-unknown-libertybsd${UNAME_RELEASE}
|
|
+ exit ;;
|
|
*:ekkoBSD:*:*)
|
|
echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
|
|
exit ;;
|
|
@@ -235,6 +256,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
|
|
*:MirBSD:*:*)
|
|
echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
|
|
exit ;;
|
|
+ *:Sortix:*:*)
|
|
+ echo ${UNAME_MACHINE}-unknown-sortix
|
|
+ exit ;;
|
|
alpha:OSF1:*:*)
|
|
case $UNAME_RELEASE in
|
|
*4.0)
|
|
@@ -251,42 +275,42 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
|
|
ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
|
|
case "$ALPHA_CPU_TYPE" in
|
|
"EV4 (21064)")
|
|
- UNAME_MACHINE="alpha" ;;
|
|
+ UNAME_MACHINE=alpha ;;
|
|
"EV4.5 (21064)")
|
|
- UNAME_MACHINE="alpha" ;;
|
|
+ UNAME_MACHINE=alpha ;;
|
|
"LCA4 (21066/21068)")
|
|
- UNAME_MACHINE="alpha" ;;
|
|
+ UNAME_MACHINE=alpha ;;
|
|
"EV5 (21164)")
|
|
- UNAME_MACHINE="alphaev5" ;;
|
|
+ UNAME_MACHINE=alphaev5 ;;
|
|
"EV5.6 (21164A)")
|
|
- UNAME_MACHINE="alphaev56" ;;
|
|
+ UNAME_MACHINE=alphaev56 ;;
|
|
"EV5.6 (21164PC)")
|
|
- UNAME_MACHINE="alphapca56" ;;
|
|
+ UNAME_MACHINE=alphapca56 ;;
|
|
"EV5.7 (21164PC)")
|
|
- UNAME_MACHINE="alphapca57" ;;
|
|
+ UNAME_MACHINE=alphapca57 ;;
|
|
"EV6 (21264)")
|
|
- UNAME_MACHINE="alphaev6" ;;
|
|
+ UNAME_MACHINE=alphaev6 ;;
|
|
"EV6.7 (21264A)")
|
|
- UNAME_MACHINE="alphaev67" ;;
|
|
+ UNAME_MACHINE=alphaev67 ;;
|
|
"EV6.8CB (21264C)")
|
|
- UNAME_MACHINE="alphaev68" ;;
|
|
+ UNAME_MACHINE=alphaev68 ;;
|
|
"EV6.8AL (21264B)")
|
|
- UNAME_MACHINE="alphaev68" ;;
|
|
+ UNAME_MACHINE=alphaev68 ;;
|
|
"EV6.8CX (21264D)")
|
|
- UNAME_MACHINE="alphaev68" ;;
|
|
+ UNAME_MACHINE=alphaev68 ;;
|
|
"EV6.9A (21264/EV69A)")
|
|
- UNAME_MACHINE="alphaev69" ;;
|
|
+ UNAME_MACHINE=alphaev69 ;;
|
|
"EV7 (21364)")
|
|
- UNAME_MACHINE="alphaev7" ;;
|
|
+ UNAME_MACHINE=alphaev7 ;;
|
|
"EV7.9 (21364A)")
|
|
- UNAME_MACHINE="alphaev79" ;;
|
|
+ UNAME_MACHINE=alphaev79 ;;
|
|
esac
|
|
# A Pn.n version is a patched version.
|
|
# A Vn.n version is a released version.
|
|
# A Tn.n version is a released field test version.
|
|
# A Xn.n version is an unreleased experimental baselevel.
|
|
# 1.2 uses "1.2" for uname -r.
|
|
- echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
|
|
+ echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
|
|
# Reset EXIT trap before exiting to avoid spurious non-zero exit code.
|
|
exitcode=$?
|
|
trap '' 0
|
|
@@ -359,16 +383,16 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
|
|
exit ;;
|
|
i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
|
|
eval $set_cc_for_build
|
|
- SUN_ARCH="i386"
|
|
+ SUN_ARCH=i386
|
|
# If there is a compiler, see if it is configured for 64-bit objects.
|
|
# Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
|
|
# This test works for both compilers.
|
|
- if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
|
|
+ if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
|
|
if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
|
|
- (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
|
|
+ (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
|
|
grep IS_64BIT_ARCH >/dev/null
|
|
then
|
|
- SUN_ARCH="x86_64"
|
|
+ SUN_ARCH=x86_64
|
|
fi
|
|
fi
|
|
echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
|
@@ -393,7 +417,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
|
|
exit ;;
|
|
sun*:*:4.2BSD:*)
|
|
UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
|
|
- test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
|
|
+ test "x${UNAME_RELEASE}" = x && UNAME_RELEASE=3
|
|
case "`/bin/arch`" in
|
|
sun3)
|
|
echo m68k-sun-sunos${UNAME_RELEASE}
|
|
@@ -618,13 +642,13 @@ EOF
|
|
sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
|
|
sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
|
|
case "${sc_cpu_version}" in
|
|
- 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
|
|
- 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
|
|
+ 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0
|
|
+ 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1
|
|
532) # CPU_PA_RISC2_0
|
|
case "${sc_kernel_bits}" in
|
|
- 32) HP_ARCH="hppa2.0n" ;;
|
|
- 64) HP_ARCH="hppa2.0w" ;;
|
|
- '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
|
|
+ 32) HP_ARCH=hppa2.0n ;;
|
|
+ 64) HP_ARCH=hppa2.0w ;;
|
|
+ '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20
|
|
esac ;;
|
|
esac
|
|
fi
|
|
@@ -663,11 +687,11 @@ EOF
|
|
exit (0);
|
|
}
|
|
EOF
|
|
- (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
|
|
+ (CCOPTS="" $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
|
|
test -z "$HP_ARCH" && HP_ARCH=hppa
|
|
fi ;;
|
|
esac
|
|
- if [ ${HP_ARCH} = "hppa2.0w" ]
|
|
+ if [ ${HP_ARCH} = hppa2.0w ]
|
|
then
|
|
eval $set_cc_for_build
|
|
|
|
@@ -680,12 +704,12 @@ EOF
|
|
# $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
|
|
# => hppa64-hp-hpux11.23
|
|
|
|
- if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
|
|
+ if echo __LP64__ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) |
|
|
grep -q __LP64__
|
|
then
|
|
- HP_ARCH="hppa2.0w"
|
|
+ HP_ARCH=hppa2.0w
|
|
else
|
|
- HP_ARCH="hppa64"
|
|
+ HP_ARCH=hppa64
|
|
fi
|
|
fi
|
|
echo ${HP_ARCH}-hp-hpux${HPUX_REV}
|
|
@@ -790,14 +814,14 @@ EOF
|
|
echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
|
|
exit ;;
|
|
F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
|
|
- FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
|
|
- FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
|
|
+ FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
|
|
+ FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
|
|
FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
|
|
echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
|
|
exit ;;
|
|
5000:UNIX_System_V:4.*:*)
|
|
- FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
|
|
- FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
|
|
+ FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
|
|
+ FUJITSU_REL=`echo ${UNAME_RELEASE} | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'`
|
|
echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
|
|
exit ;;
|
|
i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
|
|
@@ -879,7 +903,7 @@ EOF
|
|
exit ;;
|
|
*:GNU/*:*:*)
|
|
# other systems with GNU libc and userland
|
|
- echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
|
|
+ echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
|
|
exit ;;
|
|
i*86:Minix:*:*)
|
|
echo ${UNAME_MACHINE}-pc-minix
|
|
@@ -902,7 +926,7 @@ EOF
|
|
EV68*) UNAME_MACHINE=alphaev68 ;;
|
|
esac
|
|
objdump --private-headers /bin/sh | grep -q ld.so.1
|
|
- if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
|
|
+ if test "$?" = 0 ; then LIBC=gnulibc1 ; fi
|
|
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
exit ;;
|
|
arc:Linux:*:* | arceb:Linux:*:*)
|
|
@@ -933,6 +957,9 @@ EOF
|
|
crisv32:Linux:*:*)
|
|
echo ${UNAME_MACHINE}-axis-linux-${LIBC}
|
|
exit ;;
|
|
+ e2k:Linux:*:*)
|
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
+ exit ;;
|
|
frv:Linux:*:*)
|
|
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
exit ;;
|
|
@@ -945,6 +972,9 @@ EOF
|
|
ia64:Linux:*:*)
|
|
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
exit ;;
|
|
+ k1om:Linux:*:*)
|
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
+ exit ;;
|
|
m32r*:Linux:*:*)
|
|
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
exit ;;
|
|
@@ -1002,6 +1032,9 @@ EOF
|
|
ppcle:Linux:*:*)
|
|
echo powerpcle-unknown-linux-${LIBC}
|
|
exit ;;
|
|
+ riscv32:Linux:*:* | riscv64:Linux:*:*)
|
|
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
+ exit ;;
|
|
s390:Linux:*:* | s390x:Linux:*:*)
|
|
echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
|
|
exit ;;
|
|
@@ -1021,7 +1054,7 @@ EOF
|
|
echo ${UNAME_MACHINE}-dec-linux-${LIBC}
|
|
exit ;;
|
|
x86_64:Linux:*:*)
|
|
- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
+ echo ${UNAME_MACHINE}-pc-linux-${LIBC}
|
|
exit ;;
|
|
xtensa*:Linux:*:*)
|
|
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
|
@@ -1100,7 +1133,7 @@ EOF
|
|
# uname -m prints for DJGPP always 'pc', but it prints nothing about
|
|
# the processor, so we play safe by assuming i586.
|
|
# Note: whatever this is, it MUST be the same as what config.sub
|
|
- # prints for the "djgpp" host, or else GDB configury will decide that
|
|
+ # prints for the "djgpp" host, or else GDB configure will decide that
|
|
# this is a cross-build.
|
|
echo i586-pc-msdosdjgpp
|
|
exit ;;
|
|
@@ -1249,6 +1282,9 @@ EOF
|
|
SX-8R:SUPER-UX:*:*)
|
|
echo sx8r-nec-superux${UNAME_RELEASE}
|
|
exit ;;
|
|
+ SX-ACE:SUPER-UX:*:*)
|
|
+ echo sxace-nec-superux${UNAME_RELEASE}
|
|
+ exit ;;
|
|
Power*:Rhapsody:*:*)
|
|
echo powerpc-apple-rhapsody${UNAME_RELEASE}
|
|
exit ;;
|
|
@@ -1262,9 +1298,9 @@ EOF
|
|
UNAME_PROCESSOR=powerpc
|
|
fi
|
|
if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then
|
|
- if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
|
|
+ if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
|
|
if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
|
|
- (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
|
|
+ (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
|
|
grep IS_64BIT_ARCH >/dev/null
|
|
then
|
|
case $UNAME_PROCESSOR in
|
|
@@ -1286,7 +1322,7 @@ EOF
|
|
exit ;;
|
|
*:procnto*:*:* | *:QNX:[0123456789]*:*)
|
|
UNAME_PROCESSOR=`uname -p`
|
|
- if test "$UNAME_PROCESSOR" = "x86"; then
|
|
+ if test "$UNAME_PROCESSOR" = x86; then
|
|
UNAME_PROCESSOR=i386
|
|
UNAME_MACHINE=pc
|
|
fi
|
|
@@ -1317,7 +1353,7 @@ EOF
|
|
# "uname -m" is not consistent, so use $cputype instead. 386
|
|
# is converted to i386 for consistency with other x86
|
|
# operating systems.
|
|
- if test "$cputype" = "386"; then
|
|
+ if test "$cputype" = 386; then
|
|
UNAME_MACHINE=i386
|
|
else
|
|
UNAME_MACHINE="$cputype"
|
|
@@ -1359,7 +1395,7 @@ EOF
|
|
echo i386-pc-xenix
|
|
exit ;;
|
|
i*86:skyos:*:*)
|
|
- echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
|
|
+ echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE} | sed -e 's/ .*$//'`
|
|
exit ;;
|
|
i*86:rdos:*:*)
|
|
echo ${UNAME_MACHINE}-pc-rdos
|
|
@@ -1375,18 +1411,17 @@ esac
|
|
cat >&2 <<EOF
|
|
$0: unable to guess system type
|
|
|
|
-This script, last modified $timestamp, has failed to recognize
|
|
-the operating system you are using. It is advised that you
|
|
-download the most up to date version of the config scripts from
|
|
+This script (version $timestamp), has failed to recognize the
|
|
+operating system you are using. If your script is old, overwrite
|
|
+config.guess and config.sub with the latest versions from:
|
|
|
|
- http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
|
|
+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
|
|
and
|
|
- http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
|
|
+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
|
|
|
|
-If the version you run ($0) is already up to date, please
|
|
-send the following data and any information you think might be
|
|
-pertinent to <config-patches@gnu.org> in order to provide the needed
|
|
-information to handle your system.
|
|
+If $0 has already been updated, send the following data and any
|
|
+information you think might be pertinent to config-patches@gnu.org to
|
|
+provide the necessary information to handle your system.
|
|
|
|
config.guess timestamp = $timestamp
|
|
|