~ubuntu-branches/ubuntu/natty/gnome-mplayer/natty

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Cesare Tirabassi
  • Date: 2009-06-06 19:49:50 UTC
  • mfrom: (1.1.16 upstream) (0.1.8 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090606194950-r2k3q5heupe2ewq4
Tags: 0.9.6-1
* New upstream release:
  - new media tracker and audio meter
  - new key "use_pulse_flat_volume" to be set if you are using
    Pulse Audio 0.9.15 (see /usr/share/doc/gnome-mplayer/NEWS.Debian.gz
    and /usr/share/doc/gnome-mplayer/changelog.gz for additional info)
  - workaround for opening files on smb shares (LP: #369426)
  - prevent adding an "empty" filename to the playlist (LP: #348864)
  - add new --large_buttons and --always_hide_after_timeout command
    line options to man page
  - update debian/copyright with the newly added upstream source files
  - upstream is now widely using libtool, which is causing rpath and
    dependancies issues. libtool is really not needed for such a simple
    case so it has been patched out in favour of static linking:
    + updated debian/patches/avoid_libtool.patch to patch configure.in
      and Makefile.am instead of directly Makefile.in
    + debian/rules:
      - patch is now applied in the configure target
      - add aclocal/autoconf/automake calls in the configure target
    + debian/control:
      add autoconf and automake as Build-Depends
  - add debian/NEWS
* Update debian/copyright in line with updated proposal specification
* Add patch description to avoid_libtool.patch (thanks lintian)
* Remove deprecated dh_desktop call
* Use new dh_quilt_patch and dh_quilt_unpatch commands
* No change bump of Standards-Version to 3.8.1
* Changed Section to video (and debug for the dbg binary), in line
  with the new sections recently added to the Debian archive
* Use LDFLAGS=-Wl,--as-needed instead of specifying manually all libraries

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Configuration validation subroutine script.
3
3
#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4
 
#   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
 
4
#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
 
5
#   Free Software Foundation, Inc.
5
6
 
6
 
timestamp='2003-06-18'
 
7
timestamp='2008-01-16'
7
8
 
8
9
# This file is (in principle) common to ALL GNU software.
9
10
# The presence of a machine in this file suggests that SOME GNU software
21
22
#
22
23
# You should have received a copy of the GNU General Public License
23
24
# along with this program; if not, write to the Free Software
24
 
# Foundation, Inc., 59 Temple Place - Suite 330,
25
 
# Boston, MA 02111-1307, USA.
26
 
 
 
25
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
 
26
# 02110-1301, USA.
 
27
#
27
28
# As a special exception to the GNU General Public License, if you
28
29
# distribute this file as part of a program that contains a
29
30
# configuration script generated by Autoconf, you may include it under
30
31
# the same distribution terms that you use for the rest of that program.
31
32
 
 
33
 
32
34
# Please send patches to <config-patches@gnu.org>.  Submit a context
33
35
# diff and a properly formatted ChangeLog entry.
34
36
#
70
72
version="\
71
73
GNU config.sub ($timestamp)
72
74
 
73
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
74
 
Free Software Foundation, Inc.
 
75
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
 
76
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
75
77
 
76
78
This is free software; see the source for copying conditions.  There is NO
77
79
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
83
85
while test $# -gt 0 ; do
84
86
  case $1 in
85
87
    --time-stamp | --time* | -t )
86
 
       echo "$timestamp" ; exit 0 ;;
 
88
       echo "$timestamp" ; exit ;;
87
89
    --version | -v )
88
 
       echo "$version" ; exit 0 ;;
 
90
       echo "$version" ; exit ;;
89
91
    --help | --h* | -h )
90
 
       echo "$usage"; exit 0 ;;
 
92
       echo "$usage"; exit ;;
91
93
    -- )     # Stop option processing
92
94
       shift; break ;;
93
95
    - ) # Use stdin as input.
99
101
    *local*)
100
102
       # First pass through any local machine types.
101
103
       echo $1
102
 
       exit 0;;
 
104
       exit ;;
103
105
 
104
106
    * )
105
107
       break ;;
118
120
# Here we must recognize all the valid KERNEL-OS combinations.
119
121
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
120
122
case $maybe_os in
121
 
  nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
 
123
  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
 
124
  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
 
125
  storm-chaos* | os2-emx* | rtmk-nova*)
122
126
    os=-$maybe_os
123
127
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
124
128
    ;;
144
148
        -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
145
149
        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
146
150
        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
147
 
        -apple | -axis)
 
151
        -apple | -axis | -knuth | -cray)
148
152
                os=
149
153
                basic_machine=$1
150
154
                ;;
169
173
        -hiux*)
170
174
                os=-hiuxwe2
171
175
                ;;
 
176
        -sco6)
 
177
                os=-sco5v6
 
178
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
 
179
                ;;
172
180
        -sco5)
173
181
                os=-sco3.2v5
174
182
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
185
193
                # Don't forget version if it is 3.2v4 or newer.
186
194
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
187
195
                ;;
 
196
        -sco5v6*)
 
197
                # Don't forget version if it is 3.2v4 or newer.
 
198
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
 
199
                ;;
188
200
        -sco*)
189
201
                os=-sco3.2v2
190
202
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
228
240
        | a29k \
229
241
        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
230
242
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
231
 
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
 
243
        | am33_2.0 \
 
244
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
 
245
        | bfin \
232
246
        | c4x | clipper \
233
247
        | d10v | d30v | dlx | dsp16xx \
234
 
        | fr30 | frv \
 
248
        | fido | fr30 | frv \
235
249
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
236
250
        | i370 | i860 | i960 | ia64 \
237
 
        | ip2k \
238
 
        | m32r | m68000 | m68k | m88k | mcore \
 
251
        | ip2k | iq2000 \
 
252
        | m32c | m32r | m32rle | m68000 | m68k | m88k \
 
253
        | maxq | mb | microblaze | mcore | mep \
239
254
        | mips | mipsbe | mipseb | mipsel | mipsle \
240
255
        | mips16 \
241
256
        | mips64 | mips64el \
244
259
        | mips64vr4100 | mips64vr4100el \
245
260
        | mips64vr4300 | mips64vr4300el \
246
261
        | mips64vr5000 | mips64vr5000el \
 
262
        | mips64vr5900 | mips64vr5900el \
247
263
        | mipsisa32 | mipsisa32el \
248
264
        | mipsisa32r2 | mipsisa32r2el \
249
265
        | mipsisa64 | mipsisa64el \
 
266
        | mipsisa64r2 | mipsisa64r2el \
250
267
        | mipsisa64sb1 | mipsisa64sb1el \
251
268
        | mipsisa64sr71k | mipsisa64sr71kel \
252
269
        | mipstx39 | mipstx39el \
253
270
        | mn10200 | mn10300 \
 
271
        | mt \
254
272
        | msp430 \
 
273
        | nios | nios2 \
255
274
        | ns16k | ns32k \
256
 
        | openrisc | or32 \
 
275
        | or32 \
257
276
        | pdp10 | pdp11 | pj | pjl \
258
277
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
259
278
        | pyramid \
260
 
        | s390 | s390x \
261
 
        | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
 
279
        | score \
 
280
        | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
262
281
        | sh64 | sh64le \
263
 
        | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \
264
 
        | strongarm \
 
282
        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
 
283
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
 
284
        | spu | strongarm \
265
285
        | tahoe | thumb | tic4x | tic80 | tron \
266
286
        | v850 | v850e \
267
287
        | we32k \
268
 
        | x86 | xscale | xstormy16 | xtensa \
 
288
        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
269
289
        | z8k)
270
290
                basic_machine=$basic_machine-unknown
271
291
                ;;
276
296
                ;;
277
297
        m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
278
298
                ;;
 
299
        ms1)
 
300
                basic_machine=mt-unknown
 
301
                ;;
279
302
 
280
303
        # We use `pc' rather than `unknown'
281
304
        # because (1) that's what they normally are, and
295
318
        | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
296
319
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
297
320
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
298
 
        | avr-* \
299
 
        | bs2000-* \
 
321
        | avr-* | avr32-* \
 
322
        | bfin-* | bs2000-* \
300
323
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
301
 
        | clipper-* | cydra-* \
 
324
        | clipper-* | craynv-* | cydra-* \
302
325
        | d10v-* | d30v-* | dlx-* \
303
326
        | elxsi-* \
304
 
        | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
 
327
        | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
305
328
        | h8300-* | h8500-* \
306
329
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
307
330
        | i*86-* | i860-* | i960-* | ia64-* \
308
 
        | ip2k-* \
309
 
        | m32r-* \
 
331
        | ip2k-* | iq2000-* \
 
332
        | m32c-* | m32r-* | m32rle-* \
310
333
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
311
 
        | m88110-* | m88k-* | mcore-* \
 
334
        | m88110-* | m88k-* | maxq-* | mcore-* \
312
335
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
313
336
        | mips16-* \
314
337
        | mips64-* | mips64el-* \
317
340
        | mips64vr4100-* | mips64vr4100el-* \
318
341
        | mips64vr4300-* | mips64vr4300el-* \
319
342
        | mips64vr5000-* | mips64vr5000el-* \
 
343
        | mips64vr5900-* | mips64vr5900el-* \
320
344
        | mipsisa32-* | mipsisa32el-* \
321
345
        | mipsisa32r2-* | mipsisa32r2el-* \
322
346
        | mipsisa64-* | mipsisa64el-* \
 
347
        | mipsisa64r2-* | mipsisa64r2el-* \
323
348
        | mipsisa64sb1-* | mipsisa64sb1el-* \
324
349
        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
325
350
        | mipstx39-* | mipstx39el-* \
 
351
        | mmix-* \
 
352
        | mt-* \
326
353
        | msp430-* \
327
 
        | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
 
354
        | nios-* | nios2-* \
 
355
        | none-* | np1-* | ns16k-* | ns32k-* \
328
356
        | orion-* \
329
357
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
330
358
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
331
359
        | pyramid-* \
332
360
        | romp-* | rs6000-* \
333
 
        | s390-* | s390x-* \
334
 
        | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
 
361
        | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
335
362
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
336
 
        | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
337
 
        | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
 
363
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
 
364
        | sparclite-* \
 
365
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
338
366
        | tahoe-* | thumb-* \
339
367
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
340
368
        | tron-* \
341
369
        | v850-* | v850e-* | vax-* \
342
370
        | we32k-* \
343
 
        | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
344
 
        | xtensa-* \
 
371
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
 
372
        | xstormy16-* | xtensa*-* \
345
373
        | ymp-* \
346
374
        | z8k-*)
347
375
                ;;
 
376
        # Recognize the basic CPU types without company name, with glob match.
 
377
        xtensa*)
 
378
                basic_machine=$basic_machine-unknown
 
379
                ;;
348
380
        # Recognize the various machine names and aliases which stand
349
381
        # for a CPU type and a company and sometimes even an OS.
350
382
        386bsd)
361
393
                basic_machine=a29k-amd
362
394
                os=-udi
363
395
                ;;
 
396
        abacus)
 
397
                basic_machine=abacus-unknown
 
398
                ;;
364
399
        adobe68k)
365
400
                basic_machine=m68010-adobe
366
401
                os=-scout
378
413
        amd64)
379
414
                basic_machine=x86_64-pc
380
415
                ;;
 
416
        amd64-*)
 
417
                basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
 
418
                ;;
381
419
        amdahl)
382
420
                basic_machine=580-amdahl
383
421
                os=-sysv
409
447
                basic_machine=ns32k-sequent
410
448
                os=-dynix
411
449
                ;;
 
450
        blackfin)
 
451
                basic_machine=bfin-unknown
 
452
                os=-linux
 
453
                ;;
 
454
        blackfin-*)
 
455
                basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
 
456
                os=-linux
 
457
                ;;
412
458
        c90)
413
459
                basic_machine=c90-cray
414
460
                os=-unicos
437
483
                basic_machine=j90-cray
438
484
                os=-unicos
439
485
                ;;
 
486
        craynv)
 
487
                basic_machine=craynv-cray
 
488
                os=-unicosmp
 
489
                ;;
 
490
        cr16)
 
491
                basic_machine=cr16-unknown
 
492
                os=-elf
 
493
                ;;
440
494
        crds | unos)
441
495
                basic_machine=m68k-crds
442
496
                ;;
 
497
        crisv32 | crisv32-* | etraxfs*)
 
498
                basic_machine=crisv32-axis
 
499
                ;;
443
500
        cris | cris-* | etrax*)
444
501
                basic_machine=cris-axis
445
502
                ;;
 
503
        crx)
 
504
                basic_machine=crx-unknown
 
505
                os=-elf
 
506
                ;;
446
507
        da30 | da30-*)
447
508
                basic_machine=m68k-da30
448
509
                ;;
465
526
                basic_machine=m88k-motorola
466
527
                os=-sysv3
467
528
                ;;
 
529
        djgpp)
 
530
                basic_machine=i586-pc
 
531
                os=-msdosdjgpp
 
532
                ;;
468
533
        dpx20 | dpx20-*)
469
534
                basic_machine=rs6000-bull
470
535
                os=-bosx
615
680
                basic_machine=m68k-isi
616
681
                os=-sysv
617
682
                ;;
 
683
        m68knommu)
 
684
                basic_machine=m68k-unknown
 
685
                os=-linux
 
686
                ;;
 
687
        m68knommu-*)
 
688
                basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
 
689
                os=-linux
 
690
                ;;
618
691
        m88k-omron*)
619
692
                basic_machine=m88k-omron
620
693
                ;;
630
703
                basic_machine=i386-pc
631
704
                os=-mingw32
632
705
                ;;
 
706
        mingw32ce)
 
707
                basic_machine=arm-unknown
 
708
                os=-mingw32ce
 
709
                ;;
633
710
        miniframe)
634
711
                basic_machine=m68000-convergent
635
712
                ;;
643
720
        mips3*)
644
721
                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
645
722
                ;;
646
 
        mmix*)
647
 
                basic_machine=mmix-knuth
648
 
                os=-mmixware
649
 
                ;;
650
723
        monitor)
651
724
                basic_machine=m68k-rom68k
652
725
                os=-coff
659
732
                basic_machine=i386-pc
660
733
                os=-msdos
661
734
                ;;
 
735
        ms1-*)
 
736
                basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
 
737
                ;;
662
738
        mvs)
663
739
                basic_machine=i370-ibm
664
740
                os=-mvs
727
803
        np1)
728
804
                basic_machine=np1-gould
729
805
                ;;
730
 
        nv1)
731
 
                basic_machine=nv1-cray
732
 
                os=-unicosmp
733
 
                ;;
734
806
        nsr-tandem)
735
807
                basic_machine=nsr-tandem
736
808
                ;;
738
810
                basic_machine=hppa1.1-oki
739
811
                os=-proelf
740
812
                ;;
741
 
        or32 | or32-*)
 
813
        openrisc | openrisc-*)
742
814
                basic_machine=or32-unknown
743
 
                os=-coff
 
815
                ;;
 
816
        os400)
 
817
                basic_machine=powerpc-ibm
 
818
                os=-os400
744
819
                ;;
745
820
        OSE68000 | ose68000)
746
821
                basic_machine=m68000-ericsson
758
833
                basic_machine=i860-intel
759
834
                os=-osf
760
835
                ;;
 
836
        parisc)
 
837
                basic_machine=hppa-unknown
 
838
                os=-linux
 
839
                ;;
 
840
        parisc-*)
 
841
                basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
 
842
                os=-linux
 
843
                ;;
761
844
        pbd)
762
845
                basic_machine=sparc-tti
763
846
                ;;
767
850
        pc532 | pc532-*)
768
851
                basic_machine=ns32k-pc532
769
852
                ;;
 
853
        pc98)
 
854
                basic_machine=i386-pc
 
855
                ;;
 
856
        pc98-*)
 
857
                basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
 
858
                ;;
770
859
        pentium | p5 | k5 | k6 | nexgen | viac3)
771
860
                basic_machine=i586-pc
772
861
                ;;
823
912
                basic_machine=i586-unknown
824
913
                os=-pw32
825
914
                ;;
 
915
        rdos)
 
916
                basic_machine=i386-pc
 
917
                os=-rdos
 
918
                ;;
826
919
        rom68k)
827
920
                basic_machine=m68k-rom68k
828
921
                os=-coff
833
926
        rtpc | rtpc-*)
834
927
                basic_machine=romp-ibm
835
928
                ;;
 
929
        s390 | s390-*)
 
930
                basic_machine=s390-ibm
 
931
                ;;
 
932
        s390x | s390x-*)
 
933
                basic_machine=s390x-ibm
 
934
                ;;
836
935
        sa29200)
837
936
                basic_machine=a29k-amd
838
937
                os=-udi
843
942
        sb1el)
844
943
                basic_machine=mipsisa64sb1el-unknown
845
944
                ;;
 
945
        sde)
 
946
                basic_machine=mipsisa32-sde
 
947
                os=-elf
 
948
                ;;
846
949
        sei)
847
950
                basic_machine=mips-sei
848
951
                os=-seiux
854
957
                basic_machine=sh-hitachi
855
958
                os=-hms
856
959
                ;;
 
960
        sh5el)
 
961
                basic_machine=sh5le-unknown
 
962
                ;;
857
963
        sh64)
858
964
                basic_machine=sh64-unknown
859
965
                ;;
943
1049
                basic_machine=tic6x-unknown
944
1050
                os=-coff
945
1051
                ;;
 
1052
        tile*)
 
1053
                basic_machine=tile-unknown
 
1054
                os=-linux-gnu
 
1055
                ;;
946
1056
        tx39)
947
1057
                basic_machine=mipstx39-unknown
948
1058
                ;;
956
1066
        tower | tower-32)
957
1067
                basic_machine=m68k-ncr
958
1068
                ;;
 
1069
        tpf)
 
1070
                basic_machine=s390x-ibm
 
1071
                os=-tpf
 
1072
                ;;
959
1073
        udi29k)
960
1074
                basic_machine=a29k-amd
961
1075
                os=-udi
999
1113
                basic_machine=hppa1.1-winbond
1000
1114
                os=-proelf
1001
1115
                ;;
 
1116
        xbox)
 
1117
                basic_machine=i686-pc
 
1118
                os=-mingw32
 
1119
                ;;
1002
1120
        xps | xps100)
1003
1121
                basic_machine=xps100-honeywell
1004
1122
                ;;
1029
1147
        romp)
1030
1148
                basic_machine=romp-ibm
1031
1149
                ;;
 
1150
        mmix)
 
1151
                basic_machine=mmix-knuth
 
1152
                ;;
1032
1153
        rs6000)
1033
1154
                basic_machine=rs6000-ibm
1034
1155
                ;;
1045
1166
        we32k)
1046
1167
                basic_machine=we32k-att
1047
1168
                ;;
1048
 
        sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
 
1169
        sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
1049
1170
                basic_machine=sh-unknown
1050
1171
                ;;
1051
 
        sh64)
1052
 
                basic_machine=sh64-unknown
1053
 
                ;;
1054
 
        sparc | sparcv8 | sparcv9 | sparcv9b)
 
1172
        sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
1055
1173
                basic_machine=sparc-sun
1056
1174
                ;;
1057
1175
        cydra)
1124
1242
              | -aos* \
1125
1243
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1126
1244
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1127
 
              | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
1128
 
              | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
 
1245
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
 
1246
              | -openbsd* | -solidbsd* \
 
1247
              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
 
1248
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1129
1249
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1130
1250
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1131
1251
              | -chorusos* | -chorusrdb* \
1132
1252
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1133
 
              | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
 
1253
              | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
 
1254
              | -uxpv* | -beos* | -mpeix* | -udk* \
1134
1255
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1135
1256
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1136
1257
              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1137
1258
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1138
1259
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1139
 
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei*)
 
1260
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
 
1261
              | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
1140
1262
        # Remember, each alternative MUST END IN *, to match a version number.
1141
1263
                ;;
1142
1264
        -qnx*)
1154
1276
                os=`echo $os | sed -e 's|nto|nto-qnx|'`
1155
1277
                ;;
1156
1278
        -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1157
 
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
 
1279
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
1158
1280
              | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
1159
1281
                ;;
1160
1282
        -mac*)
1161
1283
                os=`echo $os | sed -e 's|mac|macos|'`
1162
1284
                ;;
 
1285
        -linux-dietlibc)
 
1286
                os=-linux-dietlibc
 
1287
                ;;
1163
1288
        -linux*)
1164
1289
                os=`echo $os | sed -e 's|linux|linux-gnu|'`
1165
1290
                ;;
1172
1297
        -opened*)
1173
1298
                os=-openedition
1174
1299
                ;;
 
1300
        -os400*)
 
1301
                os=-os400
 
1302
                ;;
1175
1303
        -wince*)
1176
1304
                os=-wince
1177
1305
                ;;
1193
1321
        -atheos*)
1194
1322
                os=-atheos
1195
1323
                ;;
 
1324
        -syllable*)
 
1325
                os=-syllable
 
1326
                ;;
1196
1327
        -386bsd)
1197
1328
                os=-bsd
1198
1329
                ;;
1215
1346
        -sinix*)
1216
1347
                os=-sysv4
1217
1348
                ;;
 
1349
        -tpf*)
 
1350
                os=-tpf
 
1351
                ;;
1218
1352
        -triton*)
1219
1353
                os=-sysv3
1220
1354
                ;;
1251
1385
        -kaos*)
1252
1386
                os=-kaos
1253
1387
                ;;
 
1388
        -zvmoe)
 
1389
                os=-zvmoe
 
1390
                ;;
1254
1391
        -none)
1255
1392
                ;;
1256
1393
        *)
1273
1410
# system, and we'll never get to this point.
1274
1411
 
1275
1412
case $basic_machine in
 
1413
        score-*)
 
1414
                os=-elf
 
1415
                ;;
 
1416
        spu-*)
 
1417
                os=-elf
 
1418
                ;;
1276
1419
        *-acorn)
1277
1420
                os=-riscix1.2
1278
1421
                ;;
1282
1425
        arm*-semi)
1283
1426
                os=-aout
1284
1427
                ;;
1285
 
        c4x-* | tic4x-*)
1286
 
                os=-coff
 
1428
        c4x-* | tic4x-*)
 
1429
                os=-coff
1287
1430
                ;;
1288
1431
        # This must come before the *-dec entry.
1289
1432
        pdp10-*)
1310
1453
        m68*-cisco)
1311
1454
                os=-aout
1312
1455
                ;;
 
1456
        mep-*)
 
1457
                os=-elf
 
1458
                ;;
1313
1459
        mips*-cisco)
1314
1460
                os=-elf
1315
1461
                ;;
1328
1474
        *-be)
1329
1475
                os=-beos
1330
1476
                ;;
 
1477
        *-haiku)
 
1478
                os=-haiku
 
1479
                ;;
1331
1480
        *-ibm)
1332
1481
                os=-aix
1333
1482
                ;;
 
1483
        *-knuth)
 
1484
                os=-mmixware
 
1485
                ;;
1334
1486
        *-wec)
1335
1487
                os=-proelf
1336
1488
                ;;
1463
1615
                        -mvs* | -opened*)
1464
1616
                                vendor=ibm
1465
1617
                                ;;
 
1618
                        -os400*)
 
1619
                                vendor=ibm
 
1620
                                ;;
1466
1621
                        -ptx*)
1467
1622
                                vendor=sequent
1468
1623
                                ;;
 
1624
                        -tpf*)
 
1625
                                vendor=ibm
 
1626
                                ;;
1469
1627
                        -vxsim* | -vxworks* | -windiss*)
1470
1628
                                vendor=wrs
1471
1629
                                ;;
1490
1648
esac
1491
1649
 
1492
1650
echo $basic_machine$os
1493
 
exit 0
 
1651
exit
1494
1652
 
1495
1653
# Local variables:
1496
1654
# eval: (add-hook 'write-file-hooks 'time-stamp)