~ubuntu-branches/ubuntu/lucid/libdebian-installer/lucid

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson, Sven Luther
  • Date: 2005-11-14 18:58:35 UTC
  • Revision ID: james.westby@ubuntu.com-20051114185835-799nwvo0dviy16qa
Tags: 0.36
[ Sven Luther ]
No need to list CHRP IBM models explicitly, as this breaks with models we
don't know about or newer models, which is unnecessary. (Closes: #338045)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4
4
#   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
5
5
 
6
 
timestamp='2005-04-22'
 
6
timestamp='2005-07-08'
7
7
 
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
21
21
#
22
22
# You should have received a copy of the GNU General Public License
23
23
# 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
 
 
 
24
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
 
25
# 02110-1301, USA.
 
26
#
27
27
# As a special exception to the GNU General Public License, if you
28
28
# distribute this file as part of a program that contains a
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.
31
31
 
 
32
 
32
33
# Please send patches to <config-patches@gnu.org>.  Submit a context
33
34
# diff and a properly formatted ChangeLog entry.
34
35
#
83
84
while test $# -gt 0 ; do
84
85
  case $1 in
85
86
    --time-stamp | --time* | -t )
86
 
       echo "$timestamp" ; exit 0 ;;
 
87
       echo "$timestamp" ; exit ;;
87
88
    --version | -v )
88
 
       echo "$version" ; exit 0 ;;
 
89
       echo "$version" ; exit ;;
89
90
    --help | --h* | -h )
90
 
       echo "$usage"; exit 0 ;;
 
91
       echo "$usage"; exit ;;
91
92
    -- )     # Stop option processing
92
93
       shift; break ;;
93
94
    - ) # Use stdin as input.
99
100
    *local*)
100
101
       # First pass through any local machine types.
101
102
       echo $1
102
 
       exit 0;;
 
103
       exit ;;
103
104
 
104
105
    * )
105
106
       break ;;
247
248
        | mips64vr4100 | mips64vr4100el \
248
249
        | mips64vr4300 | mips64vr4300el \
249
250
        | mips64vr5000 | mips64vr5000el \
 
251
        | mips64vr5900 | mips64vr5900el \
250
252
        | mipsisa32 | mipsisa32el \
251
253
        | mipsisa32r2 | mipsisa32r2el \
252
254
        | mipsisa64 | mipsisa64el \
255
257
        | mipsisa64sr71k | mipsisa64sr71kel \
256
258
        | mipstx39 | mipstx39el \
257
259
        | mn10200 | mn10300 \
 
260
        | ms1 \
258
261
        | msp430 \
259
262
        | ns16k | ns32k \
260
 
        | openrisc | or32 \
 
263
        | or32 \
261
264
        | pdp10 | pdp11 | pj | pjl \
262
265
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
263
266
        | pyramid \
264
 
        | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
 
267
        | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
265
268
        | sh64 | sh64le \
266
269
        | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
267
270
        | sparcv8 | sparcv9 | sparcv9b \
273
276
        | z8k)
274
277
                basic_machine=$basic_machine-unknown
275
278
                ;;
 
279
        m32c)
 
280
                basic_machine=$basic_machine-unknown
 
281
                ;;
276
282
        m6811 | m68hc11 | m6812 | m68hc12)
277
283
                # Motorola 68HC11/12.
278
284
                basic_machine=$basic_machine-unknown
321
327
        | mips64vr4100-* | mips64vr4100el-* \
322
328
        | mips64vr4300-* | mips64vr4300el-* \
323
329
        | mips64vr5000-* | mips64vr5000el-* \
 
330
        | mips64vr5900-* | mips64vr5900el-* \
324
331
        | mipsisa32-* | mipsisa32el-* \
325
332
        | mipsisa32r2-* | mipsisa32r2el-* \
326
333
        | mipsisa64-* | mipsisa64el-* \
329
336
        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
330
337
        | mipstx39-* | mipstx39el-* \
331
338
        | mmix-* \
 
339
        | ms1-* \
332
340
        | msp430-* \
333
341
        | none-* | np1-* | ns16k-* | ns32k-* \
334
342
        | orion-* \
336
344
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
337
345
        | pyramid-* \
338
346
        | romp-* | rs6000-* \
339
 
        | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
 
347
        | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \
340
348
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
341
349
        | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
342
350
        | sparclite-* \
351
359
        | ymp-* \
352
360
        | z8k-*)
353
361
                ;;
 
362
        m32c-*)
 
363
                ;;
354
364
        # Recognize the various machine names and aliases which stand
355
365
        # for a CPU type and a company and sometimes even an OS.
356
366
        386bsd)
761
771
                basic_machine=hppa1.1-oki
762
772
                os=-proelf
763
773
                ;;
764
 
        or32 | or32-*)
 
774
        openrisc | openrisc-*)
765
775
                basic_machine=or32-unknown
766
 
                os=-coff
767
776
                ;;
768
777
        os400)
769
778
                basic_machine=powerpc-ibm
1089
1098
        we32k)
1090
1099
                basic_machine=we32k-att
1091
1100
                ;;
1092
 
        sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
 
1101
        sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
1093
1102
                basic_machine=sh-unknown
1094
1103
                ;;
1095
 
        sh64)
1096
 
                basic_machine=sh64-unknown
1097
 
                ;;
1098
1104
        sparc | sparcv8 | sparcv9 | sparcv9b)
1099
1105
                basic_machine=sparc-sun
1100
1106
                ;;
1181
1187
              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1182
1188
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1183
1189
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1184
 
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
 
1190
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
 
1191
              | -skyos* | -haiku*)
1185
1192
        # Remember, each alternative MUST END IN *, to match a version number.
1186
1193
                ;;
1187
1194
        -qnx*)
1199
1206
                os=`echo $os | sed -e 's|nto|nto-qnx|'`
1200
1207
                ;;
1201
1208
        -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1202
 
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
 
1209
              | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
1203
1210
              | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
1204
1211
                ;;
1205
1212
        -mac*)
1388
1395
        *-be)
1389
1396
                os=-beos
1390
1397
                ;;
 
1398
        *-haiku)
 
1399
                os=-haiku
 
1400
                ;;
1391
1401
        *-ibm)
1392
1402
                os=-aix
1393
1403
                ;;
1559
1569
esac
1560
1570
 
1561
1571
echo $basic_machine$os
1562
 
exit 0
 
1572
exit
1563
1573
 
1564
1574
# Local variables:
1565
1575
# eval: (add-hook 'write-file-hooks 'time-stamp)