Tony Theodore 2 years ago
parent
commit
b93cc47644
1 changed files with 101 additions and 66 deletions
  1. 101
    66
      ext/config.guess

+ 101
- 66
ext/config.guess View File

@@ -1,8 +1,8 @@
1 1
 #! /bin/sh
2 2
 # Attempt to guess a canonical system name.
3
-#   Copyright 1992-2015 Free Software Foundation, Inc.
3
+#   Copyright 1992-2017 Free Software Foundation, Inc.
4 4
 
5
-timestamp='2015-03-04'
5
+timestamp='2017-05-27'
6 6
 
7 7
 # This file is free software; you can redistribute it and/or modify it
8 8
 # under the terms of the GNU General Public License as published by
@@ -27,7 +27,7 @@ timestamp='2015-03-04'
27 27
 # Originally written by Per Bothner; maintained since 2000 by Ben Elliston.
28 28
 #
29 29
 # You can get the latest version of this script from:
30
-# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
30
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
31 31
 #
32 32
 # Please send patches to <config-patches@gnu.org>.
33 33
 
@@ -50,7 +50,7 @@ version="\
50 50
 GNU config.guess ($timestamp)
51 51
 
52 52
 Originally written by Per Bothner.
53
-Copyright 1992-2015 Free Software Foundation, Inc.
53
+Copyright 1992-2017 Free Software Foundation, Inc.
54 54
 
55 55
 This is free software; see the source for copying conditions.  There is NO
56 56
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -186,9 +186,12 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
186 186
 	    *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
187 187
 	esac
188 188
 	# The Operating System including object format, if it has switched
189
-	# to ELF recently, or will in the future.
189
+	# to ELF recently (or will in the future) and ABI.
190 190
 	case "${UNAME_MACHINE_ARCH}" in
191
-	    arm*|earm*|i386|m68k|ns32k|sh3*|sparc|vax)
191
+	    earm*)
192
+		os=netbsdelf
193
+		;;
194
+	    arm*|i386|m68k|ns32k|sh3*|sparc|vax)
192 195
 		eval $set_cc_for_build
193 196
 		if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
194 197
 			| grep -q __ELF__
@@ -221,7 +224,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
221 224
 		release='-gnu'
222 225
 		;;
223 226
 	    *)
224
-		release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
227
+		release=`echo ${UNAME_RELEASE} | sed -e 's/[-_].*//' | cut -d. -f1,2`
225 228
 		;;
226 229
 	esac
227 230
 	# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
@@ -237,6 +240,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
237 240
 	UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
238 241
 	echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
239 242
 	exit ;;
243
+    *:LibertyBSD:*:*)
244
+	UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'`
245
+	echo ${UNAME_MACHINE_ARCH}-unknown-libertybsd${UNAME_RELEASE}
246
+	exit ;;
240 247
     *:ekkoBSD:*:*)
241 248
 	echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
242 249
 	exit ;;
@@ -249,6 +256,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
249 256
     *:MirBSD:*:*)
250 257
 	echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
251 258
 	exit ;;
259
+    *:Sortix:*:*)
260
+	echo ${UNAME_MACHINE}-unknown-sortix
261
+	exit ;;
252 262
     alpha:OSF1:*:*)
253 263
 	case $UNAME_RELEASE in
254 264
 	*4.0)
@@ -265,42 +275,42 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
265 275
 	ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^  The alpha \(.*\) processor.*$/\1/p' | head -n 1`
266 276
 	case "$ALPHA_CPU_TYPE" in
267 277
 	    "EV4 (21064)")
268
-		UNAME_MACHINE="alpha" ;;
278
+		UNAME_MACHINE=alpha ;;
269 279
 	    "EV4.5 (21064)")
270
-		UNAME_MACHINE="alpha" ;;
280
+		UNAME_MACHINE=alpha ;;
271 281
 	    "LCA4 (21066/21068)")
272
-		UNAME_MACHINE="alpha" ;;
282
+		UNAME_MACHINE=alpha ;;
273 283
 	    "EV5 (21164)")
274
-		UNAME_MACHINE="alphaev5" ;;
284
+		UNAME_MACHINE=alphaev5 ;;
275 285
 	    "EV5.6 (21164A)")
276
-		UNAME_MACHINE="alphaev56" ;;
286
+		UNAME_MACHINE=alphaev56 ;;
277 287
 	    "EV5.6 (21164PC)")
278
-		UNAME_MACHINE="alphapca56" ;;
288
+		UNAME_MACHINE=alphapca56 ;;
279 289
 	    "EV5.7 (21164PC)")
280
-		UNAME_MACHINE="alphapca57" ;;
290
+		UNAME_MACHINE=alphapca57 ;;
281 291
 	    "EV6 (21264)")
282
-		UNAME_MACHINE="alphaev6" ;;
292
+		UNAME_MACHINE=alphaev6 ;;
283 293
 	    "EV6.7 (21264A)")
284
-		UNAME_MACHINE="alphaev67" ;;
294
+		UNAME_MACHINE=alphaev67 ;;
285 295
 	    "EV6.8CB (21264C)")
286
-		UNAME_MACHINE="alphaev68" ;;
296
+		UNAME_MACHINE=alphaev68 ;;
287 297
 	    "EV6.8AL (21264B)")
288
-		UNAME_MACHINE="alphaev68" ;;
298
+		UNAME_MACHINE=alphaev68 ;;
289 299
 	    "EV6.8CX (21264D)")
290
-		UNAME_MACHINE="alphaev68" ;;
300
+		UNAME_MACHINE=alphaev68 ;;
291 301
 	    "EV6.9A (21264/EV69A)")
292
-		UNAME_MACHINE="alphaev69" ;;
302
+		UNAME_MACHINE=alphaev69 ;;
293 303
 	    "EV7 (21364)")
294
-		UNAME_MACHINE="alphaev7" ;;
304
+		UNAME_MACHINE=alphaev7 ;;
295 305
 	    "EV7.9 (21364A)")
296
-		UNAME_MACHINE="alphaev79" ;;
306
+		UNAME_MACHINE=alphaev79 ;;
297 307
 	esac
298 308
 	# A Pn.n version is a patched version.
299 309
 	# A Vn.n version is a released version.
300 310
 	# A Tn.n version is a released field test version.
301 311
 	# A Xn.n version is an unreleased experimental baselevel.
302 312
 	# 1.2 uses "1.2" for uname -r.
303
-	echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
313
+	echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
304 314
 	# Reset EXIT trap before exiting to avoid spurious non-zero exit code.
305 315
 	exitcode=$?
306 316
 	trap '' 0
@@ -373,16 +383,16 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
373 383
 	exit ;;
374 384
     i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
375 385
 	eval $set_cc_for_build
376
-	SUN_ARCH="i386"
386
+	SUN_ARCH=i386
377 387
 	# If there is a compiler, see if it is configured for 64-bit objects.
378 388
 	# Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
379 389
 	# This test works for both compilers.
380
-	if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
390
+	if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
381 391
 	    if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
382
-		(CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
392
+		(CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
383 393
 		grep IS_64BIT_ARCH >/dev/null
384 394
 	    then
385
-		SUN_ARCH="x86_64"
395
+		SUN_ARCH=x86_64
386 396
 	    fi
387 397
 	fi
388 398
 	echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
@@ -407,7 +417,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
407 417
 	exit ;;
408 418
     sun*:*:4.2BSD:*)
409 419
 	UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
410
-	test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
420
+	test "x${UNAME_RELEASE}" = x && UNAME_RELEASE=3
411 421
 	case "`/bin/arch`" in
412 422
 	    sun3)
413 423
 		echo m68k-sun-sunos${UNAME_RELEASE}
@@ -632,13 +642,13 @@ EOF
632 642
 		    sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
633 643
 		    sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
634 644
 		    case "${sc_cpu_version}" in
635
-		      523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
636
-		      528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
645
+		      523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0
646
+		      528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1
637 647
 		      532)                      # CPU_PA_RISC2_0
638 648
 			case "${sc_kernel_bits}" in
639
-			  32) HP_ARCH="hppa2.0n" ;;
640
-			  64) HP_ARCH="hppa2.0w" ;;
641
-			  '') HP_ARCH="hppa2.0" ;;   # HP-UX 10.20
649
+			  32) HP_ARCH=hppa2.0n ;;
650
+			  64) HP_ARCH=hppa2.0w ;;
651
+			  '') HP_ARCH=hppa2.0 ;;   # HP-UX 10.20
642 652
 			esac ;;
643 653
 		    esac
644 654
 		fi
@@ -677,11 +687,11 @@ EOF
677 687
 		    exit (0);
678 688
 		}
679 689
 EOF
680
-		    (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
690
+		    (CCOPTS="" $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
681 691
 		    test -z "$HP_ARCH" && HP_ARCH=hppa
682 692
 		fi ;;
683 693
 	esac
684
-	if [ ${HP_ARCH} = "hppa2.0w" ]
694
+	if [ ${HP_ARCH} = hppa2.0w ]
685 695
 	then
686 696
 	    eval $set_cc_for_build
687 697
 
@@ -694,12 +704,12 @@ EOF
694 704
 	    # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
695 705
 	    # => hppa64-hp-hpux11.23
696 706
 
697
-	    if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
707
+	    if echo __LP64__ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) |
698 708
 		grep -q __LP64__
699 709
 	    then
700
-		HP_ARCH="hppa2.0w"
710
+		HP_ARCH=hppa2.0w
701 711
 	    else
702
-		HP_ARCH="hppa64"
712
+		HP_ARCH=hppa64
703 713
 	    fi
704 714
 	fi
705 715
 	echo ${HP_ARCH}-hp-hpux${HPUX_REV}
@@ -804,14 +814,14 @@ EOF
804 814
 	echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
805 815
 	exit ;;
806 816
     F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
807
-	FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
808
-	FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
817
+	FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
818
+	FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
809 819
 	FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
810 820
 	echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
811 821
 	exit ;;
812 822
     5000:UNIX_System_V:4.*:*)
813
-	FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
814
-	FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
823
+	FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
824
+	FUJITSU_REL=`echo ${UNAME_RELEASE} | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'`
815 825
 	echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
816 826
 	exit ;;
817 827
     i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
@@ -827,10 +837,11 @@ EOF
827 837
 	UNAME_PROCESSOR=`/usr/bin/uname -p`
828 838
 	case ${UNAME_PROCESSOR} in
829 839
 	    amd64)
830
-		echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
831
-	    *)
832
-		echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
840
+		UNAME_PROCESSOR=x86_64 ;;
841
+	    i386)
842
+		UNAME_PROCESSOR=i586 ;;
833 843
 	esac
844
+	echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
834 845
 	exit ;;
835 846
     i*:CYGWIN*:*)
836 847
 	echo ${UNAME_MACHINE}-pc-cygwin
@@ -893,7 +904,7 @@ EOF
893 904
 	exit ;;
894 905
     *:GNU/*:*:*)
895 906
 	# other systems with GNU libc and userland
896
-	echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
907
+	echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
897 908
 	exit ;;
898 909
     i*86:Minix:*:*)
899 910
 	echo ${UNAME_MACHINE}-pc-minix
@@ -916,7 +927,7 @@ EOF
916 927
 	  EV68*) UNAME_MACHINE=alphaev68 ;;
917 928
 	esac
918 929
 	objdump --private-headers /bin/sh | grep -q ld.so.1
919
-	if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
930
+	if test "$?" = 0 ; then LIBC=gnulibc1 ; fi
920 931
 	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
921 932
 	exit ;;
922 933
     arc:Linux:*:* | arceb:Linux:*:*)
@@ -962,6 +973,9 @@ EOF
962 973
     ia64:Linux:*:*)
963 974
 	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
964 975
 	exit ;;
976
+    k1om:Linux:*:*)
977
+	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
978
+	exit ;;
965 979
     m32r*:Linux:*:*)
966 980
 	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
967 981
 	exit ;;
@@ -987,6 +1001,9 @@ EOF
987 1001
 	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
988 1002
 	test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
989 1003
 	;;
1004
+    mips64el:Linux:*:*)
1005
+	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1006
+	exit ;;
990 1007
     openrisc*:Linux:*:*)
991 1008
 	echo or1k-unknown-linux-${LIBC}
992 1009
 	exit ;;
@@ -1019,6 +1036,9 @@ EOF
1019 1036
     ppcle:Linux:*:*)
1020 1037
 	echo powerpcle-unknown-linux-${LIBC}
1021 1038
 	exit ;;
1039
+    riscv32:Linux:*:* | riscv64:Linux:*:*)
1040
+	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1041
+	exit ;;
1022 1042
     s390:Linux:*:* | s390x:Linux:*:*)
1023 1043
 	echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
1024 1044
 	exit ;;
@@ -1038,7 +1058,7 @@ EOF
1038 1058
 	echo ${UNAME_MACHINE}-dec-linux-${LIBC}
1039 1059
 	exit ;;
1040 1060
     x86_64:Linux:*:*)
1041
-	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1061
+	echo ${UNAME_MACHINE}-pc-linux-${LIBC}
1042 1062
 	exit ;;
1043 1063
     xtensa*:Linux:*:*)
1044 1064
 	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
@@ -1117,7 +1137,7 @@ EOF
1117 1137
 	# uname -m prints for DJGPP always 'pc', but it prints nothing about
1118 1138
 	# the processor, so we play safe by assuming i586.
1119 1139
 	# Note: whatever this is, it MUST be the same as what config.sub
1120
-	# prints for the "djgpp" host, or else GDB configury will decide that
1140
+	# prints for the "djgpp" host, or else GDB configure will decide that
1121 1141
 	# this is a cross-build.
1122 1142
 	echo i586-pc-msdosdjgpp
1123 1143
 	exit ;;
@@ -1266,6 +1286,9 @@ EOF
1266 1286
     SX-8R:SUPER-UX:*:*)
1267 1287
 	echo sx8r-nec-superux${UNAME_RELEASE}
1268 1288
 	exit ;;
1289
+    SX-ACE:SUPER-UX:*:*)
1290
+	echo sxace-nec-superux${UNAME_RELEASE}
1291
+	exit ;;
1269 1292
     Power*:Rhapsody:*:*)
1270 1293
 	echo powerpc-apple-rhapsody${UNAME_RELEASE}
1271 1294
 	exit ;;
@@ -1279,16 +1302,23 @@ EOF
1279 1302
 	    UNAME_PROCESSOR=powerpc
1280 1303
 	fi
1281 1304
 	if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then
1282
-	    if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
1305
+	    if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
1283 1306
 		if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
1284
-		    (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
1285
-		    grep IS_64BIT_ARCH >/dev/null
1307
+		       (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
1308
+		       grep IS_64BIT_ARCH >/dev/null
1286 1309
 		then
1287 1310
 		    case $UNAME_PROCESSOR in
1288 1311
 			i386) UNAME_PROCESSOR=x86_64 ;;
1289 1312
 			powerpc) UNAME_PROCESSOR=powerpc64 ;;
1290 1313
 		    esac
1291 1314
 		fi
1315
+		# On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc
1316
+		if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \
1317
+		       (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
1318
+		       grep IS_PPC >/dev/null
1319
+		then
1320
+		    UNAME_PROCESSOR=powerpc
1321
+		fi
1292 1322
 	    fi
1293 1323
 	elif test "$UNAME_PROCESSOR" = i386 ; then
1294 1324
 	    # Avoid executing cc on OS X 10.9, as it ships with a stub
@@ -1303,7 +1333,7 @@ EOF
1303 1333
 	exit ;;
1304 1334
     *:procnto*:*:* | *:QNX:[0123456789]*:*)
1305 1335
 	UNAME_PROCESSOR=`uname -p`
1306
-	if test "$UNAME_PROCESSOR" = "x86"; then
1336
+	if test "$UNAME_PROCESSOR" = x86; then
1307 1337
 		UNAME_PROCESSOR=i386
1308 1338
 		UNAME_MACHINE=pc
1309 1339
 	fi
@@ -1312,15 +1342,18 @@ EOF
1312 1342
     *:QNX:*:4*)
1313 1343
 	echo i386-pc-qnx
1314 1344
 	exit ;;
1315
-    NEO-?:NONSTOP_KERNEL:*:*)
1345
+    NEO-*:NONSTOP_KERNEL:*:*)
1316 1346
 	echo neo-tandem-nsk${UNAME_RELEASE}
1317 1347
 	exit ;;
1318 1348
     NSE-*:NONSTOP_KERNEL:*:*)
1319 1349
 	echo nse-tandem-nsk${UNAME_RELEASE}
1320 1350
 	exit ;;
1321
-    NSR-?:NONSTOP_KERNEL:*:*)
1351
+    NSR-*:NONSTOP_KERNEL:*:*)
1322 1352
 	echo nsr-tandem-nsk${UNAME_RELEASE}
1323 1353
 	exit ;;
1354
+    NSX-*:NONSTOP_KERNEL:*:*)
1355
+	echo nsx-tandem-nsk${UNAME_RELEASE}
1356
+	exit ;;
1324 1357
     *:NonStop-UX:*:*)
1325 1358
 	echo mips-compaq-nonstopux
1326 1359
 	exit ;;
@@ -1334,7 +1367,7 @@ EOF
1334 1367
 	# "uname -m" is not consistent, so use $cputype instead. 386
1335 1368
 	# is converted to i386 for consistency with other x86
1336 1369
 	# operating systems.
1337
-	if test "$cputype" = "386"; then
1370
+	if test "$cputype" = 386; then
1338 1371
 	    UNAME_MACHINE=i386
1339 1372
 	else
1340 1373
 	    UNAME_MACHINE="$cputype"
@@ -1376,7 +1409,7 @@ EOF
1376 1409
 	echo i386-pc-xenix
1377 1410
 	exit ;;
1378 1411
     i*86:skyos:*:*)
1379
-	echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
1412
+	echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE} | sed -e 's/ .*$//'`
1380 1413
 	exit ;;
1381 1414
     i*86:rdos:*:*)
1382 1415
 	echo ${UNAME_MACHINE}-pc-rdos
@@ -1387,23 +1420,25 @@ EOF
1387 1420
     x86_64:VMkernel:*:*)
1388 1421
 	echo ${UNAME_MACHINE}-unknown-esx
1389 1422
 	exit ;;
1423
+    amd64:Isilon\ OneFS:*:*)
1424
+	echo x86_64-unknown-onefs
1425
+	exit ;;
1390 1426
 esac
1391 1427
 
1392 1428
 cat >&2 <<EOF
1393 1429
 $0: unable to guess system type
1394 1430
 
1395
-This script, last modified $timestamp, has failed to recognize
1396
-the operating system you are using. It is advised that you
1397
-download the most up to date version of the config scripts from
1431
+This script (version $timestamp), has failed to recognize the
1432
+operating system you are using. If your script is old, overwrite
1433
+config.guess and config.sub with the latest versions from:
1398 1434
 
1399
-  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
1435
+  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
1400 1436
 and
1401
-  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
1437
+  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
1402 1438
 
1403
-If the version you run ($0) is already up to date, please
1404
-send the following data and any information you think might be
1405
-pertinent to <config-patches@gnu.org> in order to provide the needed
1406
-information to handle your system.
1439
+If $0 has already been updated, send the following data and any
1440
+information you think might be pertinent to config-patches@gnu.org to
1441
+provide the necessary information to handle your system.
1407 1442
 
1408 1443
 config.guess timestamp = $timestamp
1409 1444
 

Loading…
Cancel
Save