This contains my bachelors thesis and associated tex files, code snippets and maybe more. Topic: Data Movement in Heterogeneous Memories with Intel Data Streaming Accelerator
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1469 lines
29 KiB

  1. #! /bin/sh
  2. # Configuration validation subroutine script.
  3. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
  4. # 2000, 2001, 2002 Free Software Foundation, Inc.
  5. timestamp='2002-11-30'
  6. # This file is (in principle) common to ALL GNU software.
  7. # The presence of a machine in this file suggests that SOME GNU software
  8. # can handle that machine. It does not imply ALL GNU software can.
  9. #
  10. # This file is free software; you can redistribute it and/or modify
  11. # it under the terms of the GNU General Public License as published by
  12. # the Free Software Foundation; either version 2 of the License, or
  13. # (at your option) any later version.
  14. #
  15. # This program is distributed in the hope that it will be useful,
  16. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  18. # GNU General Public License for more details.
  19. #
  20. # You should have received a copy of the GNU General Public License
  21. # along with this program; if not, write to the Free Software
  22. # Foundation, Inc., 59 Temple Place - Suite 330,
  23. # Boston, MA 02111-1307, USA.
  24. # As a special exception to the GNU General Public License, if you
  25. # distribute this file as part of a program that contains a
  26. # configuration script generated by Autoconf, you may include it under
  27. # the same distribution terms that you use for the rest of that program.
  28. # Please send patches to <config-patches@gnu.org>. Submit a context
  29. # diff and a properly formatted ChangeLog entry.
  30. #
  31. # Configuration subroutine to validate and canonicalize a configuration type.
  32. # Supply the specified configuration type as an argument.
  33. # If it is invalid, we print an error message on stderr and exit with code 1.
  34. # Otherwise, we print the canonical config type on stdout and succeed.
  35. # This file is supposed to be the same for all GNU packages
  36. # and recognize all the CPU types, system types and aliases
  37. # that are meaningful with *any* GNU software.
  38. # Each package is responsible for reporting which valid configurations
  39. # it does not support. The user should be able to distinguish
  40. # a failure to support a valid configuration from a meaningless
  41. # configuration.
  42. # The goal of this file is to map all the various variations of a given
  43. # machine specification into a single specification in the form:
  44. # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
  45. # or in some cases, the newer four-part form:
  46. # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
  47. # It is wrong to echo any other type of specification.
  48. me=`echo "$0" | sed -e 's,.*/,,'`
  49. usage="\
  50. Usage: $0 [OPTION] CPU-MFR-OPSYS
  51. $0 [OPTION] ALIAS
  52. Canonicalize a configuration name.
  53. Operation modes:
  54. -h, --help print this help, then exit
  55. -t, --time-stamp print date of last modification, then exit
  56. -v, --version print version number, then exit
  57. Report bugs and patches to <config-patches@gnu.org>."
  58. version="\
  59. GNU config.sub ($timestamp)
  60. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
  61. Free Software Foundation, Inc.
  62. This is free software; see the source for copying conditions. There is NO
  63. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
  64. help="
  65. Try \`$me --help' for more information."
  66. # Parse command line
  67. while test $# -gt 0 ; do
  68. case $1 in
  69. --time-stamp | --time* | -t )
  70. echo "$timestamp" ; exit 0 ;;
  71. --version | -v )
  72. echo "$version" ; exit 0 ;;
  73. --help | --h* | -h )
  74. echo "$usage"; exit 0 ;;
  75. -- ) # Stop option processing
  76. shift; break ;;
  77. - ) # Use stdin as input.
  78. break ;;
  79. -* )
  80. echo "$me: invalid option $1$help"
  81. exit 1 ;;
  82. *local*)
  83. # First pass through any local machine types.
  84. echo $1
  85. exit 0;;
  86. * )
  87. break ;;
  88. esac
  89. done
  90. case $# in
  91. 0) echo "$me: missing argument$help" >&2
  92. exit 1;;
  93. 1) ;;
  94. *) echo "$me: too many arguments$help" >&2
  95. exit 1;;
  96. esac
  97. # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
  98. # Here we must recognize all the valid KERNEL-OS combinations.
  99. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
  100. case $maybe_os in
  101. nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
  102. os=-$maybe_os
  103. basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
  104. ;;
  105. *)
  106. basic_machine=`echo $1 | sed 's/-[^-]*$//'`
  107. if [ $basic_machine != $1 ]
  108. then os=`echo $1 | sed 's/.*-/-/'`
  109. else os=; fi
  110. ;;
  111. esac
  112. ### Let's recognize common machines as not being operating systems so
  113. ### that things like config.sub decstation-3100 work. We also
  114. ### recognize some manufacturers as not being operating systems, so we
  115. ### can provide default operating systems below.
  116. case $os in
  117. -sun*os*)
  118. # Prevent following clause from handling this invalid input.
  119. ;;
  120. -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
  121. -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
  122. -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
  123. -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
  124. -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
  125. -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
  126. -apple | -axis)
  127. os=
  128. basic_machine=$1
  129. ;;
  130. -sim | -cisco | -oki | -wec | -winbond)
  131. os=
  132. basic_machine=$1
  133. ;;
  134. -scout)
  135. ;;
  136. -wrs)
  137. os=-vxworks
  138. basic_machine=$1
  139. ;;
  140. -chorusos*)
  141. os=-chorusos
  142. basic_machine=$1
  143. ;;
  144. -chorusrdb)
  145. os=-chorusrdb
  146. basic_machine=$1
  147. ;;
  148. -hiux*)
  149. os=-hiuxwe2
  150. ;;
  151. -sco5)
  152. os=-sco3.2v5
  153. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  154. ;;
  155. -sco4)
  156. os=-sco3.2v4
  157. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  158. ;;
  159. -sco3.2.[4-9]*)
  160. os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
  161. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  162. ;;
  163. -sco3.2v[4-9]*)
  164. # Don't forget version if it is 3.2v4 or newer.
  165. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  166. ;;
  167. -sco*)
  168. os=-sco3.2v2
  169. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  170. ;;
  171. -udk*)
  172. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  173. ;;
  174. -isc)
  175. os=-isc2.2
  176. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  177. ;;
  178. -clix*)
  179. basic_machine=clipper-intergraph
  180. ;;
  181. -isc*)
  182. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  183. ;;
  184. -lynx*)
  185. os=-lynxos
  186. ;;
  187. -ptx*)
  188. basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
  189. ;;
  190. -windowsnt*)
  191. os=`echo $os | sed -e 's/windowsnt/winnt/'`
  192. ;;
  193. -psos*)
  194. os=-psos
  195. ;;
  196. -mint | -mint[0-9]*)
  197. basic_machine=m68k-atari
  198. os=-mint
  199. ;;
  200. esac
  201. # Decode aliases for certain CPU-COMPANY combinations.
  202. case $basic_machine in
  203. # Recognize the basic CPU types without company name.
  204. # Some are omitted here because they have special meanings below.
  205. 1750a | 580 \
  206. | a29k \
  207. | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
  208. | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
  209. | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
  210. | clipper \
  211. | d10v | d30v | dlx | dsp16xx \
  212. | fr30 | frv \
  213. | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
  214. | i370 | i860 | i960 | ia64 \
  215. | ip2k \
  216. | m32r | m68000 | m68k | m88k | mcore \
  217. | mips | mipsbe | mipseb | mipsel | mipsle \
  218. | mips16 \
  219. | mips64 | mips64el \
  220. | mips64vr | mips64vrel \
  221. | mips64orion | mips64orionel \
  222. | mips64vr4100 | mips64vr4100el \
  223. | mips64vr4300 | mips64vr4300el \
  224. | mips64vr5000 | mips64vr5000el \
  225. | mipsisa32 | mipsisa32el \
  226. | mipsisa64 | mipsisa64el \
  227. | mipsisa64sb1 | mipsisa64sb1el \
  228. | mipsisa64sr71k | mipsisa64sr71kel \
  229. | mipstx39 | mipstx39el \
  230. | mn10200 | mn10300 \
  231. | ns16k | ns32k \
  232. | openrisc | or32 \
  233. | pdp10 | pdp11 | pj | pjl \
  234. | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
  235. | pyramid \
  236. | sh | sh[1234] | sh3e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
  237. | sh64 | sh64le \
  238. | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
  239. | strongarm \
  240. | tahoe | thumb | tic80 | tron \
  241. | v850 | v850e \
  242. | we32k \
  243. | x86 | xscale | xstormy16 | xtensa \
  244. | z8k)
  245. basic_machine=$basic_machine-unknown
  246. ;;
  247. m6811 | m68hc11 | m6812 | m68hc12)
  248. # Motorola 68HC11/12.
  249. basic_machine=$basic_machine-unknown
  250. os=-none
  251. ;;
  252. m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
  253. ;;
  254. # We use `pc' rather than `unknown'
  255. # because (1) that's what they normally are, and
  256. # (2) the word "unknown" tends to confuse beginning users.
  257. i*86 | x86_64)
  258. basic_machine=$basic_machine-pc
  259. ;;
  260. # Object if more than one company name word.
  261. *-*-*)
  262. echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
  263. exit 1
  264. ;;
  265. # Recognize the basic CPU types with company name.
  266. 580-* \
  267. | a29k-* \
  268. | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
  269. | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
  270. | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
  271. | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
  272. | avr-* \
  273. | bs2000-* \
  274. | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* \
  275. | clipper-* | cydra-* \
  276. | d10v-* | d30v-* | dlx-* \
  277. | elxsi-* \
  278. | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
  279. | h8300-* | h8500-* \
  280. | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
  281. | i*86-* | i860-* | i960-* | ia64-* \
  282. | ip2k-* \
  283. | m32r-* \
  284. | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
  285. | m88110-* | m88k-* | mcore-* \
  286. | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
  287. | mips16-* \
  288. | mips64-* | mips64el-* \
  289. | mips64vr-* | mips64vrel-* \
  290. | mips64orion-* | mips64orionel-* \
  291. | mips64vr4100-* | mips64vr4100el-* \
  292. | mips64vr4300-* | mips64vr4300el-* \
  293. | mips64vr5000-* | mips64vr5000el-* \
  294. | mipsisa32-* | mipsisa32el-* \
  295. | mipsisa64-* | mipsisa64el-* \
  296. | mipsisa64sb1-* | mipsisa64sb1el-* \
  297. | mipsisa64sr71k-* | mipsisa64sr71kel-* \
  298. | mipstx39 | mipstx39el \
  299. | none-* | np1-* | ns16k-* | ns32k-* \
  300. | orion-* \
  301. | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
  302. | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
  303. | pyramid-* \
  304. | romp-* | rs6000-* \
  305. | sh-* | sh[1234]-* | sh3e-* | sh[34]eb-* | shbe-* \
  306. | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
  307. | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
  308. | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
  309. | tahoe-* | thumb-* | tic30-* | tic4x-* | tic54x-* | tic80-* | tron-* \
  310. | v850-* | v850e-* | vax-* \
  311. | we32k-* \
  312. | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
  313. | xtensa-* \
  314. | ymp-* \
  315. | z8k-*)
  316. ;;
  317. # Recognize the various machine names and aliases which stand
  318. # for a CPU type and a company and sometimes even an OS.
  319. 386bsd)
  320. basic_machine=i386-unknown
  321. os=-bsd
  322. ;;
  323. 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
  324. basic_machine=m68000-att
  325. ;;
  326. 3b*)
  327. basic_machine=we32k-att
  328. ;;
  329. a29khif)
  330. basic_machine=a29k-amd
  331. os=-udi
  332. ;;
  333. adobe68k)
  334. basic_machine=m68010-adobe
  335. os=-scout
  336. ;;
  337. alliant | fx80)
  338. basic_machine=fx80-alliant
  339. ;;
  340. altos | altos3068)
  341. basic_machine=m68k-altos
  342. ;;
  343. am29k)
  344. basic_machine=a29k-none
  345. os=-bsd
  346. ;;
  347. amdahl)
  348. basic_machine=580-amdahl
  349. os=-sysv
  350. ;;
  351. amiga | amiga-*)
  352. basic_machine=m68k-unknown
  353. ;;
  354. amigaos | amigados)
  355. basic_machine=m68k-unknown
  356. os=-amigaos
  357. ;;
  358. amigaunix | amix)
  359. basic_machine=m68k-unknown
  360. os=-sysv4
  361. ;;
  362. apollo68)
  363. basic_machine=m68k-apollo
  364. os=-sysv
  365. ;;
  366. apollo68bsd)
  367. basic_machine=m68k-apollo
  368. os=-bsd
  369. ;;
  370. aux)
  371. basic_machine=m68k-apple
  372. os=-aux
  373. ;;
  374. balance)
  375. basic_machine=ns32k-sequent
  376. os=-dynix
  377. ;;
  378. c90)
  379. basic_machine=c90-cray
  380. os=-unicos
  381. ;;
  382. convex-c1)
  383. basic_machine=c1-convex
  384. os=-bsd
  385. ;;
  386. convex-c2)
  387. basic_machine=c2-convex
  388. os=-bsd
  389. ;;
  390. convex-c32)
  391. basic_machine=c32-convex
  392. os=-bsd
  393. ;;
  394. convex-c34)
  395. basic_machine=c34-convex
  396. os=-bsd
  397. ;;
  398. convex-c38)
  399. basic_machine=c38-convex
  400. os=-bsd
  401. ;;
  402. cray | j90)
  403. basic_machine=j90-cray
  404. os=-unicos
  405. ;;
  406. crds | unos)
  407. basic_machine=m68k-crds
  408. ;;
  409. cris | cris-* | etrax*)
  410. basic_machine=cris-axis
  411. ;;
  412. da30 | da30-*)
  413. basic_machine=m68k-da30
  414. ;;
  415. decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
  416. basic_machine=mips-dec
  417. ;;
  418. decsystem10* | dec10*)
  419. basic_machine=pdp10-dec
  420. os=-tops10
  421. ;;
  422. decsystem20* | dec20*)
  423. basic_machine=pdp10-dec
  424. os=-tops20
  425. ;;
  426. delta | 3300 | motorola-3300 | motorola-delta \
  427. | 3300-motorola | delta-motorola)
  428. basic_machine=m68k-motorola
  429. ;;
  430. delta88)
  431. basic_machine=m88k-motorola
  432. os=-sysv3
  433. ;;
  434. dpx20 | dpx20-*)
  435. basic_machine=rs6000-bull
  436. os=-bosx
  437. ;;
  438. dpx2* | dpx2*-bull)
  439. basic_machine=m68k-bull
  440. os=-sysv3
  441. ;;
  442. ebmon29k)
  443. basic_machine=a29k-amd
  444. os=-ebmon
  445. ;;
  446. elxsi)
  447. basic_machine=elxsi-elxsi
  448. os=-bsd
  449. ;;
  450. encore | umax | mmax)
  451. basic_machine=ns32k-encore
  452. ;;
  453. es1800 | OSE68k | ose68k | ose | OSE)
  454. basic_machine=m68k-ericsson
  455. os=-ose
  456. ;;
  457. fx2800)
  458. basic_machine=i860-alliant
  459. ;;
  460. genix)
  461. basic_machine=ns32k-ns
  462. ;;
  463. gmicro)
  464. basic_machine=tron-gmicro
  465. os=-sysv
  466. ;;
  467. go32)
  468. basic_machine=i386-pc
  469. os=-go32
  470. ;;
  471. h3050r* | hiux*)
  472. basic_machine=hppa1.1-hitachi
  473. os=-hiuxwe2
  474. ;;
  475. h8300hms)
  476. basic_machine=h8300-hitachi
  477. os=-hms
  478. ;;
  479. h8300xray)
  480. basic_machine=h8300-hitachi
  481. os=-xray
  482. ;;
  483. h8500hms)
  484. basic_machine=h8500-hitachi
  485. os=-hms
  486. ;;
  487. harris)
  488. basic_machine=m88k-harris
  489. os=-sysv3
  490. ;;
  491. hp300-*)
  492. basic_machine=m68k-hp
  493. ;;
  494. hp300bsd)
  495. basic_machine=m68k-hp
  496. os=-bsd
  497. ;;
  498. hp300hpux)
  499. basic_machine=m68k-hp
  500. os=-hpux
  501. ;;
  502. hp3k9[0-9][0-9] | hp9[0-9][0-9])
  503. basic_machine=hppa1.0-hp
  504. ;;
  505. hp9k2[0-9][0-9] | hp9k31[0-9])
  506. basic_machine=m68000-hp
  507. ;;
  508. hp9k3[2-9][0-9])
  509. basic_machine=m68k-hp
  510. ;;
  511. hp9k6[0-9][0-9] | hp6[0-9][0-9])
  512. basic_machine=hppa1.0-hp
  513. ;;
  514. hp9k7[0-79][0-9] | hp7[0-79][0-9])
  515. basic_machine=hppa1.1-hp
  516. ;;
  517. hp9k78[0-9] | hp78[0-9])
  518. # FIXME: really hppa2.0-hp
  519. basic_machine=hppa1.1-hp
  520. ;;
  521. hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
  522. # FIXME: really hppa2.0-hp
  523. basic_machine=hppa1.1-hp
  524. ;;
  525. hp9k8[0-9][13679] | hp8[0-9][13679])
  526. basic_machine=hppa1.1-hp
  527. ;;
  528. hp9k8[0-9][0-9] | hp8[0-9][0-9])
  529. basic_machine=hppa1.0-hp
  530. ;;
  531. hppa-next)
  532. os=-nextstep3
  533. ;;
  534. hppaosf)
  535. basic_machine=hppa1.1-hp
  536. os=-osf
  537. ;;
  538. hppro)
  539. basic_machine=hppa1.1-hp
  540. os=-proelf
  541. ;;
  542. i370-ibm* | ibm*)
  543. basic_machine=i370-ibm
  544. ;;
  545. # I'm not sure what "Sysv32" means. Should this be sysv3.2?
  546. i*86v32)
  547. basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
  548. os=-sysv32
  549. ;;
  550. i*86v4*)
  551. basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
  552. os=-sysv4
  553. ;;
  554. i*86v)
  555. basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
  556. os=-sysv
  557. ;;
  558. i*86sol2)
  559. basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
  560. os=-solaris2
  561. ;;
  562. i386mach)
  563. basic_machine=i386-mach
  564. os=-mach
  565. ;;
  566. i386-vsta | vsta)
  567. basic_machine=i386-unknown
  568. os=-vsta
  569. ;;
  570. iris | iris4d)
  571. basic_machine=mips-sgi
  572. case $os in
  573. -irix*)
  574. ;;
  575. *)
  576. os=-irix4
  577. ;;
  578. esac
  579. ;;
  580. isi68 | isi)
  581. basic_machine=m68k-isi
  582. os=-sysv
  583. ;;
  584. m88k-omron*)
  585. basic_machine=m88k-omron
  586. ;;
  587. magnum | m3230)
  588. basic_machine=mips-mips
  589. os=-sysv
  590. ;;
  591. merlin)
  592. basic_machine=ns32k-utek
  593. os=-sysv
  594. ;;
  595. mingw32)
  596. basic_machine=i386-pc
  597. os=-mingw32
  598. ;;
  599. miniframe)
  600. basic_machine=m68000-convergent
  601. ;;
  602. *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
  603. basic_machine=m68k-atari
  604. os=-mint
  605. ;;
  606. mips3*-*)
  607. basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
  608. ;;
  609. mips3*)
  610. basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
  611. ;;
  612. mmix*)
  613. basic_machine=mmix-knuth
  614. os=-mmixware
  615. ;;
  616. monitor)
  617. basic_machine=m68k-rom68k
  618. os=-coff
  619. ;;
  620. morphos)
  621. basic_machine=powerpc-unknown
  622. os=-morphos
  623. ;;
  624. msdos)
  625. basic_machine=i386-pc
  626. os=-msdos
  627. ;;
  628. mvs)
  629. basic_machine=i370-ibm
  630. os=-mvs
  631. ;;
  632. ncr3000)
  633. basic_machine=i486-ncr
  634. os=-sysv4
  635. ;;
  636. netbsd386)
  637. basic_machine=i386-unknown
  638. os=-netbsd
  639. ;;
  640. netwinder)
  641. basic_machine=armv4l-rebel
  642. os=-linux
  643. ;;
  644. news | news700 | news800 | news900)
  645. basic_machine=m68k-sony
  646. os=-newsos
  647. ;;
  648. news1000)
  649. basic_machine=m68030-sony
  650. os=-newsos
  651. ;;
  652. news-3600 | risc-news)
  653. basic_machine=mips-sony
  654. os=-newsos
  655. ;;
  656. necv70)
  657. basic_machine=v70-nec
  658. os=-sysv
  659. ;;
  660. next | m*-next )
  661. basic_machine=m68k-next
  662. case $os in
  663. -nextstep* )
  664. ;;
  665. -ns2*)
  666. os=-nextstep2
  667. ;;
  668. *)
  669. os=-nextstep3
  670. ;;
  671. esac
  672. ;;
  673. nh3000)
  674. basic_machine=m68k-harris
  675. os=-cxux
  676. ;;
  677. nh[45]000)
  678. basic_machine=m88k-harris
  679. os=-cxux
  680. ;;
  681. nindy960)
  682. basic_machine=i960-intel
  683. os=-nindy
  684. ;;
  685. mon960)
  686. basic_machine=i960-intel
  687. os=-mon960
  688. ;;
  689. nonstopux)
  690. basic_machine=mips-compaq
  691. os=-nonstopux
  692. ;;
  693. np1)
  694. basic_machine=np1-gould
  695. ;;
  696. nsr-tandem)
  697. basic_machine=nsr-tandem
  698. ;;
  699. op50n-* | op60c-*)
  700. basic_machine=hppa1.1-oki
  701. os=-proelf
  702. ;;
  703. or32 | or32-*)
  704. basic_machine=or32-unknown
  705. os=-coff
  706. ;;
  707. OSE68000 | ose68000)
  708. basic_machine=m68000-ericsson
  709. os=-ose
  710. ;;
  711. os68k)
  712. basic_machine=m68k-none
  713. os=-os68k
  714. ;;
  715. pa-hitachi)
  716. basic_machine=hppa1.1-hitachi
  717. os=-hiuxwe2
  718. ;;
  719. paragon)
  720. basic_machine=i860-intel
  721. os=-osf
  722. ;;
  723. pbd)
  724. basic_machine=sparc-tti
  725. ;;
  726. pbb)
  727. basic_machine=m68k-tti
  728. ;;
  729. pc532 | pc532-*)
  730. basic_machine=ns32k-pc532
  731. ;;
  732. pentium | p5 | k5 | k6 | nexgen | viac3)
  733. basic_machine=i586-pc
  734. ;;
  735. pentiumpro | p6 | 6x86 | athlon | athlon_*)
  736. basic_machine=i686-pc
  737. ;;
  738. pentiumii | pentium2)
  739. basic_machine=i686-pc
  740. ;;
  741. pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
  742. basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
  743. ;;
  744. pentiumpro-* | p6-* | 6x86-* | athlon-*)
  745. basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
  746. ;;
  747. pentiumii-* | pentium2-*)
  748. basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
  749. ;;
  750. pn)
  751. basic_machine=pn-gould
  752. ;;
  753. power) basic_machine=power-ibm
  754. ;;
  755. ppc) basic_machine=powerpc-unknown
  756. ;;
  757. ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
  758. ;;
  759. ppcle | powerpclittle | ppc-le | powerpc-little)
  760. basic_machine=powerpcle-unknown
  761. ;;
  762. ppcle-* | powerpclittle-*)
  763. basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
  764. ;;
  765. ppc64) basic_machine=powerpc64-unknown
  766. ;;
  767. ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
  768. ;;
  769. ppc64le | powerpc64little | ppc64-le | powerpc64-little)
  770. basic_machine=powerpc64le-unknown
  771. ;;
  772. ppc64le-* | powerpc64little-*)
  773. basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
  774. ;;
  775. ps2)
  776. basic_machine=i386-ibm
  777. ;;
  778. pw32)
  779. basic_machine=i586-unknown
  780. os=-pw32
  781. ;;
  782. rom68k)
  783. basic_machine=m68k-rom68k
  784. os=-coff
  785. ;;
  786. rm[46]00)
  787. basic_machine=mips-siemens
  788. ;;
  789. rtpc | rtpc-*)
  790. basic_machine=romp-ibm
  791. ;;
  792. s390 | s390-*)
  793. basic_machine=s390-ibm
  794. ;;
  795. s390x | s390x-*)
  796. basic_machine=s390x-ibm
  797. ;;
  798. sa29200)
  799. basic_machine=a29k-amd
  800. os=-udi
  801. ;;
  802. sb1)
  803. basic_machine=mipsisa64sb1-unknown
  804. ;;
  805. sb1el)
  806. basic_machine=mipsisa64sb1el-unknown
  807. ;;
  808. sequent)
  809. basic_machine=i386-sequent
  810. ;;
  811. sh)
  812. basic_machine=sh-hitachi
  813. os=-hms
  814. ;;
  815. sparclite-wrs | simso-wrs)
  816. basic_machine=sparclite-wrs
  817. os=-vxworks
  818. ;;
  819. sps7)
  820. basic_machine=m68k-bull
  821. os=-sysv2
  822. ;;
  823. spur)
  824. basic_machine=spur-unknown
  825. ;;
  826. st2000)
  827. basic_machine=m68k-tandem
  828. ;;
  829. stratus)
  830. basic_machine=i860-stratus
  831. os=-sysv4
  832. ;;
  833. sun2)
  834. basic_machine=m68000-sun
  835. ;;
  836. sun2os3)
  837. basic_machine=m68000-sun
  838. os=-sunos3
  839. ;;
  840. sun2os4)
  841. basic_machine=m68000-sun
  842. os=-sunos4
  843. ;;
  844. sun3os3)
  845. basic_machine=m68k-sun
  846. os=-sunos3
  847. ;;
  848. sun3os4)
  849. basic_machine=m68k-sun
  850. os=-sunos4
  851. ;;
  852. sun4os3)
  853. basic_machine=sparc-sun
  854. os=-sunos3
  855. ;;
  856. sun4os4)
  857. basic_machine=sparc-sun
  858. os=-sunos4
  859. ;;
  860. sun4sol2)
  861. basic_machine=sparc-sun
  862. os=-solaris2
  863. ;;
  864. sun3 | sun3-*)
  865. basic_machine=m68k-sun
  866. ;;
  867. sun4)
  868. basic_machine=sparc-sun
  869. ;;
  870. sun386 | sun386i | roadrunner)
  871. basic_machine=i386-sun
  872. ;;
  873. sv1)
  874. basic_machine=sv1-cray
  875. os=-unicos
  876. ;;
  877. symmetry)
  878. basic_machine=i386-sequent
  879. os=-dynix
  880. ;;
  881. t3d)
  882. basic_machine=alpha-cray
  883. os=-unicos
  884. ;;
  885. t3e)
  886. basic_machine=alphaev5-cray
  887. os=-unicos
  888. ;;
  889. t90)
  890. basic_machine=t90-cray
  891. os=-unicos
  892. ;;
  893. tic4x | c4x*)
  894. basic_machine=tic4x-unknown
  895. os=-coff
  896. ;;
  897. tic54x | c54x*)
  898. basic_machine=tic54x-unknown
  899. os=-coff
  900. ;;
  901. tx39)
  902. basic_machine=mipstx39-unknown
  903. ;;
  904. tx39el)
  905. basic_machine=mipstx39el-unknown
  906. ;;
  907. toad1)
  908. basic_machine=pdp10-xkl
  909. os=-tops20
  910. ;;
  911. tower | tower-32)
  912. basic_machine=m68k-ncr
  913. ;;
  914. udi29k)
  915. basic_machine=a29k-amd
  916. os=-udi
  917. ;;
  918. ultra3)
  919. basic_machine=a29k-nyu
  920. os=-sym1
  921. ;;
  922. v810 | necv810)
  923. basic_machine=v810-nec
  924. os=-none
  925. ;;
  926. vaxv)
  927. basic_machine=vax-dec
  928. os=-sysv
  929. ;;
  930. vms)
  931. basic_machine=vax-dec
  932. os=-vms
  933. ;;
  934. vpp*|vx|vx-*)
  935. basic_machine=f301-fujitsu
  936. ;;
  937. vxworks960)
  938. basic_machine=i960-wrs
  939. os=-vxworks
  940. ;;
  941. vxworks68)
  942. basic_machine=m68k-wrs
  943. os=-vxworks
  944. ;;
  945. vxworks29k)
  946. basic_machine=a29k-wrs
  947. os=-vxworks
  948. ;;
  949. w65*)
  950. basic_machine=w65-wdc
  951. os=-none
  952. ;;
  953. w89k-*)
  954. basic_machine=hppa1.1-winbond
  955. os=-proelf
  956. ;;
  957. xps | xps100)
  958. basic_machine=xps100-honeywell
  959. ;;
  960. ymp)
  961. basic_machine=ymp-cray
  962. os=-unicos
  963. ;;
  964. z8k-*-coff)
  965. basic_machine=z8k-unknown
  966. os=-sim
  967. ;;
  968. none)
  969. basic_machine=none-none
  970. os=-none
  971. ;;
  972. # Here we handle the default manufacturer of certain CPU types. It is in
  973. # some cases the only manufacturer, in others, it is the most popular.
  974. w89k)
  975. basic_machine=hppa1.1-winbond
  976. ;;
  977. op50n)
  978. basic_machine=hppa1.1-oki
  979. ;;
  980. op60c)
  981. basic_machine=hppa1.1-oki
  982. ;;
  983. romp)
  984. basic_machine=romp-ibm
  985. ;;
  986. rs6000)
  987. basic_machine=rs6000-ibm
  988. ;;
  989. vax)
  990. basic_machine=vax-dec
  991. ;;
  992. pdp10)
  993. # there are many clones, so DEC is not a safe bet
  994. basic_machine=pdp10-unknown
  995. ;;
  996. pdp11)
  997. basic_machine=pdp11-dec
  998. ;;
  999. we32k)
  1000. basic_machine=we32k-att
  1001. ;;
  1002. sh3 | sh4 | sh3eb | sh4eb | sh[1234]le | sh3ele)
  1003. basic_machine=sh-unknown
  1004. ;;
  1005. sh64)
  1006. basic_machine=sh64-unknown
  1007. ;;
  1008. sparc | sparcv9 | sparcv9b)
  1009. basic_machine=sparc-sun
  1010. ;;
  1011. cydra)
  1012. basic_machine=cydra-cydrome
  1013. ;;
  1014. orion)
  1015. basic_machine=orion-highlevel
  1016. ;;
  1017. orion105)
  1018. basic_machine=clipper-highlevel
  1019. ;;
  1020. mac | mpw | mac-mpw)
  1021. basic_machine=m68k-apple
  1022. ;;
  1023. pmac | pmac-mpw)
  1024. basic_machine=powerpc-apple
  1025. ;;
  1026. *-unknown)
  1027. # Make sure to match an already-canonicalized machine name.
  1028. ;;
  1029. *)
  1030. echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
  1031. exit 1
  1032. ;;
  1033. esac
  1034. # Here we canonicalize certain aliases for manufacturers.
  1035. case $basic_machine in
  1036. *-digital*)
  1037. basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
  1038. ;;
  1039. *-commodore*)
  1040. basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
  1041. ;;
  1042. *)
  1043. ;;
  1044. esac
  1045. # Decode manufacturer-specific aliases for certain operating systems.
  1046. if [ x"$os" != x"" ]
  1047. then
  1048. case $os in
  1049. # First match some system type aliases
  1050. # that might get confused with valid system types.
  1051. # -solaris* is a basic system type, with this one exception.
  1052. -solaris1 | -solaris1.*)
  1053. os=`echo $os | sed -e 's|solaris1|sunos4|'`
  1054. ;;
  1055. -solaris)
  1056. os=-solaris2
  1057. ;;
  1058. -svr4*)
  1059. os=-sysv4
  1060. ;;
  1061. -unixware*)
  1062. os=-sysv4.2uw
  1063. ;;
  1064. -gnu/linux*)
  1065. os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
  1066. ;;
  1067. # First accept the basic system types.
  1068. # The portable systems comes first.
  1069. # Each alternative MUST END IN A *, to match a version number.
  1070. # -sysv* is not here because it comes later, after sysvr4.
  1071. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
  1072. | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
  1073. | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
  1074. | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
  1075. | -aos* \
  1076. | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
  1077. | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
  1078. | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
  1079. | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
  1080. | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
  1081. | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
  1082. | -chorusos* | -chorusrdb* \
  1083. | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
  1084. | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
  1085. | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
  1086. | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
  1087. | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
  1088. | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
  1089. | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
  1090. | -powermax* | -dnix*)
  1091. # Remember, each alternative MUST END IN *, to match a version number.
  1092. ;;
  1093. -qnx*)
  1094. case $basic_machine in
  1095. x86-* | i*86-*)
  1096. ;;
  1097. *)
  1098. os=-nto$os
  1099. ;;
  1100. esac
  1101. ;;
  1102. -nto-qnx*)
  1103. ;;
  1104. -nto*)
  1105. os=`echo $os | sed -e 's|nto|nto-qnx|'`
  1106. ;;
  1107. -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
  1108. | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
  1109. | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
  1110. ;;
  1111. -mac*)
  1112. os=`echo $os | sed -e 's|mac|macos|'`
  1113. ;;
  1114. -linux*)
  1115. os=`echo $os | sed -e 's|linux|linux-gnu|'`
  1116. ;;
  1117. -sunos5*)
  1118. os=`echo $os | sed -e 's|sunos5|solaris2|'`
  1119. ;;
  1120. -sunos6*)
  1121. os=`echo $os | sed -e 's|sunos6|solaris3|'`
  1122. ;;
  1123. -opened*)
  1124. os=-openedition
  1125. ;;
  1126. -wince*)
  1127. os=-wince
  1128. ;;
  1129. -osfrose*)
  1130. os=-osfrose
  1131. ;;
  1132. -osf*)
  1133. os=-osf
  1134. ;;
  1135. -utek*)
  1136. os=-bsd
  1137. ;;
  1138. -dynix*)
  1139. os=-bsd
  1140. ;;
  1141. -acis*)
  1142. os=-aos
  1143. ;;
  1144. -atheos*)
  1145. os=-atheos
  1146. ;;
  1147. -386bsd)
  1148. os=-bsd
  1149. ;;
  1150. -ctix* | -uts*)
  1151. os=-sysv
  1152. ;;
  1153. -nova*)
  1154. os=-rtmk-nova
  1155. ;;
  1156. -ns2 )
  1157. os=-nextstep2
  1158. ;;
  1159. -nsk*)
  1160. os=-nsk
  1161. ;;
  1162. # Preserve the version number of sinix5.
  1163. -sinix5.*)
  1164. os=`echo $os | sed -e 's|sinix|sysv|'`
  1165. ;;
  1166. -sinix*)
  1167. os=-sysv4
  1168. ;;
  1169. -triton*)
  1170. os=-sysv3
  1171. ;;
  1172. -oss*)
  1173. os=-sysv3
  1174. ;;
  1175. -svr4)
  1176. os=-sysv4
  1177. ;;
  1178. -svr3)
  1179. os=-sysv3
  1180. ;;
  1181. -sysvr4)
  1182. os=-sysv4
  1183. ;;
  1184. # This must come after -sysvr4.
  1185. -sysv*)
  1186. ;;
  1187. -ose*)
  1188. os=-ose
  1189. ;;
  1190. -es1800*)
  1191. os=-ose
  1192. ;;
  1193. -xenix)
  1194. os=-xenix
  1195. ;;
  1196. -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
  1197. os=-mint
  1198. ;;
  1199. -none)
  1200. ;;
  1201. *)
  1202. # Get rid of the `-' at the beginning of $os.
  1203. os=`echo $os | sed 's/[^-]*-//'`
  1204. echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
  1205. exit 1
  1206. ;;
  1207. esac
  1208. else
  1209. # Here we handle the default operating systems that come with various machines.
  1210. # The value should be what the vendor currently ships out the door with their
  1211. # machine or put another way, the most popular os provided with the machine.
  1212. # Note that if you're going to try to match "-MANUFACTURER" here (say,
  1213. # "-sun"), then you have to tell the case statement up towards the top
  1214. # that MANUFACTURER isn't an operating system. Otherwise, code above
  1215. # will signal an error saying that MANUFACTURER isn't an operating
  1216. # system, and we'll never get to this point.
  1217. case $basic_machine in
  1218. *-acorn)
  1219. os=-riscix1.2
  1220. ;;
  1221. arm*-rebel)
  1222. os=-linux
  1223. ;;
  1224. arm*-semi)
  1225. os=-aout
  1226. ;;
  1227. # This must come before the *-dec entry.
  1228. pdp10-*)
  1229. os=-tops20
  1230. ;;
  1231. pdp11-*)
  1232. os=-none
  1233. ;;
  1234. *-dec | vax-*)
  1235. os=-ultrix4.2
  1236. ;;
  1237. m68*-apollo)
  1238. os=-domain
  1239. ;;
  1240. i386-sun)
  1241. os=-sunos4.0.2
  1242. ;;
  1243. m68000-sun)
  1244. os=-sunos3
  1245. # This also exists in the configure program, but was not the
  1246. # default.
  1247. # os=-sunos4
  1248. ;;
  1249. m68*-cisco)
  1250. os=-aout
  1251. ;;
  1252. mips*-cisco)
  1253. os=-elf
  1254. ;;
  1255. mips*-*)
  1256. os=-elf
  1257. ;;
  1258. or32-*)
  1259. os=-coff
  1260. ;;
  1261. *-tti) # must be before sparc entry or we get the wrong os.
  1262. os=-sysv3
  1263. ;;
  1264. sparc-* | *-sun)
  1265. os=-sunos4.1.1
  1266. ;;
  1267. *-be)
  1268. os=-beos
  1269. ;;
  1270. *-ibm)
  1271. os=-aix
  1272. ;;
  1273. *-wec)
  1274. os=-proelf
  1275. ;;
  1276. *-winbond)
  1277. os=-proelf
  1278. ;;
  1279. *-oki)
  1280. os=-proelf
  1281. ;;
  1282. *-hp)
  1283. os=-hpux
  1284. ;;
  1285. *-hitachi)
  1286. os=-hiux
  1287. ;;
  1288. i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
  1289. os=-sysv
  1290. ;;
  1291. *-cbm)
  1292. os=-amigaos
  1293. ;;
  1294. *-dg)
  1295. os=-dgux
  1296. ;;
  1297. *-dolphin)
  1298. os=-sysv3
  1299. ;;
  1300. m68k-ccur)
  1301. os=-rtu
  1302. ;;
  1303. m88k-omron*)
  1304. os=-luna
  1305. ;;
  1306. *-next )
  1307. os=-nextstep
  1308. ;;
  1309. *-sequent)
  1310. os=-ptx
  1311. ;;
  1312. *-crds)
  1313. os=-unos
  1314. ;;
  1315. *-ns)
  1316. os=-genix
  1317. ;;
  1318. i370-*)
  1319. os=-mvs
  1320. ;;
  1321. *-next)
  1322. os=-nextstep3
  1323. ;;
  1324. *-gould)
  1325. os=-sysv
  1326. ;;
  1327. *-highlevel)
  1328. os=-bsd
  1329. ;;
  1330. *-encore)
  1331. os=-bsd
  1332. ;;
  1333. *-sgi)
  1334. os=-irix
  1335. ;;
  1336. *-siemens)
  1337. os=-sysv4
  1338. ;;
  1339. *-masscomp)
  1340. os=-rtu
  1341. ;;
  1342. f30[01]-fujitsu | f700-fujitsu)
  1343. os=-uxpv
  1344. ;;
  1345. *-rom68k)
  1346. os=-coff
  1347. ;;
  1348. *-*bug)
  1349. os=-coff
  1350. ;;
  1351. *-apple)
  1352. os=-macos
  1353. ;;
  1354. *-atari*)
  1355. os=-mint
  1356. ;;
  1357. *)
  1358. os=-none
  1359. ;;
  1360. esac
  1361. fi
  1362. # Here we handle the case where we know the os, and the CPU type, but not the
  1363. # manufacturer. We pick the logical manufacturer.
  1364. vendor=unknown
  1365. case $basic_machine in
  1366. *-unknown)
  1367. case $os in
  1368. -riscix*)
  1369. vendor=acorn
  1370. ;;
  1371. -sunos*)
  1372. vendor=sun
  1373. ;;
  1374. -aix*)
  1375. vendor=ibm
  1376. ;;
  1377. -beos*)
  1378. vendor=be
  1379. ;;
  1380. -hpux*)
  1381. vendor=hp
  1382. ;;
  1383. -mpeix*)
  1384. vendor=hp
  1385. ;;
  1386. -hiux*)
  1387. vendor=hitachi
  1388. ;;
  1389. -unos*)
  1390. vendor=crds
  1391. ;;
  1392. -dgux*)
  1393. vendor=dg
  1394. ;;
  1395. -luna*)
  1396. vendor=omron
  1397. ;;
  1398. -genix*)
  1399. vendor=ns
  1400. ;;
  1401. -mvs* | -opened*)
  1402. vendor=ibm
  1403. ;;
  1404. -ptx*)
  1405. vendor=sequent
  1406. ;;
  1407. -vxsim* | -vxworks* | -windiss*)
  1408. vendor=wrs
  1409. ;;
  1410. -aux*)
  1411. vendor=apple
  1412. ;;
  1413. -hms*)
  1414. vendor=hitachi
  1415. ;;
  1416. -mpw* | -macos*)
  1417. vendor=apple
  1418. ;;
  1419. -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
  1420. vendor=atari
  1421. ;;
  1422. -vos*)
  1423. vendor=stratus
  1424. ;;
  1425. esac
  1426. basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
  1427. ;;
  1428. esac
  1429. echo $basic_machine$os
  1430. exit 0
  1431. # Local variables:
  1432. # eval: (add-hook 'write-file-hooks 'time-stamp)
  1433. # time-stamp-start: "timestamp='"
  1434. # time-stamp-format: "%:y-%02m-%02d"
  1435. # time-stamp-end: "'"
  1436. # End: