2
2
# Configuration validation subroutine script.
3
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
4
# Free Software Foundation, Inc.
3
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
8
8
# This file is (in principle) common to ALL GNU software.
9
9
# The presence of a machine in this file suggests that SOME GNU software
29
29
# configuration script generated by Autoconf, you may include it under
30
30
# the same distribution terms that you use for the rest of that program.
32
# Please send patches to <config-patches@gnu.org>.
32
# Please send patches to <config-patches@gnu.org>. Submit a context
33
# diff and a properly formatted ChangeLog entry.
34
35
# Configuration subroutine to validate and canonicalize a configuration type.
35
36
# Supply the specified configuration type as an argument.
228
229
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
230
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
229
231
| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
230
232
| c4x | clipper \
231
| d10v | d30v | dsp16xx \
233
| d10v | d30v | dlx | dsp16xx \
233
235
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
234
236
| i370 | i860 | i960 | ia64 \
235
238
| m32r | m68000 | m68k | m88k | mcore \
236
| mips16 | mips64 | mips64el | mips64orion | mips64orionel \
237
| mips64vr4100 | mips64vr4100el | mips64vr4300 \
238
| mips64vr4300el | mips64vr5000 | mips64vr5000el \
239
| mipsbe | mipseb | mipsel | mipsle | mipstx39 | mipstx39el \
239
| mips | mipsbe | mipseb | mipsel | mipsle \
241
| mips64 | mips64el \
242
| mips64vr | mips64vrel \
243
| mips64orion | mips64orionel \
244
| mips64vr4100 | mips64vr4100el \
245
| mips64vr4300 | mips64vr4300el \
246
| mips64vr5000 | mips64vr5000el \
247
| mipsisa32 | mipsisa32el \
248
| mipsisa32r2 | mipsisa32r2el \
249
| mipsisa64 | mipsisa64el \
250
| mipsisa64sb1 | mipsisa64sb1el \
251
| mipsisa64sr71k | mipsisa64sr71kel \
252
| mipstx39 | mipstx39el \
241
253
| mn10200 | mn10300 \
242
255
| ns16k | ns32k \
244
257
| pdp10 | pdp11 | pj | pjl \
245
258
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
248
| sh | sh[34] | sh[34]eb | shbe | shle \
249
| sparc | sparc64 | sparclet | sparclite | sparcv9 | sparcv9b \
250
| stormy16 | strongarm \
251
| tahoe | thumb | tic80 | tron \
261
| sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
263
| sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
265
| tahoe | thumb | tic4x | tic80 | tron \
268
| x86 | xscale | xstormy16 | xtensa \
256
270
basic_machine=$basic_machine-unknown
280
294
| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
281
| alphapca5[67]-* | arc-* \
282
| arm-* | armbe-* | armle-* | armv*-* \
295
| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
296
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
297
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \
284
| c[123]* | c30-* | [cjt]90-* | c54x-* \
285
| clipper-* | cray2-* | cydra-* \
300
| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
301
| clipper-* | cydra-* \
302
| d10v-* | d30v-* | dlx-* \
288
| f30[01]-* | f700-* | fr30-* | fx80-* \
304
| f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
289
305
| h8300-* | h8500-* \
290
306
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
291
307
| i*86-* | i860-* | i960-* | ia64-* \
293
| m68000-* | m680[01234]0-* | m68360-* | m683?2-* | m68k-* \
310
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
294
311
| m88110-* | m88k-* | mcore-* \
295
| mips-* | mips16-* | mips64-* | mips64el-* | mips64orion-* \
296
| mips64orionel-* | mips64vr4100-* | mips64vr4100el-* \
297
| mips64vr4300-* | mips64vr4300el-* | mipsbe-* | mipseb-* \
298
| mipsle-* | mipsel-* | mipstx39-* | mipstx39el-* \
299
| none-* | np1-* | ns16k-* | ns32k-* \
312
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
314
| mips64-* | mips64el-* \
315
| mips64vr-* | mips64vrel-* \
316
| mips64orion-* | mips64orionel-* \
317
| mips64vr4100-* | mips64vr4100el-* \
318
| mips64vr4300-* | mips64vr4300el-* \
319
| mips64vr5000-* | mips64vr5000el-* \
320
| mipsisa32-* | mipsisa32el-* \
321
| mipsisa32r2-* | mipsisa32r2el-* \
322
| mipsisa64-* | mipsisa64el-* \
323
| mipsisa64sb1-* | mipsisa64sb1el-* \
324
| mipsisa64sr71k-* | mipsisa64sr71kel-* \
325
| mipstx39-* | mipstx39el-* \
327
| none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
301
329
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
302
330
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
304
332
| romp-* | rs6000-* \
305
333
| s390-* | s390x-* \
306
| sh-* | sh[34]-* | sh[34]eb-* | shbe-* | shle-* \
307
| sparc-* | sparc64-* | sparc86x-* | sparclite-* \
308
| sparcv9-* | sparcv9b-* | stormy16-* | strongarm-* | sv1-* \
309
| t3e-* | tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \
334
| sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
335
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
336
| sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
337
| sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
338
| tahoe-* | thumb-* \
339
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
341
| v850-* | v850e-* | vax-* \
312
| x86-* | x86_64-* | xmp-* | xps100-* | xscale-* \
343
| x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
722
765
basic_machine=m68k-tti
725
768
basic_machine=ns32k-pc532
727
pentium | p5 | k5 | k6 | nexgen)
770
pentium | p5 | k5 | k6 | nexgen | viac3)
728
771
basic_machine=i586-pc
730
pentiumpro | p6 | 6x86 | athlon)
731
basic_machine=i686-pc
733
pentiumii | pentium2)
734
basic_machine=i686-pc
736
pentium-* | p5-* | k5-* | k6-* | nexgen-*)
773
pentiumpro | p6 | 6x86 | athlon | athlon_*)
774
basic_machine=i686-pc
776
pentiumii | pentium2 | pentiumiii | pentium3)
777
basic_machine=i686-pc
780
basic_machine=i786-pc
782
pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
737
783
basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
739
785
pentiumpro-* | p6-* | 6x86-* | athlon-*)
740
786
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
742
pentiumii-* | pentium2-*)
788
pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
743
789
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
792
basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
746
795
basic_machine=pn-gould
748
797
power) basic_machine=power-ibm
750
799
ppc) basic_machine=powerpc-unknown
752
801
ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
754
803
ppcle | powerpclittle | ppc-le | powerpc-little)
755
804
basic_machine=powerpcle-unknown
757
806
ppcle-* | powerpclittle-*)
758
807
basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
760
809
ppc64) basic_machine=powerpc64-unknown
762
811
ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
764
813
ppc64le | powerpc64little | ppc64-le | powerpc64-little)
765
814
basic_machine=powerpc64le-unknown
767
816
ppc64le-* | powerpc64little-*)
768
817
basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
1065
1131
| -chorusos* | -chorusrdb* \
1066
1132
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1067
1133
| -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
1068
| -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
1134
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1069
1135
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1070
1136
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1137
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1138
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1139
| -powermax* | -dnix* | -nx6 | -nx7 | -sei*)
1072
1140
# Remember, each alternative MUST END IN *, to match a version number.