patch-lib_libsidplay2_libsidplay_unix_config_sub 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967
  1. --- xbmc-imx6-13.2.orig/lib/libsidplay2/libsidplay/unix/config.sub 2014-09-02 13:26:19.000000000 +0200
  2. +++ xbmc-imx6-13.2/lib/libsidplay2/libsidplay/unix/config.sub 2014-08-18 15:18:32.461397057 +0200
  3. @@ -1,42 +1,40 @@
  4. #! /bin/sh
  5. # Configuration validation subroutine script.
  6. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
  7. -# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
  8. +# Copyright 1992-2014 Free Software Foundation, Inc.
  9. -timestamp='2004-03-12'
  10. +timestamp='2014-01-01'
  11. -# This file is (in principle) common to ALL GNU software.
  12. -# The presence of a machine in this file suggests that SOME GNU software
  13. -# can handle that machine. It does not imply ALL GNU software can.
  14. -#
  15. -# This file is free software; you can redistribute it and/or modify
  16. -# it under the terms of the GNU General Public License as published by
  17. -# the Free Software Foundation; either version 2 of the License, or
  18. +# This file is free software; you can redistribute it and/or modify it
  19. +# under the terms of the GNU General Public License as published by
  20. +# the Free Software Foundation; either version 3 of the License, or
  21. # (at your option) any later version.
  22. #
  23. -# This program is distributed in the hope that it will be useful,
  24. -# but WITHOUT ANY WARRANTY; without even the implied warranty of
  25. -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  26. -# GNU General Public License for more details.
  27. +# This program is distributed in the hope that it will be useful, but
  28. +# WITHOUT ANY WARRANTY; without even the implied warranty of
  29. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  30. +# General Public License for more details.
  31. #
  32. # You should have received a copy of the GNU General Public License
  33. -# along with this program; if not, write to the Free Software
  34. -# Foundation, Inc., 59 Temple Place - Suite 330,
  35. -# Boston, MA 02111-1307, USA.
  36. -
  37. +# along with this program; if not, see <http://www.gnu.org/licenses/>.
  38. +#
  39. # As a special exception to the GNU General Public License, if you
  40. # distribute this file as part of a program that contains a
  41. # configuration script generated by Autoconf, you may include it under
  42. -# the same distribution terms that you use for the rest of that program.
  43. +# the same distribution terms that you use for the rest of that
  44. +# program. This Exception is an additional permission under section 7
  45. +# of the GNU General Public License, version 3 ("GPLv3").
  46. -# Please send patches to <config-patches@gnu.org>. Submit a context
  47. -# diff and a properly formatted ChangeLog entry.
  48. +
  49. +# Please send patches with a ChangeLog entry to config-patches@gnu.org.
  50. #
  51. # Configuration subroutine to validate and canonicalize a configuration type.
  52. # Supply the specified configuration type as an argument.
  53. # If it is invalid, we print an error message on stderr and exit with code 1.
  54. # Otherwise, we print the canonical config type on stdout and succeed.
  55. +# You can get the latest version of this script from:
  56. +# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
  57. +
  58. # This file is supposed to be the same for all GNU packages
  59. # and recognize all the CPU types, system types and aliases
  60. # that are meaningful with *any* GNU software.
  61. @@ -70,8 +68,7 @@ Report bugs and patches to <config-patch
  62. version="\
  63. GNU config.sub ($timestamp)
  64. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
  65. -Free Software Foundation, Inc.
  66. +Copyright 1992-2014 Free Software Foundation, Inc.
  67. This is free software; see the source for copying conditions. There is NO
  68. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
  69. @@ -83,11 +80,11 @@ Try \`$me --help' for more information."
  70. while test $# -gt 0 ; do
  71. case $1 in
  72. --time-stamp | --time* | -t )
  73. - echo "$timestamp" ; exit 0 ;;
  74. + echo "$timestamp" ; exit ;;
  75. --version | -v )
  76. - echo "$version" ; exit 0 ;;
  77. + echo "$version" ; exit ;;
  78. --help | --h* | -h )
  79. - echo "$usage"; exit 0 ;;
  80. + echo "$usage"; exit ;;
  81. -- ) # Stop option processing
  82. shift; break ;;
  83. - ) # Use stdin as input.
  84. @@ -99,7 +96,7 @@ while test $# -gt 0 ; do
  85. *local*)
  86. # First pass through any local machine types.
  87. echo $1
  88. - exit 0;;
  89. + exit ;;
  90. * )
  91. break ;;
  92. @@ -118,11 +115,18 @@ esac
  93. # Here we must recognize all the valid KERNEL-OS combinations.
  94. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
  95. case $maybe_os in
  96. - nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
  97. - kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
  98. + nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
  99. + linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
  100. + knetbsd*-gnu* | netbsd*-gnu* | \
  101. + kopensolaris*-gnu* | \
  102. + storm-chaos* | os2-emx* | rtmk-nova*)
  103. os=-$maybe_os
  104. basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
  105. ;;
  106. + android-linux)
  107. + os=-linux-android
  108. + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
  109. + ;;
  110. *)
  111. basic_machine=`echo $1 | sed 's/-[^-]*$//'`
  112. if [ $basic_machine != $1 ]
  113. @@ -145,10 +149,13 @@ case $os in
  114. -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
  115. -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
  116. -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
  117. - -apple | -axis)
  118. + -apple | -axis | -knuth | -cray | -microblaze*)
  119. os=
  120. basic_machine=$1
  121. ;;
  122. + -bluegene*)
  123. + os=-cnk
  124. + ;;
  125. -sim | -cisco | -oki | -wec | -winbond)
  126. os=
  127. basic_machine=$1
  128. @@ -163,13 +170,17 @@ case $os in
  129. os=-chorusos
  130. basic_machine=$1
  131. ;;
  132. - -chorusrdb)
  133. - os=-chorusrdb
  134. + -chorusrdb)
  135. + os=-chorusrdb
  136. basic_machine=$1
  137. - ;;
  138. + ;;
  139. -hiux*)
  140. os=-hiuxwe2
  141. ;;
  142. + -sco6)
  143. + os=-sco5v6
  144. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  145. + ;;
  146. -sco5)
  147. os=-sco3.2v5
  148. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  149. @@ -186,6 +197,10 @@ case $os in
  150. # Don't forget version if it is 3.2v4 or newer.
  151. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  152. ;;
  153. + -sco5v6*)
  154. + # Don't forget version if it is 3.2v4 or newer.
  155. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  156. + ;;
  157. -sco*)
  158. os=-sco3.2v2
  159. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  160. @@ -203,6 +218,12 @@ case $os in
  161. -isc*)
  162. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  163. ;;
  164. + -lynx*178)
  165. + os=-lynxos178
  166. + ;;
  167. + -lynx*5)
  168. + os=-lynxos5
  169. + ;;
  170. -lynx*)
  171. os=-lynxos
  172. ;;
  173. @@ -227,57 +248,107 @@ case $basic_machine in
  174. # Some are omitted here because they have special meanings below.
  175. 1750a | 580 \
  176. | a29k \
  177. + | aarch64 | aarch64_be \
  178. | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
  179. | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
  180. | am33_2.0 \
  181. - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
  182. - | c4x | clipper \
  183. + | arc | arceb \
  184. + | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
  185. + | avr | avr32 \
  186. + | be32 | be64 \
  187. + | bfin \
  188. + | c4x | c8051 | clipper \
  189. | d10v | d30v | dlx | dsp16xx \
  190. - | fr30 | frv \
  191. + | epiphany \
  192. + | fido | fr30 | frv \
  193. | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
  194. + | hexagon \
  195. | i370 | i860 | i960 | ia64 \
  196. | ip2k | iq2000 \
  197. - | m32r | m32rle | m68000 | m68k | m88k | mcore \
  198. + | k1om \
  199. + | le32 | le64 \
  200. + | lm32 \
  201. + | m32c | m32r | m32rle | m68000 | m68k | m88k \
  202. + | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
  203. | mips | mipsbe | mipseb | mipsel | mipsle \
  204. | mips16 \
  205. | mips64 | mips64el \
  206. - | mips64vr | mips64vrel \
  207. + | mips64octeon | mips64octeonel \
  208. | mips64orion | mips64orionel \
  209. + | mips64r5900 | mips64r5900el \
  210. + | mips64vr | mips64vrel \
  211. | mips64vr4100 | mips64vr4100el \
  212. | mips64vr4300 | mips64vr4300el \
  213. | mips64vr5000 | mips64vr5000el \
  214. + | mips64vr5900 | mips64vr5900el \
  215. | mipsisa32 | mipsisa32el \
  216. | mipsisa32r2 | mipsisa32r2el \
  217. | mipsisa64 | mipsisa64el \
  218. | mipsisa64r2 | mipsisa64r2el \
  219. | mipsisa64sb1 | mipsisa64sb1el \
  220. | mipsisa64sr71k | mipsisa64sr71kel \
  221. + | mipsr5900 | mipsr5900el \
  222. | mipstx39 | mipstx39el \
  223. | mn10200 | mn10300 \
  224. + | moxie \
  225. + | mt \
  226. | msp430 \
  227. + | nds32 | nds32le | nds32be \
  228. + | nios | nios2 | nios2eb | nios2el \
  229. | ns16k | ns32k \
  230. - | openrisc | or32 \
  231. + | open8 \
  232. + | or1k | or32 \
  233. | pdp10 | pdp11 | pj | pjl \
  234. - | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
  235. + | powerpc | powerpc64 | powerpc64le | powerpcle \
  236. | pyramid \
  237. - | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
  238. + | rl78 | rx \
  239. + | score \
  240. + | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
  241. | sh64 | sh64le \
  242. - | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \
  243. - | strongarm \
  244. - | tahoe | thumb | tic4x | tic80 | tron \
  245. - | v850 | v850e \
  246. + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
  247. + | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
  248. + | spu \
  249. + | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
  250. + | ubicom32 \
  251. + | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
  252. | we32k \
  253. - | x86 | xscale | xstormy16 | xtensa \
  254. - | z8k)
  255. + | x86 | xc16x | xstormy16 | xtensa \
  256. + | z8k | z80)
  257. basic_machine=$basic_machine-unknown
  258. ;;
  259. - m6811 | m68hc11 | m6812 | m68hc12)
  260. - # Motorola 68HC11/12.
  261. + c54x)
  262. + basic_machine=tic54x-unknown
  263. + ;;
  264. + c55x)
  265. + basic_machine=tic55x-unknown
  266. + ;;
  267. + c6x)
  268. + basic_machine=tic6x-unknown
  269. + ;;
  270. + m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
  271. basic_machine=$basic_machine-unknown
  272. os=-none
  273. ;;
  274. m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
  275. ;;
  276. + ms1)
  277. + basic_machine=mt-unknown
  278. + ;;
  279. +
  280. + strongarm | thumb | xscale)
  281. + basic_machine=arm-unknown
  282. + ;;
  283. + xgate)
  284. + basic_machine=$basic_machine-unknown
  285. + os=-none
  286. + ;;
  287. + xscaleeb)
  288. + basic_machine=armeb-unknown
  289. + ;;
  290. +
  291. + xscaleel)
  292. + basic_machine=armel-unknown
  293. + ;;
  294. # We use `pc' rather than `unknown'
  295. # because (1) that's what they normally are, and
  296. @@ -293,59 +364,83 @@ case $basic_machine in
  297. # Recognize the basic CPU types with company name.
  298. 580-* \
  299. | a29k-* \
  300. + | aarch64-* | aarch64_be-* \
  301. | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
  302. | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
  303. - | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
  304. + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
  305. | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
  306. - | avr-* \
  307. - | bs2000-* \
  308. - | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
  309. - | clipper-* | cydra-* \
  310. + | avr-* | avr32-* \
  311. + | be32-* | be64-* \
  312. + | bfin-* | bs2000-* \
  313. + | c[123]* | c30-* | [cjt]90-* | c4x-* \
  314. + | c8051-* | clipper-* | craynv-* | cydra-* \
  315. | d10v-* | d30v-* | dlx-* \
  316. | elxsi-* \
  317. - | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
  318. + | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
  319. | h8300-* | h8500-* \
  320. | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
  321. + | hexagon-* \
  322. | i*86-* | i860-* | i960-* | ia64-* \
  323. | ip2k-* | iq2000-* \
  324. - | m32r-* | m32rle-* \
  325. + | k1om-* \
  326. + | le32-* | le64-* \
  327. + | lm32-* \
  328. + | m32c-* | m32r-* | m32rle-* \
  329. | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
  330. - | m88110-* | m88k-* | mcore-* \
  331. + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
  332. + | microblaze-* | microblazeel-* \
  333. | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
  334. | mips16-* \
  335. | mips64-* | mips64el-* \
  336. - | mips64vr-* | mips64vrel-* \
  337. + | mips64octeon-* | mips64octeonel-* \
  338. | mips64orion-* | mips64orionel-* \
  339. + | mips64r5900-* | mips64r5900el-* \
  340. + | mips64vr-* | mips64vrel-* \
  341. | mips64vr4100-* | mips64vr4100el-* \
  342. | mips64vr4300-* | mips64vr4300el-* \
  343. | mips64vr5000-* | mips64vr5000el-* \
  344. + | mips64vr5900-* | mips64vr5900el-* \
  345. | mipsisa32-* | mipsisa32el-* \
  346. | mipsisa32r2-* | mipsisa32r2el-* \
  347. | mipsisa64-* | mipsisa64el-* \
  348. | mipsisa64r2-* | mipsisa64r2el-* \
  349. | mipsisa64sb1-* | mipsisa64sb1el-* \
  350. | mipsisa64sr71k-* | mipsisa64sr71kel-* \
  351. + | mipsr5900-* | mipsr5900el-* \
  352. | mipstx39-* | mipstx39el-* \
  353. + | mmix-* \
  354. + | mt-* \
  355. | msp430-* \
  356. - | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
  357. + | nds32-* | nds32le-* | nds32be-* \
  358. + | nios-* | nios2-* | nios2eb-* | nios2el-* \
  359. + | none-* | np1-* | ns16k-* | ns32k-* \
  360. + | open8-* \
  361. | orion-* \
  362. | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
  363. - | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
  364. + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
  365. | pyramid-* \
  366. - | romp-* | rs6000-* \
  367. - | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
  368. + | rl78-* | romp-* | rs6000-* | rx-* \
  369. + | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
  370. | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
  371. - | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
  372. - | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
  373. - | tahoe-* | thumb-* \
  374. + | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
  375. + | sparclite-* \
  376. + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
  377. + | tahoe-* \
  378. | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
  379. + | tile*-* \
  380. | tron-* \
  381. - | v850-* | v850e-* | vax-* \
  382. + | ubicom32-* \
  383. + | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
  384. + | vax-* \
  385. | we32k-* \
  386. - | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
  387. - | xtensa-* \
  388. + | x86-* | x86_64-* | xc16x-* | xps100-* \
  389. + | xstormy16-* | xtensa*-* \
  390. | ymp-* \
  391. - | z8k-*)
  392. + | z8k-* | z80-*)
  393. + ;;
  394. + # Recognize the basic CPU types without company name, with glob match.
  395. + xtensa*)
  396. + basic_machine=$basic_machine-unknown
  397. ;;
  398. # Recognize the various machine names and aliases which stand
  399. # for a CPU type and a company and sometimes even an OS.
  400. @@ -363,7 +458,7 @@ case $basic_machine in
  401. basic_machine=a29k-amd
  402. os=-udi
  403. ;;
  404. - abacus)
  405. + abacus)
  406. basic_machine=abacus-unknown
  407. ;;
  408. adobe68k)
  409. @@ -409,6 +504,10 @@ case $basic_machine in
  410. basic_machine=m68k-apollo
  411. os=-bsd
  412. ;;
  413. + aros)
  414. + basic_machine=i386-pc
  415. + os=-aros
  416. + ;;
  417. aux)
  418. basic_machine=m68k-apple
  419. os=-aux
  420. @@ -417,10 +516,35 @@ case $basic_machine in
  421. basic_machine=ns32k-sequent
  422. os=-dynix
  423. ;;
  424. + blackfin)
  425. + basic_machine=bfin-unknown
  426. + os=-linux
  427. + ;;
  428. + blackfin-*)
  429. + basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
  430. + os=-linux
  431. + ;;
  432. + bluegene*)
  433. + basic_machine=powerpc-ibm
  434. + os=-cnk
  435. + ;;
  436. + c54x-*)
  437. + basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
  438. + ;;
  439. + c55x-*)
  440. + basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
  441. + ;;
  442. + c6x-*)
  443. + basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
  444. + ;;
  445. c90)
  446. basic_machine=c90-cray
  447. os=-unicos
  448. ;;
  449. + cegcc)
  450. + basic_machine=arm-unknown
  451. + os=-cegcc
  452. + ;;
  453. convex-c1)
  454. basic_machine=c1-convex
  455. os=-bsd
  456. @@ -445,13 +569,20 @@ case $basic_machine in
  457. basic_machine=j90-cray
  458. os=-unicos
  459. ;;
  460. - cr16c)
  461. - basic_machine=cr16c-unknown
  462. + craynv)
  463. + basic_machine=craynv-cray
  464. + os=-unicosmp
  465. + ;;
  466. + cr16 | cr16-*)
  467. + basic_machine=cr16-unknown
  468. os=-elf
  469. ;;
  470. crds | unos)
  471. basic_machine=m68k-crds
  472. ;;
  473. + crisv32 | crisv32-* | etraxfs*)
  474. + basic_machine=crisv32-axis
  475. + ;;
  476. cris | cris-* | etrax*)
  477. basic_machine=cris-axis
  478. ;;
  479. @@ -481,6 +612,14 @@ case $basic_machine in
  480. basic_machine=m88k-motorola
  481. os=-sysv3
  482. ;;
  483. + dicos)
  484. + basic_machine=i686-pc
  485. + os=-dicos
  486. + ;;
  487. + djgpp)
  488. + basic_machine=i586-pc
  489. + os=-msdosdjgpp
  490. + ;;
  491. dpx20 | dpx20-*)
  492. basic_machine=rs6000-bull
  493. os=-bosx
  494. @@ -592,7 +731,6 @@ case $basic_machine in
  495. i370-ibm* | ibm*)
  496. basic_machine=i370-ibm
  497. ;;
  498. -# I'm not sure what "Sysv32" means. Should this be sysv3.2?
  499. i*86v32)
  500. basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
  501. os=-sysv32
  502. @@ -631,6 +769,14 @@ case $basic_machine in
  503. basic_machine=m68k-isi
  504. os=-sysv
  505. ;;
  506. + m68knommu)
  507. + basic_machine=m68k-unknown
  508. + os=-linux
  509. + ;;
  510. + m68knommu-*)
  511. + basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
  512. + os=-linux
  513. + ;;
  514. m88k-omron*)
  515. basic_machine=m88k-omron
  516. ;;
  517. @@ -642,10 +788,21 @@ case $basic_machine in
  518. basic_machine=ns32k-utek
  519. os=-sysv
  520. ;;
  521. + microblaze*)
  522. + basic_machine=microblaze-xilinx
  523. + ;;
  524. + mingw64)
  525. + basic_machine=x86_64-pc
  526. + os=-mingw64
  527. + ;;
  528. mingw32)
  529. - basic_machine=i386-pc
  530. + basic_machine=i686-pc
  531. os=-mingw32
  532. ;;
  533. + mingw32ce)
  534. + basic_machine=arm-unknown
  535. + os=-mingw32ce
  536. + ;;
  537. miniframe)
  538. basic_machine=m68000-convergent
  539. ;;
  540. @@ -659,10 +816,6 @@ case $basic_machine in
  541. mips3*)
  542. basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
  543. ;;
  544. - mmix*)
  545. - basic_machine=mmix-knuth
  546. - os=-mmixware
  547. - ;;
  548. monitor)
  549. basic_machine=m68k-rom68k
  550. os=-coff
  551. @@ -675,10 +828,21 @@ case $basic_machine in
  552. basic_machine=i386-pc
  553. os=-msdos
  554. ;;
  555. + ms1-*)
  556. + basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
  557. + ;;
  558. + msys)
  559. + basic_machine=i686-pc
  560. + os=-msys
  561. + ;;
  562. mvs)
  563. basic_machine=i370-ibm
  564. os=-mvs
  565. ;;
  566. + nacl)
  567. + basic_machine=le32-unknown
  568. + os=-nacl
  569. + ;;
  570. ncr3000)
  571. basic_machine=i486-ncr
  572. os=-sysv4
  573. @@ -743,9 +907,11 @@ case $basic_machine in
  574. np1)
  575. basic_machine=np1-gould
  576. ;;
  577. - nv1)
  578. - basic_machine=nv1-cray
  579. - os=-unicosmp
  580. + neo-tandem)
  581. + basic_machine=neo-tandem
  582. + ;;
  583. + nse-tandem)
  584. + basic_machine=nse-tandem
  585. ;;
  586. nsr-tandem)
  587. basic_machine=nsr-tandem
  588. @@ -754,9 +920,8 @@ case $basic_machine in
  589. basic_machine=hppa1.1-oki
  590. os=-proelf
  591. ;;
  592. - or32 | or32-*)
  593. + openrisc | openrisc-*)
  594. basic_machine=or32-unknown
  595. - os=-coff
  596. ;;
  597. os400)
  598. basic_machine=powerpc-ibm
  599. @@ -778,6 +943,14 @@ case $basic_machine in
  600. basic_machine=i860-intel
  601. os=-osf
  602. ;;
  603. + parisc)
  604. + basic_machine=hppa-unknown
  605. + os=-linux
  606. + ;;
  607. + parisc-*)
  608. + basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
  609. + os=-linux
  610. + ;;
  611. pbd)
  612. basic_machine=sparc-tti
  613. ;;
  614. @@ -787,6 +960,12 @@ case $basic_machine in
  615. pc532 | pc532-*)
  616. basic_machine=ns32k-pc532
  617. ;;
  618. + pc98)
  619. + basic_machine=i386-pc
  620. + ;;
  621. + pc98-*)
  622. + basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
  623. + ;;
  624. pentium | p5 | k5 | k6 | nexgen | viac3)
  625. basic_machine=i586-pc
  626. ;;
  627. @@ -816,9 +995,10 @@ case $basic_machine in
  628. ;;
  629. power) basic_machine=power-ibm
  630. ;;
  631. - ppc) basic_machine=powerpc-unknown
  632. + ppc | ppcbe) basic_machine=powerpc-unknown
  633. ;;
  634. - ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
  635. + ppc-* | ppcbe-*)
  636. + basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
  637. ;;
  638. ppcle | powerpclittle | ppc-le | powerpc-little)
  639. basic_machine=powerpcle-unknown
  640. @@ -843,6 +1023,14 @@ case $basic_machine in
  641. basic_machine=i586-unknown
  642. os=-pw32
  643. ;;
  644. + rdos | rdos64)
  645. + basic_machine=x86_64-pc
  646. + os=-rdos
  647. + ;;
  648. + rdos32)
  649. + basic_machine=i386-pc
  650. + os=-rdos
  651. + ;;
  652. rom68k)
  653. basic_machine=m68k-rom68k
  654. os=-coff
  655. @@ -869,6 +1057,10 @@ case $basic_machine in
  656. sb1el)
  657. basic_machine=mipsisa64sb1el-unknown
  658. ;;
  659. + sde)
  660. + basic_machine=mipsisa32-sde
  661. + os=-elf
  662. + ;;
  663. sei)
  664. basic_machine=mips-sei
  665. os=-seiux
  666. @@ -880,6 +1072,9 @@ case $basic_machine in
  667. basic_machine=sh-hitachi
  668. os=-hms
  669. ;;
  670. + sh5el)
  671. + basic_machine=sh5le-unknown
  672. + ;;
  673. sh64)
  674. basic_machine=sh64-unknown
  675. ;;
  676. @@ -901,6 +1096,9 @@ case $basic_machine in
  677. basic_machine=i860-stratus
  678. os=-sysv4
  679. ;;
  680. + strongarm-* | thumb-*)
  681. + basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
  682. + ;;
  683. sun2)
  684. basic_machine=m68000-sun
  685. ;;
  686. @@ -957,17 +1155,9 @@ case $basic_machine in
  687. basic_machine=t90-cray
  688. os=-unicos
  689. ;;
  690. - tic54x | c54x*)
  691. - basic_machine=tic54x-unknown
  692. - os=-coff
  693. - ;;
  694. - tic55x | c55x*)
  695. - basic_machine=tic55x-unknown
  696. - os=-coff
  697. - ;;
  698. - tic6x | c6x*)
  699. - basic_machine=tic6x-unknown
  700. - os=-coff
  701. + tile*)
  702. + basic_machine=$basic_machine-unknown
  703. + os=-linux-gnu
  704. ;;
  705. tx39)
  706. basic_machine=mipstx39-unknown
  707. @@ -1029,9 +1219,16 @@ case $basic_machine in
  708. basic_machine=hppa1.1-winbond
  709. os=-proelf
  710. ;;
  711. + xbox)
  712. + basic_machine=i686-pc
  713. + os=-mingw32
  714. + ;;
  715. xps | xps100)
  716. basic_machine=xps100-honeywell
  717. ;;
  718. + xscale-* | xscalee[bl]-*)
  719. + basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
  720. + ;;
  721. ymp)
  722. basic_machine=ymp-cray
  723. os=-unicos
  724. @@ -1040,6 +1237,10 @@ case $basic_machine in
  725. basic_machine=z8k-unknown
  726. os=-sim
  727. ;;
  728. + z80-*-coff)
  729. + basic_machine=z80-unknown
  730. + os=-sim
  731. + ;;
  732. none)
  733. basic_machine=none-none
  734. os=-none
  735. @@ -1059,6 +1260,9 @@ case $basic_machine in
  736. romp)
  737. basic_machine=romp-ibm
  738. ;;
  739. + mmix)
  740. + basic_machine=mmix-knuth
  741. + ;;
  742. rs6000)
  743. basic_machine=rs6000-ibm
  744. ;;
  745. @@ -1075,13 +1279,10 @@ case $basic_machine in
  746. we32k)
  747. basic_machine=we32k-att
  748. ;;
  749. - sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
  750. + sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
  751. basic_machine=sh-unknown
  752. ;;
  753. - sh64)
  754. - basic_machine=sh64-unknown
  755. - ;;
  756. - sparc | sparcv8 | sparcv9 | sparcv9b)
  757. + sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
  758. basic_machine=sparc-sun
  759. ;;
  760. cydra)
  761. @@ -1125,9 +1326,12 @@ esac
  762. if [ x"$os" != x"" ]
  763. then
  764. case $os in
  765. - # First match some system type aliases
  766. - # that might get confused with valid system types.
  767. + # First match some system type aliases
  768. + # that might get confused with valid system types.
  769. # -solaris* is a basic system type, with this one exception.
  770. + -auroraux)
  771. + os=-auroraux
  772. + ;;
  773. -solaris1 | -solaris1.*)
  774. os=`echo $os | sed -e 's|solaris1|sunos4|'`
  775. ;;
  776. @@ -1148,26 +1352,31 @@ case $os in
  777. # Each alternative MUST END IN A *, to match a version number.
  778. # -sysv* is not here because it comes later, after sysvr4.
  779. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
  780. - | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
  781. - | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
  782. + | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
  783. + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
  784. + | -sym* | -kopensolaris* | -plan9* \
  785. | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
  786. - | -aos* \
  787. + | -aos* | -aros* \
  788. | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
  789. | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
  790. - | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
  791. + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
  792. + | -bitrig* | -openbsd* | -solidbsd* \
  793. | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
  794. | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
  795. | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
  796. | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
  797. - | -chorusos* | -chorusrdb* \
  798. - | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
  799. - | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
  800. + | -chorusos* | -chorusrdb* | -cegcc* \
  801. + | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
  802. + | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
  803. + | -linux-newlib* | -linux-musl* | -linux-uclibc* \
  804. + | -uxpv* | -beos* | -mpeix* | -udk* \
  805. | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
  806. | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
  807. | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
  808. | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
  809. | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
  810. - | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
  811. + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
  812. + | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
  813. # Remember, each alternative MUST END IN *, to match a version number.
  814. ;;
  815. -qnx*)
  816. @@ -1185,7 +1394,7 @@ case $os in
  817. os=`echo $os | sed -e 's|nto|nto-qnx|'`
  818. ;;
  819. -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
  820. - | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
  821. + | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
  822. | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
  823. ;;
  824. -mac*)
  825. @@ -1206,7 +1415,7 @@ case $os in
  826. -opened*)
  827. os=-openedition
  828. ;;
  829. - -os400*)
  830. + -os400*)
  831. os=-os400
  832. ;;
  833. -wince*)
  834. @@ -1255,7 +1464,7 @@ case $os in
  835. -sinix*)
  836. os=-sysv4
  837. ;;
  838. - -tpf*)
  839. + -tpf*)
  840. os=-tpf
  841. ;;
  842. -triton*)
  843. @@ -1291,8 +1500,13 @@ case $os in
  844. -aros*)
  845. os=-aros
  846. ;;
  847. - -kaos*)
  848. - os=-kaos
  849. + -zvmoe)
  850. + os=-zvmoe
  851. + ;;
  852. + -dicos*)
  853. + os=-dicos
  854. + ;;
  855. + -nacl*)
  856. ;;
  857. -none)
  858. ;;
  859. @@ -1316,6 +1530,12 @@ else
  860. # system, and we'll never get to this point.
  861. case $basic_machine in
  862. + score-*)
  863. + os=-elf
  864. + ;;
  865. + spu-*)
  866. + os=-elf
  867. + ;;
  868. *-acorn)
  869. os=-riscix1.2
  870. ;;
  871. @@ -1325,9 +1545,24 @@ case $basic_machine in
  872. arm*-semi)
  873. os=-aout
  874. ;;
  875. - c4x-* | tic4x-*)
  876. - os=-coff
  877. - ;;
  878. + c4x-* | tic4x-*)
  879. + os=-coff
  880. + ;;
  881. + c8051-*)
  882. + os=-elf
  883. + ;;
  884. + hexagon-*)
  885. + os=-elf
  886. + ;;
  887. + tic54x-*)
  888. + os=-coff
  889. + ;;
  890. + tic55x-*)
  891. + os=-coff
  892. + ;;
  893. + tic6x-*)
  894. + os=-coff
  895. + ;;
  896. # This must come before the *-dec entry.
  897. pdp10-*)
  898. os=-tops20
  899. @@ -1346,19 +1581,22 @@ case $basic_machine in
  900. ;;
  901. m68000-sun)
  902. os=-sunos3
  903. - # This also exists in the configure program, but was not the
  904. - # default.
  905. - # os=-sunos4
  906. ;;
  907. m68*-cisco)
  908. os=-aout
  909. ;;
  910. + mep-*)
  911. + os=-elf
  912. + ;;
  913. mips*-cisco)
  914. os=-elf
  915. ;;
  916. mips*-*)
  917. os=-elf
  918. ;;
  919. + or1k-*)
  920. + os=-elf
  921. + ;;
  922. or32-*)
  923. os=-coff
  924. ;;
  925. @@ -1371,9 +1609,15 @@ case $basic_machine in
  926. *-be)
  927. os=-beos
  928. ;;
  929. + *-haiku)
  930. + os=-haiku
  931. + ;;
  932. *-ibm)
  933. os=-aix
  934. ;;
  935. + *-knuth)
  936. + os=-mmixware
  937. + ;;
  938. *-wec)
  939. os=-proelf
  940. ;;
  941. @@ -1476,7 +1720,7 @@ case $basic_machine in
  942. -sunos*)
  943. vendor=sun
  944. ;;
  945. - -aix*)
  946. + -cnk*|-aix*)
  947. vendor=ibm
  948. ;;
  949. -beos*)
  950. @@ -1539,7 +1783,7 @@ case $basic_machine in
  951. esac
  952. echo $basic_machine$os
  953. -exit 0
  954. +exit
  955. # Local variables:
  956. # eval: (add-hook 'write-file-hooks 'time-stamp)