nutcracker 0.4.1.22 → 0.4.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ext/nutcracker/Makefile.in +9 -6
- data/ext/nutcracker/aclocal.m4 +86 -103
- data/ext/nutcracker/autom4te.cache/output.0 +96 -95
- data/ext/nutcracker/autom4te.cache/output.1 +96 -95
- data/ext/nutcracker/autom4te.cache/requests +221 -221
- data/ext/nutcracker/autom4te.cache/traces.0 +92 -106
- data/ext/nutcracker/autom4te.cache/traces.1 +9 -9
- data/ext/nutcracker/config/compile +4 -4
- data/ext/nutcracker/config/config.guess +281 -278
- data/ext/nutcracker/config/config.sub +107 -142
- data/ext/nutcracker/config/depcomp +4 -4
- data/ext/nutcracker/config/install-sh +31 -14
- data/ext/nutcracker/config/missing +7 -7
- data/ext/nutcracker/configure +96 -95
- data/ext/nutcracker/contrib/Makefile.in +9 -6
- data/ext/nutcracker/contrib/yaml-0.1.4/Makefile.in +9 -6
- data/ext/nutcracker/contrib/yaml-0.1.4/aclocal.m4 +86 -103
- data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/output.0 +96 -95
- data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/output.1 +96 -95
- data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/output.2 +96 -95
- data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/requests +390 -390
- data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/traces.0 +92 -106
- data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/traces.1 +9 -9
- data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/traces.2 +92 -106
- data/ext/nutcracker/contrib/yaml-0.1.4/config/compile +4 -4
- data/ext/nutcracker/contrib/yaml-0.1.4/config/config.guess +281 -278
- data/ext/nutcracker/contrib/yaml-0.1.4/config/config.sub +107 -142
- data/ext/nutcracker/contrib/yaml-0.1.4/config/depcomp +4 -4
- data/ext/nutcracker/contrib/yaml-0.1.4/config/install-sh +31 -14
- data/ext/nutcracker/contrib/yaml-0.1.4/config/missing +7 -7
- data/ext/nutcracker/contrib/yaml-0.1.4/config/test-driver +4 -4
- data/ext/nutcracker/contrib/yaml-0.1.4/configure +96 -95
- data/ext/nutcracker/contrib/yaml-0.1.4/src/Makefile.in +53 -26
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/Makefile.in +58 -22
- data/ext/nutcracker/src/Makefile.in +93 -41
- data/ext/nutcracker/src/event/Makefile.in +36 -21
- data/ext/nutcracker/src/hashkit/Makefile.in +64 -29
- data/ext/nutcracker/src/proto/Makefile.in +33 -20
- data/lib/nutcracker.rb +6 -4
- data/lib/nutcracker/version.rb +1 -1
- metadata +5 -4
@@ -1,8 +1,8 @@
|
|
1
1
|
#! /bin/sh
|
2
2
|
# Configuration validation subroutine script.
|
3
|
-
# Copyright 1992-
|
3
|
+
# Copyright 1992-2018 Free Software Foundation, Inc.
|
4
4
|
|
5
|
-
timestamp='
|
5
|
+
timestamp='2018-03-08'
|
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
|
@@ -15,7 +15,7 @@ timestamp='2017-04-02'
|
|
15
15
|
# General Public License for more details.
|
16
16
|
#
|
17
17
|
# You should have received a copy of the GNU General Public License
|
18
|
-
# along with this program; if not, see <
|
18
|
+
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
19
19
|
#
|
20
20
|
# As a special exception to the GNU General Public License, if you
|
21
21
|
# distribute this file as part of a program that contains a
|
@@ -33,7 +33,7 @@ timestamp='2017-04-02'
|
|
33
33
|
# Otherwise, we print the canonical config type on stdout and succeed.
|
34
34
|
|
35
35
|
# You can get the latest version of this script from:
|
36
|
-
#
|
36
|
+
# https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
|
37
37
|
|
38
38
|
# This file is supposed to be the same for all GNU packages
|
39
39
|
# and recognize all the CPU types, system types and aliases
|
@@ -57,7 +57,7 @@ Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS
|
|
57
57
|
|
58
58
|
Canonicalize a configuration name.
|
59
59
|
|
60
|
-
|
60
|
+
Options:
|
61
61
|
-h, --help print this help, then exit
|
62
62
|
-t, --time-stamp print date of last modification, then exit
|
63
63
|
-v, --version print version number, then exit
|
@@ -67,7 +67,7 @@ Report bugs and patches to <config-patches@gnu.org>."
|
|
67
67
|
version="\
|
68
68
|
GNU config.sub ($timestamp)
|
69
69
|
|
70
|
-
Copyright 1992-
|
70
|
+
Copyright 1992-2018 Free Software Foundation, Inc.
|
71
71
|
|
72
72
|
This is free software; see the source for copying conditions. There is NO
|
73
73
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
@@ -94,7 +94,7 @@ while test $# -gt 0 ; do
|
|
94
94
|
|
95
95
|
*local*)
|
96
96
|
# First pass through any local machine types.
|
97
|
-
echo $1
|
97
|
+
echo "$1"
|
98
98
|
exit ;;
|
99
99
|
|
100
100
|
* )
|
@@ -112,7 +112,7 @@ esac
|
|
112
112
|
|
113
113
|
# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
|
114
114
|
# Here we must recognize all the valid KERNEL-OS combinations.
|
115
|
-
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
|
115
|
+
maybe_os=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
|
116
116
|
case $maybe_os in
|
117
117
|
nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
|
118
118
|
linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
|
@@ -120,16 +120,16 @@ case $maybe_os in
|
|
120
120
|
kopensolaris*-gnu* | cloudabi*-eabi* | \
|
121
121
|
storm-chaos* | os2-emx* | rtmk-nova*)
|
122
122
|
os=-$maybe_os
|
123
|
-
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
|
123
|
+
basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
|
124
124
|
;;
|
125
125
|
android-linux)
|
126
126
|
os=-linux-android
|
127
|
-
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
|
127
|
+
basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
|
128
128
|
;;
|
129
129
|
*)
|
130
|
-
basic_machine=`echo $1 | sed 's/-[^-]*$//'`
|
131
|
-
if [ $basic_machine != $1 ]
|
132
|
-
then os=`echo $1 | sed 's/.*-/-/'`
|
130
|
+
basic_machine=`echo "$1" | sed 's/-[^-]*$//'`
|
131
|
+
if [ "$basic_machine" != "$1" ]
|
132
|
+
then os=`echo "$1" | sed 's/.*-/-/'`
|
133
133
|
else os=; fi
|
134
134
|
;;
|
135
135
|
esac
|
@@ -178,44 +178,44 @@ case $os in
|
|
178
178
|
;;
|
179
179
|
-sco6)
|
180
180
|
os=-sco5v6
|
181
|
-
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
181
|
+
basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
|
182
182
|
;;
|
183
183
|
-sco5)
|
184
184
|
os=-sco3.2v5
|
185
|
-
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
185
|
+
basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
|
186
186
|
;;
|
187
187
|
-sco4)
|
188
188
|
os=-sco3.2v4
|
189
|
-
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
189
|
+
basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
|
190
190
|
;;
|
191
191
|
-sco3.2.[4-9]*)
|
192
192
|
os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
|
193
|
-
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
193
|
+
basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
|
194
194
|
;;
|
195
195
|
-sco3.2v[4-9]*)
|
196
196
|
# Don't forget version if it is 3.2v4 or newer.
|
197
|
-
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
197
|
+
basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
|
198
198
|
;;
|
199
199
|
-sco5v6*)
|
200
200
|
# Don't forget version if it is 3.2v4 or newer.
|
201
|
-
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
201
|
+
basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
|
202
202
|
;;
|
203
203
|
-sco*)
|
204
204
|
os=-sco3.2v2
|
205
|
-
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
205
|
+
basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
|
206
206
|
;;
|
207
207
|
-udk*)
|
208
|
-
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
208
|
+
basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
|
209
209
|
;;
|
210
210
|
-isc)
|
211
211
|
os=-isc2.2
|
212
|
-
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
212
|
+
basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
|
213
213
|
;;
|
214
214
|
-clix*)
|
215
215
|
basic_machine=clipper-intergraph
|
216
216
|
;;
|
217
217
|
-isc*)
|
218
|
-
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
218
|
+
basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
|
219
219
|
;;
|
220
220
|
-lynx*178)
|
221
221
|
os=-lynxos178
|
@@ -227,10 +227,7 @@ case $os in
|
|
227
227
|
os=-lynxos
|
228
228
|
;;
|
229
229
|
-ptx*)
|
230
|
-
basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
|
231
|
-
;;
|
232
|
-
-windowsnt*)
|
233
|
-
os=`echo $os | sed -e 's/windowsnt/winnt/'`
|
230
|
+
basic_machine=`echo "$1" | sed -e 's/86-.*/86-sequent/'`
|
234
231
|
;;
|
235
232
|
-psos*)
|
236
233
|
os=-psos
|
@@ -299,7 +296,7 @@ case $basic_machine in
|
|
299
296
|
| nios | nios2 | nios2eb | nios2el \
|
300
297
|
| ns16k | ns32k \
|
301
298
|
| open8 | or1k | or1knd | or32 \
|
302
|
-
| pdp10 |
|
299
|
+
| pdp10 | pj | pjl \
|
303
300
|
| powerpc | powerpc64 | powerpc64le | powerpcle \
|
304
301
|
| pru \
|
305
302
|
| pyramid \
|
@@ -316,7 +313,6 @@ case $basic_machine in
|
|
316
313
|
| v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
|
317
314
|
| visium \
|
318
315
|
| wasm32 \
|
319
|
-
| we32k \
|
320
316
|
| x86 | xc16x | xstormy16 | xtensa \
|
321
317
|
| z8k | z80)
|
322
318
|
basic_machine=$basic_machine-unknown
|
@@ -337,7 +333,7 @@ case $basic_machine in
|
|
337
333
|
basic_machine=$basic_machine-unknown
|
338
334
|
os=-none
|
339
335
|
;;
|
340
|
-
m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65
|
336
|
+
m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65)
|
341
337
|
;;
|
342
338
|
ms1)
|
343
339
|
basic_machine=mt-unknown
|
@@ -366,7 +362,7 @@ case $basic_machine in
|
|
366
362
|
;;
|
367
363
|
# Object if more than one company name word.
|
368
364
|
*-*-*)
|
369
|
-
echo Invalid configuration
|
365
|
+
echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2
|
370
366
|
exit 1
|
371
367
|
;;
|
372
368
|
# Recognize the basic CPU types with company name.
|
@@ -461,7 +457,7 @@ case $basic_machine in
|
|
461
457
|
# Recognize the various machine names and aliases which stand
|
462
458
|
# for a CPU type and a company and sometimes even an OS.
|
463
459
|
386bsd)
|
464
|
-
basic_machine=i386-
|
460
|
+
basic_machine=i386-pc
|
465
461
|
os=-bsd
|
466
462
|
;;
|
467
463
|
3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
|
@@ -495,7 +491,7 @@ case $basic_machine in
|
|
495
491
|
basic_machine=x86_64-pc
|
496
492
|
;;
|
497
493
|
amd64-*)
|
498
|
-
basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
|
494
|
+
basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
499
495
|
;;
|
500
496
|
amdahl)
|
501
497
|
basic_machine=580-amdahl
|
@@ -540,7 +536,7 @@ case $basic_machine in
|
|
540
536
|
os=-linux
|
541
537
|
;;
|
542
538
|
blackfin-*)
|
543
|
-
basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
|
539
|
+
basic_machine=bfin-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
544
540
|
os=-linux
|
545
541
|
;;
|
546
542
|
bluegene*)
|
@@ -548,13 +544,13 @@ case $basic_machine in
|
|
548
544
|
os=-cnk
|
549
545
|
;;
|
550
546
|
c54x-*)
|
551
|
-
basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
|
547
|
+
basic_machine=tic54x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
552
548
|
;;
|
553
549
|
c55x-*)
|
554
|
-
basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
|
550
|
+
basic_machine=tic55x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
555
551
|
;;
|
556
552
|
c6x-*)
|
557
|
-
basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
|
553
|
+
basic_machine=tic6x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
558
554
|
;;
|
559
555
|
c90)
|
560
556
|
basic_machine=c90-cray
|
@@ -643,7 +639,7 @@ case $basic_machine in
|
|
643
639
|
basic_machine=rs6000-bull
|
644
640
|
os=-bosx
|
645
641
|
;;
|
646
|
-
dpx2*
|
642
|
+
dpx2*)
|
647
643
|
basic_machine=m68k-bull
|
648
644
|
os=-sysv3
|
649
645
|
;;
|
@@ -652,7 +648,7 @@ case $basic_machine in
|
|
652
648
|
os=$os"spe"
|
653
649
|
;;
|
654
650
|
e500v[12]-*)
|
655
|
-
basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
|
651
|
+
basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
656
652
|
os=$os"spe"
|
657
653
|
;;
|
658
654
|
ebmon29k)
|
@@ -744,9 +740,6 @@ case $basic_machine in
|
|
744
740
|
hp9k8[0-9][0-9] | hp8[0-9][0-9])
|
745
741
|
basic_machine=hppa1.0-hp
|
746
742
|
;;
|
747
|
-
hppa-next)
|
748
|
-
os=-nextstep3
|
749
|
-
;;
|
750
743
|
hppaosf)
|
751
744
|
basic_machine=hppa1.1-hp
|
752
745
|
os=-osf
|
@@ -759,26 +752,26 @@ case $basic_machine in
|
|
759
752
|
basic_machine=i370-ibm
|
760
753
|
;;
|
761
754
|
i*86v32)
|
762
|
-
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
755
|
+
basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
|
763
756
|
os=-sysv32
|
764
757
|
;;
|
765
758
|
i*86v4*)
|
766
|
-
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
759
|
+
basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
|
767
760
|
os=-sysv4
|
768
761
|
;;
|
769
762
|
i*86v)
|
770
|
-
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
763
|
+
basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
|
771
764
|
os=-sysv
|
772
765
|
;;
|
773
766
|
i*86sol2)
|
774
|
-
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
767
|
+
basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
|
775
768
|
os=-solaris2
|
776
769
|
;;
|
777
770
|
i386mach)
|
778
771
|
basic_machine=i386-mach
|
779
772
|
os=-mach
|
780
773
|
;;
|
781
|
-
|
774
|
+
vsta)
|
782
775
|
basic_machine=i386-unknown
|
783
776
|
os=-vsta
|
784
777
|
;;
|
@@ -797,19 +790,16 @@ case $basic_machine in
|
|
797
790
|
os=-sysv
|
798
791
|
;;
|
799
792
|
leon-*|leon[3-9]-*)
|
800
|
-
basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'`
|
793
|
+
basic_machine=sparc-`echo "$basic_machine" | sed 's/-.*//'`
|
801
794
|
;;
|
802
795
|
m68knommu)
|
803
796
|
basic_machine=m68k-unknown
|
804
797
|
os=-linux
|
805
798
|
;;
|
806
799
|
m68knommu-*)
|
807
|
-
basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
|
800
|
+
basic_machine=m68k-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
808
801
|
os=-linux
|
809
802
|
;;
|
810
|
-
m88k-omron*)
|
811
|
-
basic_machine=m88k-omron
|
812
|
-
;;
|
813
803
|
magnum | m3230)
|
814
804
|
basic_machine=mips-mips
|
815
805
|
os=-sysv
|
@@ -841,10 +831,10 @@ case $basic_machine in
|
|
841
831
|
os=-mint
|
842
832
|
;;
|
843
833
|
mips3*-*)
|
844
|
-
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
|
834
|
+
basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`
|
845
835
|
;;
|
846
836
|
mips3*)
|
847
|
-
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
|
837
|
+
basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`-unknown
|
848
838
|
;;
|
849
839
|
monitor)
|
850
840
|
basic_machine=m68k-rom68k
|
@@ -863,7 +853,7 @@ case $basic_machine in
|
|
863
853
|
os=-msdos
|
864
854
|
;;
|
865
855
|
ms1-*)
|
866
|
-
basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
|
856
|
+
basic_machine=`echo "$basic_machine" | sed -e 's/ms1-/mt-/'`
|
867
857
|
;;
|
868
858
|
msys)
|
869
859
|
basic_machine=i686-pc
|
@@ -905,7 +895,7 @@ case $basic_machine in
|
|
905
895
|
basic_machine=v70-nec
|
906
896
|
os=-sysv
|
907
897
|
;;
|
908
|
-
next | m*-next
|
898
|
+
next | m*-next)
|
909
899
|
basic_machine=m68k-next
|
910
900
|
case $os in
|
911
901
|
-nextstep* )
|
@@ -950,6 +940,9 @@ case $basic_machine in
|
|
950
940
|
nsr-tandem)
|
951
941
|
basic_machine=nsr-tandem
|
952
942
|
;;
|
943
|
+
nsv-tandem)
|
944
|
+
basic_machine=nsv-tandem
|
945
|
+
;;
|
953
946
|
nsx-tandem)
|
954
947
|
basic_machine=nsx-tandem
|
955
948
|
;;
|
@@ -985,7 +978,7 @@ case $basic_machine in
|
|
985
978
|
os=-linux
|
986
979
|
;;
|
987
980
|
parisc-*)
|
988
|
-
basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
|
981
|
+
basic_machine=hppa-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
989
982
|
os=-linux
|
990
983
|
;;
|
991
984
|
pbd)
|
@@ -1001,7 +994,7 @@ case $basic_machine in
|
|
1001
994
|
basic_machine=i386-pc
|
1002
995
|
;;
|
1003
996
|
pc98-*)
|
1004
|
-
basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
|
997
|
+
basic_machine=i386-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
1005
998
|
;;
|
1006
999
|
pentium | p5 | k5 | k6 | nexgen | viac3)
|
1007
1000
|
basic_machine=i586-pc
|
@@ -1016,16 +1009,16 @@ case $basic_machine in
|
|
1016
1009
|
basic_machine=i786-pc
|
1017
1010
|
;;
|
1018
1011
|
pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
|
1019
|
-
basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
|
1012
|
+
basic_machine=i586-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
1020
1013
|
;;
|
1021
1014
|
pentiumpro-* | p6-* | 6x86-* | athlon-*)
|
1022
|
-
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
|
1015
|
+
basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
1023
1016
|
;;
|
1024
1017
|
pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
|
1025
|
-
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
|
1018
|
+
basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
1026
1019
|
;;
|
1027
1020
|
pentium4-*)
|
1028
|
-
basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
|
1021
|
+
basic_machine=i786-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
1029
1022
|
;;
|
1030
1023
|
pn)
|
1031
1024
|
basic_machine=pn-gould
|
@@ -1035,23 +1028,23 @@ case $basic_machine in
|
|
1035
1028
|
ppc | ppcbe) basic_machine=powerpc-unknown
|
1036
1029
|
;;
|
1037
1030
|
ppc-* | ppcbe-*)
|
1038
|
-
basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
|
1031
|
+
basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
1039
1032
|
;;
|
1040
1033
|
ppcle | powerpclittle)
|
1041
1034
|
basic_machine=powerpcle-unknown
|
1042
1035
|
;;
|
1043
1036
|
ppcle-* | powerpclittle-*)
|
1044
|
-
basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
|
1037
|
+
basic_machine=powerpcle-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
1045
1038
|
;;
|
1046
1039
|
ppc64) basic_machine=powerpc64-unknown
|
1047
1040
|
;;
|
1048
|
-
ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
|
1041
|
+
ppc64-*) basic_machine=powerpc64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
1049
1042
|
;;
|
1050
1043
|
ppc64le | powerpc64little)
|
1051
1044
|
basic_machine=powerpc64le-unknown
|
1052
1045
|
;;
|
1053
1046
|
ppc64le-* | powerpc64little-*)
|
1054
|
-
basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
|
1047
|
+
basic_machine=powerpc64le-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
1055
1048
|
;;
|
1056
1049
|
ps2)
|
1057
1050
|
basic_machine=i386-ibm
|
@@ -1105,17 +1098,10 @@ case $basic_machine in
|
|
1105
1098
|
sequent)
|
1106
1099
|
basic_machine=i386-sequent
|
1107
1100
|
;;
|
1108
|
-
sh)
|
1109
|
-
basic_machine=sh-hitachi
|
1110
|
-
os=-hms
|
1111
|
-
;;
|
1112
1101
|
sh5el)
|
1113
1102
|
basic_machine=sh5le-unknown
|
1114
1103
|
;;
|
1115
|
-
|
1116
|
-
basic_machine=sh64-unknown
|
1117
|
-
;;
|
1118
|
-
sparclite-wrs | simso-wrs)
|
1104
|
+
simso-wrs)
|
1119
1105
|
basic_machine=sparclite-wrs
|
1120
1106
|
os=-vxworks
|
1121
1107
|
;;
|
@@ -1134,7 +1120,7 @@ case $basic_machine in
|
|
1134
1120
|
os=-sysv4
|
1135
1121
|
;;
|
1136
1122
|
strongarm-* | thumb-*)
|
1137
|
-
basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
|
1123
|
+
basic_machine=arm-`echo "$basic_machine" | sed 's/^[^-]*-//'`
|
1138
1124
|
;;
|
1139
1125
|
sun2)
|
1140
1126
|
basic_machine=m68000-sun
|
@@ -1248,9 +1234,6 @@ case $basic_machine in
|
|
1248
1234
|
basic_machine=a29k-wrs
|
1249
1235
|
os=-vxworks
|
1250
1236
|
;;
|
1251
|
-
wasm32)
|
1252
|
-
basic_machine=wasm32-unknown
|
1253
|
-
;;
|
1254
1237
|
w65*)
|
1255
1238
|
basic_machine=w65-wdc
|
1256
1239
|
os=-none
|
@@ -1259,6 +1242,9 @@ case $basic_machine in
|
|
1259
1242
|
basic_machine=hppa1.1-winbond
|
1260
1243
|
os=-proelf
|
1261
1244
|
;;
|
1245
|
+
x64)
|
1246
|
+
basic_machine=x86_64-pc
|
1247
|
+
;;
|
1262
1248
|
xbox)
|
1263
1249
|
basic_machine=i686-pc
|
1264
1250
|
os=-mingw32
|
@@ -1267,20 +1253,12 @@ case $basic_machine in
|
|
1267
1253
|
basic_machine=xps100-honeywell
|
1268
1254
|
;;
|
1269
1255
|
xscale-* | xscalee[bl]-*)
|
1270
|
-
basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
|
1256
|
+
basic_machine=`echo "$basic_machine" | sed 's/^xscale/arm/'`
|
1271
1257
|
;;
|
1272
1258
|
ymp)
|
1273
1259
|
basic_machine=ymp-cray
|
1274
1260
|
os=-unicos
|
1275
1261
|
;;
|
1276
|
-
z8k-*-coff)
|
1277
|
-
basic_machine=z8k-unknown
|
1278
|
-
os=-sim
|
1279
|
-
;;
|
1280
|
-
z80-*-coff)
|
1281
|
-
basic_machine=z80-unknown
|
1282
|
-
os=-sim
|
1283
|
-
;;
|
1284
1262
|
none)
|
1285
1263
|
basic_machine=none-none
|
1286
1264
|
os=-none
|
@@ -1309,10 +1287,6 @@ case $basic_machine in
|
|
1309
1287
|
vax)
|
1310
1288
|
basic_machine=vax-dec
|
1311
1289
|
;;
|
1312
|
-
pdp10)
|
1313
|
-
# there are many clones, so DEC is not a safe bet
|
1314
|
-
basic_machine=pdp10-unknown
|
1315
|
-
;;
|
1316
1290
|
pdp11)
|
1317
1291
|
basic_machine=pdp11-dec
|
1318
1292
|
;;
|
@@ -1322,9 +1296,6 @@ case $basic_machine in
|
|
1322
1296
|
sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
|
1323
1297
|
basic_machine=sh-unknown
|
1324
1298
|
;;
|
1325
|
-
sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
|
1326
|
-
basic_machine=sparc-sun
|
1327
|
-
;;
|
1328
1299
|
cydra)
|
1329
1300
|
basic_machine=cydra-cydrome
|
1330
1301
|
;;
|
@@ -1344,7 +1315,7 @@ case $basic_machine in
|
|
1344
1315
|
# Make sure to match an already-canonicalized machine name.
|
1345
1316
|
;;
|
1346
1317
|
*)
|
1347
|
-
echo Invalid configuration
|
1318
|
+
echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2
|
1348
1319
|
exit 1
|
1349
1320
|
;;
|
1350
1321
|
esac
|
@@ -1352,10 +1323,10 @@ esac
|
|
1352
1323
|
# Here we canonicalize certain aliases for manufacturers.
|
1353
1324
|
case $basic_machine in
|
1354
1325
|
*-digital*)
|
1355
|
-
basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
|
1326
|
+
basic_machine=`echo "$basic_machine" | sed 's/digital.*/dec/'`
|
1356
1327
|
;;
|
1357
1328
|
*-commodore*)
|
1358
|
-
basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
|
1329
|
+
basic_machine=`echo "$basic_machine" | sed 's/commodore.*/cbm/'`
|
1359
1330
|
;;
|
1360
1331
|
*)
|
1361
1332
|
;;
|
@@ -1366,8 +1337,8 @@ esac
|
|
1366
1337
|
if [ x"$os" != x"" ]
|
1367
1338
|
then
|
1368
1339
|
case $os in
|
1369
|
-
# First match some system type aliases
|
1370
|
-
#
|
1340
|
+
# First match some system type aliases that might get confused
|
1341
|
+
# with valid system types.
|
1371
1342
|
# -solaris* is a basic system type, with this one exception.
|
1372
1343
|
-auroraux)
|
1373
1344
|
os=-auroraux
|
@@ -1378,18 +1349,19 @@ case $os in
|
|
1378
1349
|
-solaris)
|
1379
1350
|
os=-solaris2
|
1380
1351
|
;;
|
1381
|
-
-svr4*)
|
1382
|
-
os=-sysv4
|
1383
|
-
;;
|
1384
1352
|
-unixware*)
|
1385
1353
|
os=-sysv4.2uw
|
1386
1354
|
;;
|
1387
1355
|
-gnu/linux*)
|
1388
1356
|
os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
|
1389
1357
|
;;
|
1390
|
-
#
|
1358
|
+
# es1800 is here to avoid being matched by es* (a different OS)
|
1359
|
+
-es1800*)
|
1360
|
+
os=-ose
|
1361
|
+
;;
|
1362
|
+
# Now accept the basic system types.
|
1391
1363
|
# The portable systems comes first.
|
1392
|
-
# Each alternative MUST
|
1364
|
+
# Each alternative MUST end in a * to match a version number.
|
1393
1365
|
# -sysv* is not here because it comes later, after sysvr4.
|
1394
1366
|
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
|
1395
1367
|
| -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
|
@@ -1399,25 +1371,26 @@ case $os in
|
|
1399
1371
|
| -aos* | -aros* | -cloudabi* | -sortix* \
|
1400
1372
|
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
1401
1373
|
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
|
1402
|
-
| -hiux* | -
|
1374
|
+
| -hiux* | -knetbsd* | -mirbsd* | -netbsd* \
|
1403
1375
|
| -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \
|
1404
1376
|
| -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
|
1405
1377
|
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
|
1406
1378
|
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
|
1407
|
-
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
|
1379
|
+
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* | -hcos* \
|
1408
1380
|
| -chorusos* | -chorusrdb* | -cegcc* | -glidix* \
|
1409
1381
|
| -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
1410
1382
|
| -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
|
1411
1383
|
| -linux-newlib* | -linux-musl* | -linux-uclibc* \
|
1412
1384
|
| -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
|
1413
|
-
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin*
|
1385
|
+
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* \
|
1414
1386
|
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
|
1415
1387
|
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
|
1416
1388
|
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
|
1417
|
-
| -morphos* | -superux* | -rtmk* | -
|
1389
|
+
| -morphos* | -superux* | -rtmk* | -windiss* \
|
1418
1390
|
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
|
1419
1391
|
| -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
|
1420
|
-
| -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox*
|
1392
|
+
| -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* | -bme* \
|
1393
|
+
| -midnightbsd*)
|
1421
1394
|
# Remember, each alternative MUST END IN *, to match a version number.
|
1422
1395
|
;;
|
1423
1396
|
-qnx*)
|
@@ -1434,12 +1407,12 @@ case $os in
|
|
1434
1407
|
-nto*)
|
1435
1408
|
os=`echo $os | sed -e 's|nto|nto-qnx|'`
|
1436
1409
|
;;
|
1437
|
-
-sim | -
|
1438
|
-
| -windows* | -osx | -abug | -netware* | -os9*
|
1410
|
+
-sim | -xray | -os68k* | -v88r* \
|
1411
|
+
| -windows* | -osx | -abug | -netware* | -os9* \
|
1439
1412
|
| -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
|
1440
1413
|
;;
|
1441
1414
|
-mac*)
|
1442
|
-
os=`echo $os | sed -e 's|mac|macos|'`
|
1415
|
+
os=`echo "$os" | sed -e 's|mac|macos|'`
|
1443
1416
|
;;
|
1444
1417
|
-linux-dietlibc)
|
1445
1418
|
os=-linux-dietlibc
|
@@ -1448,10 +1421,10 @@ case $os in
|
|
1448
1421
|
os=`echo $os | sed -e 's|linux|linux-gnu|'`
|
1449
1422
|
;;
|
1450
1423
|
-sunos5*)
|
1451
|
-
os=`echo $os | sed -e 's|sunos5|solaris2|'`
|
1424
|
+
os=`echo "$os" | sed -e 's|sunos5|solaris2|'`
|
1452
1425
|
;;
|
1453
1426
|
-sunos6*)
|
1454
|
-
os=`echo $os | sed -e 's|sunos6|solaris3|'`
|
1427
|
+
os=`echo "$os" | sed -e 's|sunos6|solaris3|'`
|
1455
1428
|
;;
|
1456
1429
|
-opened*)
|
1457
1430
|
os=-openedition
|
@@ -1462,12 +1435,6 @@ case $os in
|
|
1462
1435
|
-wince*)
|
1463
1436
|
os=-wince
|
1464
1437
|
;;
|
1465
|
-
-osfrose*)
|
1466
|
-
os=-osfrose
|
1467
|
-
;;
|
1468
|
-
-osf*)
|
1469
|
-
os=-osf
|
1470
|
-
;;
|
1471
1438
|
-utek*)
|
1472
1439
|
os=-bsd
|
1473
1440
|
;;
|
@@ -1492,7 +1459,7 @@ case $os in
|
|
1492
1459
|
-nova*)
|
1493
1460
|
os=-rtmk-nova
|
1494
1461
|
;;
|
1495
|
-
-ns2
|
1462
|
+
-ns2)
|
1496
1463
|
os=-nextstep2
|
1497
1464
|
;;
|
1498
1465
|
-nsk*)
|
@@ -1514,7 +1481,7 @@ case $os in
|
|
1514
1481
|
-oss*)
|
1515
1482
|
os=-sysv3
|
1516
1483
|
;;
|
1517
|
-
-svr4)
|
1484
|
+
-svr4*)
|
1518
1485
|
os=-sysv4
|
1519
1486
|
;;
|
1520
1487
|
-svr3)
|
@@ -1529,24 +1496,28 @@ case $os in
|
|
1529
1496
|
-ose*)
|
1530
1497
|
os=-ose
|
1531
1498
|
;;
|
1532
|
-
-es1800*)
|
1533
|
-
os=-ose
|
1534
|
-
;;
|
1535
|
-
-xenix)
|
1536
|
-
os=-xenix
|
1537
|
-
;;
|
1538
1499
|
-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
|
1539
1500
|
os=-mint
|
1540
1501
|
;;
|
1541
|
-
-aros*)
|
1542
|
-
os=-aros
|
1543
|
-
;;
|
1544
1502
|
-zvmoe)
|
1545
1503
|
os=-zvmoe
|
1546
1504
|
;;
|
1547
1505
|
-dicos*)
|
1548
1506
|
os=-dicos
|
1549
1507
|
;;
|
1508
|
+
-pikeos*)
|
1509
|
+
# Until real need of OS specific support for
|
1510
|
+
# particular features comes up, bare metal
|
1511
|
+
# configurations are quite functional.
|
1512
|
+
case $basic_machine in
|
1513
|
+
arm*)
|
1514
|
+
os=-eabi
|
1515
|
+
;;
|
1516
|
+
*)
|
1517
|
+
os=-elf
|
1518
|
+
;;
|
1519
|
+
esac
|
1520
|
+
;;
|
1550
1521
|
-nacl*)
|
1551
1522
|
;;
|
1552
1523
|
-ios)
|
@@ -1556,7 +1527,7 @@ case $os in
|
|
1556
1527
|
*)
|
1557
1528
|
# Get rid of the `-' at the beginning of $os.
|
1558
1529
|
os=`echo $os | sed 's/[^-]*-//'`
|
1559
|
-
echo Invalid configuration
|
1530
|
+
echo Invalid configuration \`"$1"\': system \`"$os"\' not recognized 1>&2
|
1560
1531
|
exit 1
|
1561
1532
|
;;
|
1562
1533
|
esac
|
@@ -1652,9 +1623,6 @@ case $basic_machine in
|
|
1652
1623
|
*-be)
|
1653
1624
|
os=-beos
|
1654
1625
|
;;
|
1655
|
-
*-haiku)
|
1656
|
-
os=-haiku
|
1657
|
-
;;
|
1658
1626
|
*-ibm)
|
1659
1627
|
os=-aix
|
1660
1628
|
;;
|
@@ -1694,7 +1662,7 @@ case $basic_machine in
|
|
1694
1662
|
m88k-omron*)
|
1695
1663
|
os=-luna
|
1696
1664
|
;;
|
1697
|
-
*-next
|
1665
|
+
*-next)
|
1698
1666
|
os=-nextstep
|
1699
1667
|
;;
|
1700
1668
|
*-sequent)
|
@@ -1709,9 +1677,6 @@ case $basic_machine in
|
|
1709
1677
|
i370-*)
|
1710
1678
|
os=-mvs
|
1711
1679
|
;;
|
1712
|
-
*-next)
|
1713
|
-
os=-nextstep3
|
1714
|
-
;;
|
1715
1680
|
*-gould)
|
1716
1681
|
os=-sysv
|
1717
1682
|
;;
|
@@ -1821,15 +1786,15 @@ case $basic_machine in
|
|
1821
1786
|
vendor=stratus
|
1822
1787
|
;;
|
1823
1788
|
esac
|
1824
|
-
basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
|
1789
|
+
basic_machine=`echo "$basic_machine" | sed "s/unknown/$vendor/"`
|
1825
1790
|
;;
|
1826
1791
|
esac
|
1827
1792
|
|
1828
|
-
echo $basic_machine$os
|
1793
|
+
echo "$basic_machine$os"
|
1829
1794
|
exit
|
1830
1795
|
|
1831
1796
|
# Local variables:
|
1832
|
-
# eval: (add-hook '
|
1797
|
+
# eval: (add-hook 'before-save-hook 'time-stamp)
|
1833
1798
|
# time-stamp-start: "timestamp='"
|
1834
1799
|
# time-stamp-format: "%:y-%02m-%02d"
|
1835
1800
|
# time-stamp-end: "'"
|