patch-lib_libmpeg2__auto_config_sub 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734
  1. --- xbmc-imx6-13.2.orig/lib/libmpeg2/.auto/config.sub 2014-09-02 13:26:19.000000000 +0200
  2. +++ xbmc-imx6-13.2/lib/libmpeg2/.auto/config.sub 2014-08-18 15:18:32.461397057 +0200
  3. @@ -1,44 +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, 2004, 2005, 2006, 2007, 2008
  8. -# Free Software Foundation, Inc.
  9. +# Copyright 1992-2014 Free Software Foundation, Inc.
  10. -timestamp='2008-01-16'
  11. +timestamp='2014-01-01'
  12. -# This file is (in principle) common to ALL GNU software.
  13. -# The presence of a machine in this file suggests that SOME GNU software
  14. -# can handle that machine. It does not imply ALL GNU software can.
  15. -#
  16. -# This file is free software; you can redistribute it and/or modify
  17. -# it under the terms of the GNU General Public License as published by
  18. -# the Free Software Foundation; either version 2 of the License, or
  19. +# This file is free software; you can redistribute it and/or modify it
  20. +# under the terms of the GNU General Public License as published by
  21. +# the Free Software Foundation; either version 3 of the License, or
  22. # (at your option) any later version.
  23. #
  24. -# This program is distributed in the hope that it will be useful,
  25. -# but WITHOUT ANY WARRANTY; without even the implied warranty of
  26. -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  27. -# GNU General Public License for more details.
  28. +# This program is distributed in the hope that it will be useful, but
  29. +# WITHOUT ANY WARRANTY; without even the implied warranty of
  30. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  31. +# General Public License for more details.
  32. #
  33. # You should have received a copy of the GNU General Public License
  34. -# along with this program; if not, write to the Free Software
  35. -# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
  36. -# 02110-1301, USA.
  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. +# Please send patches with a ChangeLog entry to config-patches@gnu.org.
  49. #
  50. # Configuration subroutine to validate and canonicalize a configuration type.
  51. # Supply the specified configuration type as an argument.
  52. # If it is invalid, we print an error message on stderr and exit with code 1.
  53. # Otherwise, we print the canonical config type on stdout and succeed.
  54. +# You can get the latest version of this script from:
  55. +# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
  56. +
  57. # This file is supposed to be the same for all GNU packages
  58. # and recognize all the CPU types, system types and aliases
  59. # that are meaningful with *any* GNU software.
  60. @@ -72,8 +68,7 @@ Report bugs and patches to <config-patch
  61. version="\
  62. GNU config.sub ($timestamp)
  63. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
  64. -2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  65. +Copyright 1992-2014 Free Software Foundation, Inc.
  66. This is free software; see the source for copying conditions. There is NO
  67. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
  68. @@ -120,12 +115,18 @@ esac
  69. # Here we must recognize all the valid KERNEL-OS combinations.
  70. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
  71. case $maybe_os in
  72. - nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
  73. - uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
  74. + nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
  75. + linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
  76. + knetbsd*-gnu* | netbsd*-gnu* | \
  77. + kopensolaris*-gnu* | \
  78. storm-chaos* | os2-emx* | rtmk-nova*)
  79. os=-$maybe_os
  80. basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
  81. ;;
  82. + android-linux)
  83. + os=-linux-android
  84. + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
  85. + ;;
  86. *)
  87. basic_machine=`echo $1 | sed 's/-[^-]*$//'`
  88. if [ $basic_machine != $1 ]
  89. @@ -148,10 +149,13 @@ case $os in
  90. -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
  91. -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
  92. -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
  93. - -apple | -axis | -knuth | -cray)
  94. + -apple | -axis | -knuth | -cray | -microblaze*)
  95. os=
  96. basic_machine=$1
  97. ;;
  98. + -bluegene*)
  99. + os=-cnk
  100. + ;;
  101. -sim | -cisco | -oki | -wec | -winbond)
  102. os=
  103. basic_machine=$1
  104. @@ -166,10 +170,10 @@ case $os in
  105. os=-chorusos
  106. basic_machine=$1
  107. ;;
  108. - -chorusrdb)
  109. - os=-chorusrdb
  110. + -chorusrdb)
  111. + os=-chorusrdb
  112. basic_machine=$1
  113. - ;;
  114. + ;;
  115. -hiux*)
  116. os=-hiuxwe2
  117. ;;
  118. @@ -214,6 +218,12 @@ case $os in
  119. -isc*)
  120. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  121. ;;
  122. + -lynx*178)
  123. + os=-lynxos178
  124. + ;;
  125. + -lynx*5)
  126. + os=-lynxos5
  127. + ;;
  128. -lynx*)
  129. os=-lynxos
  130. ;;
  131. @@ -238,24 +248,35 @@ case $basic_machine in
  132. # Some are omitted here because they have special meanings below.
  133. 1750a | 580 \
  134. | a29k \
  135. + | aarch64 | aarch64_be \
  136. | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
  137. | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
  138. | am33_2.0 \
  139. - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
  140. + | arc | arceb \
  141. + | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
  142. + | avr | avr32 \
  143. + | be32 | be64 \
  144. | bfin \
  145. - | c4x | clipper \
  146. + | c4x | c8051 | clipper \
  147. | d10v | d30v | dlx | dsp16xx \
  148. + | epiphany \
  149. | fido | fr30 | frv \
  150. | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
  151. + | hexagon \
  152. | i370 | i860 | i960 | ia64 \
  153. | ip2k | iq2000 \
  154. + | k1om \
  155. + | le32 | le64 \
  156. + | lm32 \
  157. | m32c | m32r | m32rle | m68000 | m68k | m88k \
  158. - | maxq | mb | microblaze | mcore | mep \
  159. + | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
  160. | mips | mipsbe | mipseb | mipsel | mipsle \
  161. | mips16 \
  162. | mips64 | mips64el \
  163. - | mips64vr | mips64vrel \
  164. + | mips64octeon | mips64octeonel \
  165. | mips64orion | mips64orionel \
  166. + | mips64r5900 | mips64r5900el \
  167. + | mips64vr | mips64vrel \
  168. | mips64vr4100 | mips64vr4100el \
  169. | mips64vr4300 | mips64vr4300el \
  170. | mips64vr5000 | mips64vr5000el \
  171. @@ -266,31 +287,45 @@ case $basic_machine in
  172. | mipsisa64r2 | mipsisa64r2el \
  173. | mipsisa64sb1 | mipsisa64sb1el \
  174. | mipsisa64sr71k | mipsisa64sr71kel \
  175. + | mipsr5900 | mipsr5900el \
  176. | mipstx39 | mipstx39el \
  177. | mn10200 | mn10300 \
  178. + | moxie \
  179. | mt \
  180. | msp430 \
  181. - | nios | nios2 \
  182. + | nds32 | nds32le | nds32be \
  183. + | nios | nios2 | nios2eb | nios2el \
  184. | ns16k | ns32k \
  185. - | or32 \
  186. + | open8 \
  187. + | or1k | or32 \
  188. | pdp10 | pdp11 | pj | pjl \
  189. - | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
  190. + | powerpc | powerpc64 | powerpc64le | powerpcle \
  191. | pyramid \
  192. + | rl78 | rx \
  193. | score \
  194. - | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
  195. + | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
  196. | sh64 | sh64le \
  197. | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
  198. | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
  199. - | spu | strongarm \
  200. - | tahoe | thumb | tic4x | tic80 | tron \
  201. - | v850 | v850e \
  202. + | spu \
  203. + | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
  204. + | ubicom32 \
  205. + | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
  206. | we32k \
  207. - | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
  208. - | z8k)
  209. + | x86 | xc16x | xstormy16 | xtensa \
  210. + | z8k | z80)
  211. basic_machine=$basic_machine-unknown
  212. ;;
  213. - m6811 | m68hc11 | m6812 | m68hc12)
  214. - # Motorola 68HC11/12.
  215. + c54x)
  216. + basic_machine=tic54x-unknown
  217. + ;;
  218. + c55x)
  219. + basic_machine=tic55x-unknown
  220. + ;;
  221. + c6x)
  222. + basic_machine=tic6x-unknown
  223. + ;;
  224. + m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
  225. basic_machine=$basic_machine-unknown
  226. os=-none
  227. ;;
  228. @@ -300,6 +335,21 @@ case $basic_machine in
  229. basic_machine=mt-unknown
  230. ;;
  231. + strongarm | thumb | xscale)
  232. + basic_machine=arm-unknown
  233. + ;;
  234. + xgate)
  235. + basic_machine=$basic_machine-unknown
  236. + os=-none
  237. + ;;
  238. + xscaleeb)
  239. + basic_machine=armeb-unknown
  240. + ;;
  241. +
  242. + xscaleel)
  243. + basic_machine=armel-unknown
  244. + ;;
  245. +
  246. # We use `pc' rather than `unknown'
  247. # because (1) that's what they normally are, and
  248. # (2) the word "unknown" tends to confuse beginning users.
  249. @@ -314,29 +364,38 @@ case $basic_machine in
  250. # Recognize the basic CPU types with company name.
  251. 580-* \
  252. | a29k-* \
  253. + | aarch64-* | aarch64_be-* \
  254. | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
  255. | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
  256. - | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
  257. + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
  258. | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
  259. | avr-* | avr32-* \
  260. + | be32-* | be64-* \
  261. | bfin-* | bs2000-* \
  262. - | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
  263. - | clipper-* | craynv-* | cydra-* \
  264. + | c[123]* | c30-* | [cjt]90-* | c4x-* \
  265. + | c8051-* | clipper-* | craynv-* | cydra-* \
  266. | d10v-* | d30v-* | dlx-* \
  267. | elxsi-* \
  268. | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
  269. | h8300-* | h8500-* \
  270. | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
  271. + | hexagon-* \
  272. | i*86-* | i860-* | i960-* | ia64-* \
  273. | ip2k-* | iq2000-* \
  274. + | k1om-* \
  275. + | le32-* | le64-* \
  276. + | lm32-* \
  277. | m32c-* | m32r-* | m32rle-* \
  278. | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
  279. - | m88110-* | m88k-* | maxq-* | mcore-* \
  280. + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
  281. + | microblaze-* | microblazeel-* \
  282. | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
  283. | mips16-* \
  284. | mips64-* | mips64el-* \
  285. - | mips64vr-* | mips64vrel-* \
  286. + | mips64octeon-* | mips64octeonel-* \
  287. | mips64orion-* | mips64orionel-* \
  288. + | mips64r5900-* | mips64r5900el-* \
  289. + | mips64vr-* | mips64vrel-* \
  290. | mips64vr4100-* | mips64vr4100el-* \
  291. | mips64vr4300-* | mips64vr4300el-* \
  292. | mips64vr5000-* | mips64vr5000el-* \
  293. @@ -347,31 +406,37 @@ case $basic_machine in
  294. | mipsisa64r2-* | mipsisa64r2el-* \
  295. | mipsisa64sb1-* | mipsisa64sb1el-* \
  296. | mipsisa64sr71k-* | mipsisa64sr71kel-* \
  297. + | mipsr5900-* | mipsr5900el-* \
  298. | mipstx39-* | mipstx39el-* \
  299. | mmix-* \
  300. | mt-* \
  301. | msp430-* \
  302. - | nios-* | nios2-* \
  303. + | nds32-* | nds32le-* | nds32be-* \
  304. + | nios-* | nios2-* | nios2eb-* | nios2el-* \
  305. | none-* | np1-* | ns16k-* | ns32k-* \
  306. + | open8-* \
  307. | orion-* \
  308. | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
  309. - | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
  310. + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
  311. | pyramid-* \
  312. - | romp-* | rs6000-* \
  313. - | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
  314. + | rl78-* | romp-* | rs6000-* | rx-* \
  315. + | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
  316. | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
  317. | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
  318. | sparclite-* \
  319. - | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
  320. - | tahoe-* | thumb-* \
  321. + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
  322. + | tahoe-* \
  323. | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
  324. + | tile*-* \
  325. | tron-* \
  326. - | v850-* | v850e-* | vax-* \
  327. + | ubicom32-* \
  328. + | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
  329. + | vax-* \
  330. | we32k-* \
  331. - | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
  332. + | x86-* | x86_64-* | xc16x-* | xps100-* \
  333. | xstormy16-* | xtensa*-* \
  334. | ymp-* \
  335. - | z8k-*)
  336. + | z8k-* | z80-*)
  337. ;;
  338. # Recognize the basic CPU types without company name, with glob match.
  339. xtensa*)
  340. @@ -393,7 +458,7 @@ case $basic_machine in
  341. basic_machine=a29k-amd
  342. os=-udi
  343. ;;
  344. - abacus)
  345. + abacus)
  346. basic_machine=abacus-unknown
  347. ;;
  348. adobe68k)
  349. @@ -439,6 +504,10 @@ case $basic_machine in
  350. basic_machine=m68k-apollo
  351. os=-bsd
  352. ;;
  353. + aros)
  354. + basic_machine=i386-pc
  355. + os=-aros
  356. + ;;
  357. aux)
  358. basic_machine=m68k-apple
  359. os=-aux
  360. @@ -455,10 +524,27 @@ case $basic_machine in
  361. basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
  362. os=-linux
  363. ;;
  364. + bluegene*)
  365. + basic_machine=powerpc-ibm
  366. + os=-cnk
  367. + ;;
  368. + c54x-*)
  369. + basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
  370. + ;;
  371. + c55x-*)
  372. + basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
  373. + ;;
  374. + c6x-*)
  375. + basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
  376. + ;;
  377. c90)
  378. basic_machine=c90-cray
  379. os=-unicos
  380. ;;
  381. + cegcc)
  382. + basic_machine=arm-unknown
  383. + os=-cegcc
  384. + ;;
  385. convex-c1)
  386. basic_machine=c1-convex
  387. os=-bsd
  388. @@ -487,7 +573,7 @@ case $basic_machine in
  389. basic_machine=craynv-cray
  390. os=-unicosmp
  391. ;;
  392. - cr16)
  393. + cr16 | cr16-*)
  394. basic_machine=cr16-unknown
  395. os=-elf
  396. ;;
  397. @@ -526,6 +612,10 @@ case $basic_machine in
  398. basic_machine=m88k-motorola
  399. os=-sysv3
  400. ;;
  401. + dicos)
  402. + basic_machine=i686-pc
  403. + os=-dicos
  404. + ;;
  405. djgpp)
  406. basic_machine=i586-pc
  407. os=-msdosdjgpp
  408. @@ -641,7 +731,6 @@ case $basic_machine in
  409. i370-ibm* | ibm*)
  410. basic_machine=i370-ibm
  411. ;;
  412. -# I'm not sure what "Sysv32" means. Should this be sysv3.2?
  413. i*86v32)
  414. basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
  415. os=-sysv32
  416. @@ -699,8 +788,15 @@ case $basic_machine in
  417. basic_machine=ns32k-utek
  418. os=-sysv
  419. ;;
  420. + microblaze*)
  421. + basic_machine=microblaze-xilinx
  422. + ;;
  423. + mingw64)
  424. + basic_machine=x86_64-pc
  425. + os=-mingw64
  426. + ;;
  427. mingw32)
  428. - basic_machine=i386-pc
  429. + basic_machine=i686-pc
  430. os=-mingw32
  431. ;;
  432. mingw32ce)
  433. @@ -735,10 +831,18 @@ case $basic_machine in
  434. ms1-*)
  435. basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
  436. ;;
  437. + msys)
  438. + basic_machine=i686-pc
  439. + os=-msys
  440. + ;;
  441. mvs)
  442. basic_machine=i370-ibm
  443. os=-mvs
  444. ;;
  445. + nacl)
  446. + basic_machine=le32-unknown
  447. + os=-nacl
  448. + ;;
  449. ncr3000)
  450. basic_machine=i486-ncr
  451. os=-sysv4
  452. @@ -803,6 +907,12 @@ case $basic_machine in
  453. np1)
  454. basic_machine=np1-gould
  455. ;;
  456. + neo-tandem)
  457. + basic_machine=neo-tandem
  458. + ;;
  459. + nse-tandem)
  460. + basic_machine=nse-tandem
  461. + ;;
  462. nsr-tandem)
  463. basic_machine=nsr-tandem
  464. ;;
  465. @@ -885,9 +995,10 @@ case $basic_machine in
  466. ;;
  467. power) basic_machine=power-ibm
  468. ;;
  469. - ppc) basic_machine=powerpc-unknown
  470. + ppc | ppcbe) basic_machine=powerpc-unknown
  471. ;;
  472. - ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
  473. + ppc-* | ppcbe-*)
  474. + basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
  475. ;;
  476. ppcle | powerpclittle | ppc-le | powerpc-little)
  477. basic_machine=powerpcle-unknown
  478. @@ -912,7 +1023,11 @@ case $basic_machine in
  479. basic_machine=i586-unknown
  480. os=-pw32
  481. ;;
  482. - rdos)
  483. + rdos | rdos64)
  484. + basic_machine=x86_64-pc
  485. + os=-rdos
  486. + ;;
  487. + rdos32)
  488. basic_machine=i386-pc
  489. os=-rdos
  490. ;;
  491. @@ -981,6 +1096,9 @@ case $basic_machine in
  492. basic_machine=i860-stratus
  493. os=-sysv4
  494. ;;
  495. + strongarm-* | thumb-*)
  496. + basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
  497. + ;;
  498. sun2)
  499. basic_machine=m68000-sun
  500. ;;
  501. @@ -1037,20 +1155,8 @@ case $basic_machine in
  502. basic_machine=t90-cray
  503. os=-unicos
  504. ;;
  505. - tic54x | c54x*)
  506. - basic_machine=tic54x-unknown
  507. - os=-coff
  508. - ;;
  509. - tic55x | c55x*)
  510. - basic_machine=tic55x-unknown
  511. - os=-coff
  512. - ;;
  513. - tic6x | c6x*)
  514. - basic_machine=tic6x-unknown
  515. - os=-coff
  516. - ;;
  517. tile*)
  518. - basic_machine=tile-unknown
  519. + basic_machine=$basic_machine-unknown
  520. os=-linux-gnu
  521. ;;
  522. tx39)
  523. @@ -1120,6 +1226,9 @@ case $basic_machine in
  524. xps | xps100)
  525. basic_machine=xps100-honeywell
  526. ;;
  527. + xscale-* | xscalee[bl]-*)
  528. + basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
  529. + ;;
  530. ymp)
  531. basic_machine=ymp-cray
  532. os=-unicos
  533. @@ -1128,6 +1237,10 @@ case $basic_machine in
  534. basic_machine=z8k-unknown
  535. os=-sim
  536. ;;
  537. + z80-*-coff)
  538. + basic_machine=z80-unknown
  539. + os=-sim
  540. + ;;
  541. none)
  542. basic_machine=none-none
  543. os=-none
  544. @@ -1166,7 +1279,7 @@ case $basic_machine in
  545. we32k)
  546. basic_machine=we32k-att
  547. ;;
  548. - sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
  549. + sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
  550. basic_machine=sh-unknown
  551. ;;
  552. sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
  553. @@ -1213,9 +1326,12 @@ esac
  554. if [ x"$os" != x"" ]
  555. then
  556. case $os in
  557. - # First match some system type aliases
  558. - # that might get confused with valid system types.
  559. + # First match some system type aliases
  560. + # that might get confused with valid system types.
  561. # -solaris* is a basic system type, with this one exception.
  562. + -auroraux)
  563. + os=-auroraux
  564. + ;;
  565. -solaris1 | -solaris1.*)
  566. os=`echo $os | sed -e 's|solaris1|sunos4|'`
  567. ;;
  568. @@ -1236,21 +1352,23 @@ case $os in
  569. # Each alternative MUST END IN A *, to match a version number.
  570. # -sysv* is not here because it comes later, after sysvr4.
  571. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
  572. - | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
  573. - | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
  574. + | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
  575. + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
  576. + | -sym* | -kopensolaris* | -plan9* \
  577. | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
  578. - | -aos* \
  579. + | -aos* | -aros* \
  580. | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
  581. | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
  582. | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
  583. - | -openbsd* | -solidbsd* \
  584. + | -bitrig* | -openbsd* | -solidbsd* \
  585. | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
  586. | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
  587. | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
  588. | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
  589. - | -chorusos* | -chorusrdb* \
  590. - | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
  591. - | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
  592. + | -chorusos* | -chorusrdb* | -cegcc* \
  593. + | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
  594. + | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
  595. + | -linux-newlib* | -linux-musl* | -linux-uclibc* \
  596. | -uxpv* | -beos* | -mpeix* | -udk* \
  597. | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
  598. | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
  599. @@ -1258,7 +1376,7 @@ case $os in
  600. | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
  601. | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
  602. | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
  603. - | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
  604. + | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
  605. # Remember, each alternative MUST END IN *, to match a version number.
  606. ;;
  607. -qnx*)
  608. @@ -1297,7 +1415,7 @@ case $os in
  609. -opened*)
  610. os=-openedition
  611. ;;
  612. - -os400*)
  613. + -os400*)
  614. os=-os400
  615. ;;
  616. -wince*)
  617. @@ -1346,7 +1464,7 @@ case $os in
  618. -sinix*)
  619. os=-sysv4
  620. ;;
  621. - -tpf*)
  622. + -tpf*)
  623. os=-tpf
  624. ;;
  625. -triton*)
  626. @@ -1382,12 +1500,14 @@ case $os in
  627. -aros*)
  628. os=-aros
  629. ;;
  630. - -kaos*)
  631. - os=-kaos
  632. - ;;
  633. -zvmoe)
  634. os=-zvmoe
  635. ;;
  636. + -dicos*)
  637. + os=-dicos
  638. + ;;
  639. + -nacl*)
  640. + ;;
  641. -none)
  642. ;;
  643. *)
  644. @@ -1410,10 +1530,10 @@ else
  645. # system, and we'll never get to this point.
  646. case $basic_machine in
  647. - score-*)
  648. + score-*)
  649. os=-elf
  650. ;;
  651. - spu-*)
  652. + spu-*)
  653. os=-elf
  654. ;;
  655. *-acorn)
  656. @@ -1425,8 +1545,23 @@ case $basic_machine in
  657. arm*-semi)
  658. os=-aout
  659. ;;
  660. - c4x-* | tic4x-*)
  661. - os=-coff
  662. + c4x-* | tic4x-*)
  663. + os=-coff
  664. + ;;
  665. + c8051-*)
  666. + os=-elf
  667. + ;;
  668. + hexagon-*)
  669. + os=-elf
  670. + ;;
  671. + tic54x-*)
  672. + os=-coff
  673. + ;;
  674. + tic55x-*)
  675. + os=-coff
  676. + ;;
  677. + tic6x-*)
  678. + os=-coff
  679. ;;
  680. # This must come before the *-dec entry.
  681. pdp10-*)
  682. @@ -1446,14 +1581,11 @@ case $basic_machine in
  683. ;;
  684. m68000-sun)
  685. os=-sunos3
  686. - # This also exists in the configure program, but was not the
  687. - # default.
  688. - # os=-sunos4
  689. ;;
  690. m68*-cisco)
  691. os=-aout
  692. ;;
  693. - mep-*)
  694. + mep-*)
  695. os=-elf
  696. ;;
  697. mips*-cisco)
  698. @@ -1462,6 +1594,9 @@ case $basic_machine in
  699. mips*-*)
  700. os=-elf
  701. ;;
  702. + or1k-*)
  703. + os=-elf
  704. + ;;
  705. or32-*)
  706. os=-coff
  707. ;;
  708. @@ -1480,7 +1615,7 @@ case $basic_machine in
  709. *-ibm)
  710. os=-aix
  711. ;;
  712. - *-knuth)
  713. + *-knuth)
  714. os=-mmixware
  715. ;;
  716. *-wec)
  717. @@ -1585,7 +1720,7 @@ case $basic_machine in
  718. -sunos*)
  719. vendor=sun
  720. ;;
  721. - -aix*)
  722. + -cnk*|-aix*)
  723. vendor=ibm
  724. ;;
  725. -beos*)