OLD | NEW |
1 #! /bin/sh | 1 #! /bin/sh |
2 # Configuration validation subroutine script. | 2 # Configuration validation subroutine script. |
3 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, | 3 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
4 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, | 4 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, |
5 # 2011 Free Software Foundation, Inc. | 5 # 2011 Free Software Foundation, Inc. |
6 | 6 |
7 timestamp='2011-11-02' | 7 timestamp='2011-11-02' |
8 | 8 |
9 # This file is (in principle) common to ALL GNU software. | 9 # This file is (in principle) common to ALL GNU software. |
10 # The presence of a machine in this file suggests that SOME GNU software | 10 # The presence of a machine in this file suggests that SOME GNU software |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 -windowsnt*) | 232 -windowsnt*) |
233 os=`echo $os | sed -e 's/windowsnt/winnt/'` | 233 os=`echo $os | sed -e 's/windowsnt/winnt/'` |
234 ;; | 234 ;; |
235 -psos*) | 235 -psos*) |
236 os=-psos | 236 os=-psos |
237 ;; | 237 ;; |
238 -mint | -mint[0-9]*) | 238 -mint | -mint[0-9]*) |
239 basic_machine=m68k-atari | 239 basic_machine=m68k-atari |
240 os=-mint | 240 os=-mint |
241 ;; | 241 ;; |
| 242 -nacl*) |
| 243 basic_machine=i686-pc |
| 244 os=-nacl |
| 245 ;; |
242 esac | 246 esac |
243 | 247 |
244 # Decode aliases for certain CPU-COMPANY combinations. | 248 # Decode aliases for certain CPU-COMPANY combinations. |
245 case $basic_machine in | 249 case $basic_machine in |
246 # Recognize the basic CPU types without company name. | 250 # Recognize the basic CPU types without company name. |
247 # Some are omitted here because they have special meanings below. | 251 # Some are omitted here because they have special meanings below. |
248 1750a | 580 \ | 252 1750a | 580 \ |
249 | a29k \ | 253 | a29k \ |
250 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | 254 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ |
251 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[
67] \ | 255 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[
67] \ |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
341 xscaleel) | 345 xscaleel) |
342 basic_machine=armel-unknown | 346 basic_machine=armel-unknown |
343 ;; | 347 ;; |
344 | 348 |
345 # We use `pc' rather than `unknown' | 349 # We use `pc' rather than `unknown' |
346 # because (1) that's what they normally are, and | 350 # because (1) that's what they normally are, and |
347 # (2) the word "unknown" tends to confuse beginning users. | 351 # (2) the word "unknown" tends to confuse beginning users. |
348 i*86 | x86_64) | 352 i*86 | x86_64) |
349 basic_machine=$basic_machine-pc | 353 basic_machine=$basic_machine-pc |
350 ;; | 354 ;; |
| 355 nacl64*) |
| 356 basic_machine=x86_64-pc |
| 357 os=-nacl |
| 358 ;; |
| 359 nacl*) |
| 360 basic_machine=i686-pc |
| 361 os=-nacl |
| 362 ;; |
351 # Object if more than one company name word. | 363 # Object if more than one company name word. |
352 *-*-*) | 364 *-*-*) |
353 echo Invalid configuration \`$1\': machine \`$basic_machine\' no
t recognized 1>&2 | 365 echo Invalid configuration \`$1\': machine \`$basic_machine\' no
t recognized 1>&2 |
354 exit 1 | 366 exit 1 |
355 ;; | 367 ;; |
356 # Recognize the basic CPU types with company name. | 368 # Recognize the basic CPU types with company name. |
357 580-* \ | 369 580-* \ |
358 | a29k-* \ | 370 | a29k-* \ |
359 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | 371 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ |
360 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | 372 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ |
(...skipping 998 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1359 ;; | 1371 ;; |
1360 -qnx*) | 1372 -qnx*) |
1361 case $basic_machine in | 1373 case $basic_machine in |
1362 x86-* | i*86-*) | 1374 x86-* | i*86-*) |
1363 ;; | 1375 ;; |
1364 *) | 1376 *) |
1365 os=-nto$os | 1377 os=-nto$os |
1366 ;; | 1378 ;; |
1367 esac | 1379 esac |
1368 ;; | 1380 ;; |
| 1381 -nacl*) |
| 1382 os=-nacl |
| 1383 ;; |
1369 -nto-qnx*) | 1384 -nto-qnx*) |
1370 ;; | 1385 ;; |
1371 -nto*) | 1386 -nto*) |
1372 os=`echo $os | sed -e 's|nto|nto-qnx|'` | 1387 os=`echo $os | sed -e 's|nto|nto-qnx|'` |
1373 ;; | 1388 ;; |
1374 -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | 1389 -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ |
1375 | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku*
\ | 1390 | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku*
\ |
1376 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) | 1391 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) |
1377 ;; | 1392 ;; |
1378 -mac*) | 1393 -mac*) |
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1759 | 1774 |
1760 echo $basic_machine$os | 1775 echo $basic_machine$os |
1761 exit | 1776 exit |
1762 | 1777 |
1763 # Local variables: | 1778 # Local variables: |
1764 # eval: (add-hook 'write-file-hooks 'time-stamp) | 1779 # eval: (add-hook 'write-file-hooks 'time-stamp) |
1765 # time-stamp-start: "timestamp='" | 1780 # time-stamp-start: "timestamp='" |
1766 # time-stamp-format: "%:y-%02m-%02d" | 1781 # time-stamp-format: "%:y-%02m-%02d" |
1767 # time-stamp-end: "'" | 1782 # time-stamp-end: "'" |
1768 # End: | 1783 # End: |
OLD | NEW |