patch-lib_win32_pcre_config_sub 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692
  1. --- xbmc-imx6-13.2.orig/lib/win32/pcre/config.sub 2014-09-02 13:26:20.000000000 +0200
  2. +++ xbmc-imx6-13.2/lib/win32/pcre/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='2009-02-03'
  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,13 +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. @@ -149,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. @@ -167,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. @@ -215,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. @@ -239,20 +248,28 @@ 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. - | d10v | d30v | dlx | dsp16xx | dvp \
  147. + | c4x | c8051 | clipper \
  148. + | d10v | d30v | dlx | dsp16xx \
  149. + | epiphany \
  150. | fido | fr30 | frv \
  151. | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
  152. + | hexagon \
  153. | i370 | i860 | i960 | ia64 \
  154. | ip2k | iq2000 \
  155. + | k1om \
  156. + | le32 | le64 \
  157. | lm32 \
  158. | m32c | m32r | m32rle | m68000 | m68k | m88k \
  159. - | maxq | mb | microblaze | mcore | mep | metag \
  160. + | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
  161. | mips | mipsbe | mipseb | mipsel | mipsle \
  162. | mips16 \
  163. | mips64 | mips64el \
  164. @@ -270,31 +287,45 @@ case $basic_machine in
  165. | mipsisa64r2 | mipsisa64r2el \
  166. | mipsisa64sb1 | mipsisa64sb1el \
  167. | mipsisa64sr71k | mipsisa64sr71kel \
  168. + | mipsr5900 | mipsr5900el \
  169. | mipstx39 | mipstx39el \
  170. | mn10200 | mn10300 \
  171. + | moxie \
  172. | mt \
  173. | msp430 \
  174. - | nios | nios2 \
  175. + | nds32 | nds32le | nds32be \
  176. + | nios | nios2 | nios2eb | nios2el \
  177. | ns16k | ns32k \
  178. - | or32 \
  179. + | open8 \
  180. + | or1k | or32 \
  181. | pdp10 | pdp11 | pj | pjl \
  182. - | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
  183. + | powerpc | powerpc64 | powerpc64le | powerpcle \
  184. | pyramid \
  185. + | rl78 | rx \
  186. | score \
  187. | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
  188. | sh64 | sh64le \
  189. | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
  190. | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
  191. - | spu | strongarm \
  192. - | tahoe | thumb | tic4x | tic80 | tron \
  193. - | v850 | v850e \
  194. + | spu \
  195. + | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
  196. + | ubicom32 \
  197. + | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
  198. | we32k \
  199. - | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
  200. + | x86 | xc16x | xstormy16 | xtensa \
  201. | z8k | z80)
  202. basic_machine=$basic_machine-unknown
  203. ;;
  204. - m6811 | m68hc11 | m6812 | m68hc12)
  205. - # Motorola 68HC11/12.
  206. + c54x)
  207. + basic_machine=tic54x-unknown
  208. + ;;
  209. + c55x)
  210. + basic_machine=tic55x-unknown
  211. + ;;
  212. + c6x)
  213. + basic_machine=tic6x-unknown
  214. + ;;
  215. + m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
  216. basic_machine=$basic_machine-unknown
  217. os=-none
  218. ;;
  219. @@ -304,6 +335,21 @@ case $basic_machine in
  220. basic_machine=mt-unknown
  221. ;;
  222. + strongarm | thumb | xscale)
  223. + basic_machine=arm-unknown
  224. + ;;
  225. + xgate)
  226. + basic_machine=$basic_machine-unknown
  227. + os=-none
  228. + ;;
  229. + xscaleeb)
  230. + basic_machine=armeb-unknown
  231. + ;;
  232. +
  233. + xscaleel)
  234. + basic_machine=armel-unknown
  235. + ;;
  236. +
  237. # We use `pc' rather than `unknown'
  238. # because (1) that's what they normally are, and
  239. # (2) the word "unknown" tends to confuse beginning users.
  240. @@ -318,25 +364,31 @@ case $basic_machine in
  241. # Recognize the basic CPU types with company name.
  242. 580-* \
  243. | a29k-* \
  244. + | aarch64-* | aarch64_be-* \
  245. | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
  246. | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
  247. - | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
  248. + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
  249. | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
  250. | avr-* | avr32-* \
  251. + | be32-* | be64-* \
  252. | bfin-* | bs2000-* \
  253. - | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
  254. - | clipper-* | craynv-* | cydra-* \
  255. + | c[123]* | c30-* | [cjt]90-* | c4x-* \
  256. + | c8051-* | clipper-* | craynv-* | cydra-* \
  257. | d10v-* | d30v-* | dlx-* \
  258. | elxsi-* \
  259. | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
  260. | h8300-* | h8500-* \
  261. | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
  262. + | hexagon-* \
  263. | i*86-* | i860-* | i960-* | ia64-* \
  264. | ip2k-* | iq2000-* \
  265. + | k1om-* \
  266. + | le32-* | le64-* \
  267. | lm32-* \
  268. | m32c-* | m32r-* | m32rle-* \
  269. | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
  270. | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
  271. + | microblaze-* | microblazeel-* \
  272. | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
  273. | mips16-* \
  274. | mips64-* | mips64el-* \
  275. @@ -354,28 +406,34 @@ case $basic_machine in
  276. | mipsisa64r2-* | mipsisa64r2el-* \
  277. | mipsisa64sb1-* | mipsisa64sb1el-* \
  278. | mipsisa64sr71k-* | mipsisa64sr71kel-* \
  279. + | mipsr5900-* | mipsr5900el-* \
  280. | mipstx39-* | mipstx39el-* \
  281. | mmix-* \
  282. | mt-* \
  283. | msp430-* \
  284. - | nios-* | nios2-* \
  285. + | nds32-* | nds32le-* | nds32be-* \
  286. + | nios-* | nios2-* | nios2eb-* | nios2el-* \
  287. | none-* | np1-* | ns16k-* | ns32k-* \
  288. + | open8-* \
  289. | orion-* \
  290. | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
  291. - | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
  292. + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
  293. | pyramid-* \
  294. - | romp-* | rs6000-* \
  295. + | rl78-* | romp-* | rs6000-* | rx-* \
  296. | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
  297. | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
  298. | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
  299. | sparclite-* \
  300. - | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
  301. - | tahoe-* | thumb-* \
  302. - | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
  303. + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
  304. + | tahoe-* \
  305. + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
  306. + | tile*-* \
  307. | tron-* \
  308. - | v850-* | v850e-* | vax-* \
  309. + | ubicom32-* \
  310. + | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
  311. + | vax-* \
  312. | we32k-* \
  313. - | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
  314. + | x86-* | x86_64-* | xc16x-* | xps100-* \
  315. | xstormy16-* | xtensa*-* \
  316. | ymp-* \
  317. | z8k-* | z80-*)
  318. @@ -400,7 +458,7 @@ case $basic_machine in
  319. basic_machine=a29k-amd
  320. os=-udi
  321. ;;
  322. - abacus)
  323. + abacus)
  324. basic_machine=abacus-unknown
  325. ;;
  326. adobe68k)
  327. @@ -466,11 +524,24 @@ case $basic_machine in
  328. basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
  329. os=-linux
  330. ;;
  331. + bluegene*)
  332. + basic_machine=powerpc-ibm
  333. + os=-cnk
  334. + ;;
  335. + c54x-*)
  336. + basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
  337. + ;;
  338. + c55x-*)
  339. + basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
  340. + ;;
  341. + c6x-*)
  342. + basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
  343. + ;;
  344. c90)
  345. basic_machine=c90-cray
  346. os=-unicos
  347. ;;
  348. - cegcc)
  349. + cegcc)
  350. basic_machine=arm-unknown
  351. os=-cegcc
  352. ;;
  353. @@ -502,7 +573,7 @@ case $basic_machine in
  354. basic_machine=craynv-cray
  355. os=-unicosmp
  356. ;;
  357. - cr16)
  358. + cr16 | cr16-*)
  359. basic_machine=cr16-unknown
  360. os=-elf
  361. ;;
  362. @@ -660,7 +731,6 @@ case $basic_machine in
  363. i370-ibm* | ibm*)
  364. basic_machine=i370-ibm
  365. ;;
  366. -# I'm not sure what "Sysv32" means. Should this be sysv3.2?
  367. i*86v32)
  368. basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
  369. os=-sysv32
  370. @@ -718,8 +788,15 @@ case $basic_machine in
  371. basic_machine=ns32k-utek
  372. os=-sysv
  373. ;;
  374. + microblaze*)
  375. + basic_machine=microblaze-xilinx
  376. + ;;
  377. + mingw64)
  378. + basic_machine=x86_64-pc
  379. + os=-mingw64
  380. + ;;
  381. mingw32)
  382. - basic_machine=i386-pc
  383. + basic_machine=i686-pc
  384. os=-mingw32
  385. ;;
  386. mingw32ce)
  387. @@ -733,24 +810,6 @@ case $basic_machine in
  388. basic_machine=m68k-atari
  389. os=-mint
  390. ;;
  391. - mipsEE* | ee | ps2)
  392. - basic_machine=mips64r5900el-scei
  393. - case $os in
  394. - -linux*)
  395. - ;;
  396. - *)
  397. - os=-elf
  398. - ;;
  399. - esac
  400. - ;;
  401. - iop)
  402. - basic_machine=mipsel-scei
  403. - os=-irx
  404. - ;;
  405. - dvp)
  406. - basic_machine=dvp-scei
  407. - os=-elf
  408. - ;;
  409. mips3*-*)
  410. basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
  411. ;;
  412. @@ -772,10 +831,18 @@ case $basic_machine in
  413. ms1-*)
  414. basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
  415. ;;
  416. + msys)
  417. + basic_machine=i686-pc
  418. + os=-msys
  419. + ;;
  420. mvs)
  421. basic_machine=i370-ibm
  422. os=-mvs
  423. ;;
  424. + nacl)
  425. + basic_machine=le32-unknown
  426. + os=-nacl
  427. + ;;
  428. ncr3000)
  429. basic_machine=i486-ncr
  430. os=-sysv4
  431. @@ -840,6 +907,12 @@ case $basic_machine in
  432. np1)
  433. basic_machine=np1-gould
  434. ;;
  435. + neo-tandem)
  436. + basic_machine=neo-tandem
  437. + ;;
  438. + nse-tandem)
  439. + basic_machine=nse-tandem
  440. + ;;
  441. nsr-tandem)
  442. basic_machine=nsr-tandem
  443. ;;
  444. @@ -922,9 +995,10 @@ case $basic_machine in
  445. ;;
  446. power) basic_machine=power-ibm
  447. ;;
  448. - ppc) basic_machine=powerpc-unknown
  449. + ppc | ppcbe) basic_machine=powerpc-unknown
  450. ;;
  451. - ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
  452. + ppc-* | ppcbe-*)
  453. + basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
  454. ;;
  455. ppcle | powerpclittle | ppc-le | powerpc-little)
  456. basic_machine=powerpcle-unknown
  457. @@ -949,7 +1023,11 @@ case $basic_machine in
  458. basic_machine=i586-unknown
  459. os=-pw32
  460. ;;
  461. - rdos)
  462. + rdos | rdos64)
  463. + basic_machine=x86_64-pc
  464. + os=-rdos
  465. + ;;
  466. + rdos32)
  467. basic_machine=i386-pc
  468. os=-rdos
  469. ;;
  470. @@ -1018,6 +1096,9 @@ case $basic_machine in
  471. basic_machine=i860-stratus
  472. os=-sysv4
  473. ;;
  474. + strongarm-* | thumb-*)
  475. + basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
  476. + ;;
  477. sun2)
  478. basic_machine=m68000-sun
  479. ;;
  480. @@ -1074,20 +1155,8 @@ case $basic_machine in
  481. basic_machine=t90-cray
  482. os=-unicos
  483. ;;
  484. - tic54x | c54x*)
  485. - basic_machine=tic54x-unknown
  486. - os=-coff
  487. - ;;
  488. - tic55x | c55x*)
  489. - basic_machine=tic55x-unknown
  490. - os=-coff
  491. - ;;
  492. - tic6x | c6x*)
  493. - basic_machine=tic6x-unknown
  494. - os=-coff
  495. - ;;
  496. tile*)
  497. - basic_machine=tile-unknown
  498. + basic_machine=$basic_machine-unknown
  499. os=-linux-gnu
  500. ;;
  501. tx39)
  502. @@ -1157,6 +1226,9 @@ case $basic_machine in
  503. xps | xps100)
  504. basic_machine=xps100-honeywell
  505. ;;
  506. + xscale-* | xscalee[bl]-*)
  507. + basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
  508. + ;;
  509. ymp)
  510. basic_machine=ymp-cray
  511. os=-unicos
  512. @@ -1254,9 +1326,12 @@ esac
  513. if [ x"$os" != x"" ]
  514. then
  515. case $os in
  516. - # First match some system type aliases
  517. - # that might get confused with valid system types.
  518. + # First match some system type aliases
  519. + # that might get confused with valid system types.
  520. # -solaris* is a basic system type, with this one exception.
  521. + -auroraux)
  522. + os=-auroraux
  523. + ;;
  524. -solaris1 | -solaris1.*)
  525. os=`echo $os | sed -e 's|solaris1|sunos4|'`
  526. ;;
  527. @@ -1277,22 +1352,23 @@ case $os in
  528. # Each alternative MUST END IN A *, to match a version number.
  529. # -sysv* is not here because it comes later, after sysvr4.
  530. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
  531. - | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
  532. - | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
  533. - | -kopensolaris* \
  534. + | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
  535. + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
  536. + | -sym* | -kopensolaris* | -plan9* \
  537. | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
  538. | -aos* | -aros* \
  539. | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
  540. | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
  541. | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
  542. - | -openbsd* | -solidbsd* \
  543. + | -bitrig* | -openbsd* | -solidbsd* \
  544. | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
  545. | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
  546. | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
  547. | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
  548. | -chorusos* | -chorusrdb* | -cegcc* \
  549. - | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
  550. - | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
  551. + | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
  552. + | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
  553. + | -linux-newlib* | -linux-musl* | -linux-uclibc* \
  554. | -uxpv* | -beos* | -mpeix* | -udk* \
  555. | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
  556. | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
  557. @@ -1300,7 +1376,7 @@ case $os in
  558. | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
  559. | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
  560. | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
  561. - | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -irx*)
  562. + | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
  563. # Remember, each alternative MUST END IN *, to match a version number.
  564. ;;
  565. -qnx*)
  566. @@ -1339,7 +1415,7 @@ case $os in
  567. -opened*)
  568. os=-openedition
  569. ;;
  570. - -os400*)
  571. + -os400*)
  572. os=-os400
  573. ;;
  574. -wince*)
  575. @@ -1388,7 +1464,7 @@ case $os in
  576. -sinix*)
  577. os=-sysv4
  578. ;;
  579. - -tpf*)
  580. + -tpf*)
  581. os=-tpf
  582. ;;
  583. -triton*)
  584. @@ -1424,15 +1500,14 @@ case $os in
  585. -aros*)
  586. os=-aros
  587. ;;
  588. - -kaos*)
  589. - os=-kaos
  590. - ;;
  591. -zvmoe)
  592. os=-zvmoe
  593. ;;
  594. -dicos*)
  595. os=-dicos
  596. ;;
  597. + -nacl*)
  598. + ;;
  599. -none)
  600. ;;
  601. *)
  602. @@ -1455,10 +1530,10 @@ else
  603. # system, and we'll never get to this point.
  604. case $basic_machine in
  605. - score-*)
  606. + score-*)
  607. os=-elf
  608. ;;
  609. - spu-*)
  610. + spu-*)
  611. os=-elf
  612. ;;
  613. *-acorn)
  614. @@ -1470,8 +1545,23 @@ case $basic_machine in
  615. arm*-semi)
  616. os=-aout
  617. ;;
  618. - c4x-* | tic4x-*)
  619. - os=-coff
  620. + c4x-* | tic4x-*)
  621. + os=-coff
  622. + ;;
  623. + c8051-*)
  624. + os=-elf
  625. + ;;
  626. + hexagon-*)
  627. + os=-elf
  628. + ;;
  629. + tic54x-*)
  630. + os=-coff
  631. + ;;
  632. + tic55x-*)
  633. + os=-coff
  634. + ;;
  635. + tic6x-*)
  636. + os=-coff
  637. ;;
  638. # This must come before the *-dec entry.
  639. pdp10-*)
  640. @@ -1491,14 +1581,11 @@ case $basic_machine in
  641. ;;
  642. m68000-sun)
  643. os=-sunos3
  644. - # This also exists in the configure program, but was not the
  645. - # default.
  646. - # os=-sunos4
  647. ;;
  648. m68*-cisco)
  649. os=-aout
  650. ;;
  651. - mep-*)
  652. + mep-*)
  653. os=-elf
  654. ;;
  655. mips*-cisco)
  656. @@ -1507,6 +1594,9 @@ case $basic_machine in
  657. mips*-*)
  658. os=-elf
  659. ;;
  660. + or1k-*)
  661. + os=-elf
  662. + ;;
  663. or32-*)
  664. os=-coff
  665. ;;
  666. @@ -1525,7 +1615,7 @@ case $basic_machine in
  667. *-ibm)
  668. os=-aix
  669. ;;
  670. - *-knuth)
  671. + *-knuth)
  672. os=-mmixware
  673. ;;
  674. *-wec)
  675. @@ -1630,7 +1720,7 @@ case $basic_machine in
  676. -sunos*)
  677. vendor=sun
  678. ;;
  679. - -aix*)
  680. + -cnk*|-aix*)
  681. vendor=ibm
  682. ;;
  683. -beos*)