patch-lib_enca_config_sub 27 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045
  1. --- xbmc-imx6-13.2.orig/lib/enca/config.sub 2014-09-02 13:26:13.000000000 +0200
  2. +++ xbmc-imx6-13.2/lib/enca/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='2003-06-18'
  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,10 +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* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
  97. + nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
  98. + linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
  99. + knetbsd*-gnu* | netbsd*-gnu* | \
  100. + kopensolaris*-gnu* | \
  101. + storm-chaos* | os2-emx* | rtmk-nova*)
  102. os=-$maybe_os
  103. basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
  104. ;;
  105. + android-linux)
  106. + os=-linux-android
  107. + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
  108. + ;;
  109. *)
  110. basic_machine=`echo $1 | sed 's/-[^-]*$//'`
  111. if [ $basic_machine != $1 ]
  112. @@ -144,10 +149,13 @@ case $os in
  113. -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
  114. -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
  115. -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
  116. - -apple | -axis)
  117. + -apple | -axis | -knuth | -cray | -microblaze*)
  118. os=
  119. basic_machine=$1
  120. ;;
  121. + -bluegene*)
  122. + os=-cnk
  123. + ;;
  124. -sim | -cisco | -oki | -wec | -winbond)
  125. os=
  126. basic_machine=$1
  127. @@ -162,13 +170,17 @@ case $os in
  128. os=-chorusos
  129. basic_machine=$1
  130. ;;
  131. - -chorusrdb)
  132. - os=-chorusrdb
  133. + -chorusrdb)
  134. + os=-chorusrdb
  135. basic_machine=$1
  136. - ;;
  137. + ;;
  138. -hiux*)
  139. os=-hiuxwe2
  140. ;;
  141. + -sco6)
  142. + os=-sco5v6
  143. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  144. + ;;
  145. -sco5)
  146. os=-sco3.2v5
  147. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  148. @@ -185,6 +197,10 @@ case $os in
  149. # Don't forget version if it is 3.2v4 or newer.
  150. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  151. ;;
  152. + -sco5v6*)
  153. + # Don't forget version if it is 3.2v4 or newer.
  154. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  155. + ;;
  156. -sco*)
  157. os=-sco3.2v2
  158. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  159. @@ -202,6 +218,12 @@ case $os in
  160. -isc*)
  161. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  162. ;;
  163. + -lynx*178)
  164. + os=-lynxos178
  165. + ;;
  166. + -lynx*5)
  167. + os=-lynxos5
  168. + ;;
  169. -lynx*)
  170. os=-lynxos
  171. ;;
  172. @@ -226,56 +248,107 @@ case $basic_machine in
  173. # Some are omitted here because they have special meanings below.
  174. 1750a | 580 \
  175. | a29k \
  176. + | aarch64 | aarch64_be \
  177. | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
  178. | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
  179. - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
  180. - | c4x | clipper \
  181. + | am33_2.0 \
  182. + | arc | arceb \
  183. + | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
  184. + | avr | avr32 \
  185. + | be32 | be64 \
  186. + | bfin \
  187. + | c4x | c8051 | clipper \
  188. | d10v | d30v | dlx | dsp16xx \
  189. - | fr30 | frv \
  190. + | epiphany \
  191. + | fido | fr30 | frv \
  192. | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
  193. + | hexagon \
  194. | i370 | i860 | i960 | ia64 \
  195. - | ip2k \
  196. - | m32r | m68000 | m68k | m88k | mcore \
  197. + | ip2k | iq2000 \
  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. - | s390 | s390x \
  238. - | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
  239. + | rl78 | rx \
  240. + | score \
  241. + | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
  242. | sh64 | sh64le \
  243. - | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
  244. - | strongarm \
  245. - | tahoe | thumb | tic4x | tic80 | tron \
  246. - | v850 | v850e \
  247. + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
  248. + | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
  249. + | spu \
  250. + | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
  251. + | ubicom32 \
  252. + | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
  253. | we32k \
  254. - | x86 | xscale | xstormy16 | xtensa \
  255. - | z8k)
  256. + | x86 | xc16x | xstormy16 | xtensa \
  257. + | z8k | z80)
  258. basic_machine=$basic_machine-unknown
  259. ;;
  260. - m6811 | m68hc11 | m6812 | m68hc12)
  261. - # Motorola 68HC11/12.
  262. + c54x)
  263. + basic_machine=tic54x-unknown
  264. + ;;
  265. + c55x)
  266. + basic_machine=tic55x-unknown
  267. + ;;
  268. + c6x)
  269. + basic_machine=tic6x-unknown
  270. + ;;
  271. + m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
  272. basic_machine=$basic_machine-unknown
  273. os=-none
  274. ;;
  275. m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
  276. ;;
  277. + ms1)
  278. + basic_machine=mt-unknown
  279. + ;;
  280. +
  281. + strongarm | thumb | xscale)
  282. + basic_machine=arm-unknown
  283. + ;;
  284. + xgate)
  285. + basic_machine=$basic_machine-unknown
  286. + os=-none
  287. + ;;
  288. + xscaleeb)
  289. + basic_machine=armeb-unknown
  290. + ;;
  291. +
  292. + xscaleel)
  293. + basic_machine=armel-unknown
  294. + ;;
  295. # We use `pc' rather than `unknown'
  296. # because (1) that's what they normally are, and
  297. @@ -291,59 +364,83 @@ case $basic_machine in
  298. # Recognize the basic CPU types with company name.
  299. 580-* \
  300. | a29k-* \
  301. + | aarch64-* | aarch64_be-* \
  302. | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
  303. | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
  304. - | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
  305. + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
  306. | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
  307. - | avr-* \
  308. - | bs2000-* \
  309. - | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
  310. - | clipper-* | cydra-* \
  311. + | avr-* | avr32-* \
  312. + | be32-* | be64-* \
  313. + | bfin-* | bs2000-* \
  314. + | c[123]* | c30-* | [cjt]90-* | c4x-* \
  315. + | c8051-* | clipper-* | craynv-* | cydra-* \
  316. | d10v-* | d30v-* | dlx-* \
  317. | elxsi-* \
  318. - | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
  319. + | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
  320. | h8300-* | h8500-* \
  321. | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
  322. + | hexagon-* \
  323. | i*86-* | i860-* | i960-* | ia64-* \
  324. - | ip2k-* \
  325. - | m32r-* \
  326. + | ip2k-* | iq2000-* \
  327. + | k1om-* \
  328. + | le32-* | le64-* \
  329. + | lm32-* \
  330. + | m32c-* | m32r-* | m32rle-* \
  331. | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
  332. - | m88110-* | m88k-* | mcore-* \
  333. + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
  334. + | microblaze-* | microblazeel-* \
  335. | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
  336. | mips16-* \
  337. | mips64-* | mips64el-* \
  338. - | mips64vr-* | mips64vrel-* \
  339. + | mips64octeon-* | mips64octeonel-* \
  340. | mips64orion-* | mips64orionel-* \
  341. + | mips64r5900-* | mips64r5900el-* \
  342. + | mips64vr-* | mips64vrel-* \
  343. | mips64vr4100-* | mips64vr4100el-* \
  344. | mips64vr4300-* | mips64vr4300el-* \
  345. | mips64vr5000-* | mips64vr5000el-* \
  346. + | mips64vr5900-* | mips64vr5900el-* \
  347. | mipsisa32-* | mipsisa32el-* \
  348. | mipsisa32r2-* | mipsisa32r2el-* \
  349. | mipsisa64-* | mipsisa64el-* \
  350. + | mipsisa64r2-* | mipsisa64r2el-* \
  351. | mipsisa64sb1-* | mipsisa64sb1el-* \
  352. | mipsisa64sr71k-* | mipsisa64sr71kel-* \
  353. + | mipsr5900-* | mipsr5900el-* \
  354. | mipstx39-* | mipstx39el-* \
  355. + | mmix-* \
  356. + | mt-* \
  357. | msp430-* \
  358. - | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
  359. + | nds32-* | nds32le-* | nds32be-* \
  360. + | nios-* | nios2-* | nios2eb-* | nios2el-* \
  361. + | none-* | np1-* | ns16k-* | ns32k-* \
  362. + | open8-* \
  363. | orion-* \
  364. | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
  365. - | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
  366. + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
  367. | pyramid-* \
  368. - | romp-* | rs6000-* \
  369. - | s390-* | s390x-* \
  370. - | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
  371. + | rl78-* | romp-* | rs6000-* | rx-* \
  372. + | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
  373. | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
  374. - | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
  375. - | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
  376. - | tahoe-* | thumb-* \
  377. + | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
  378. + | sparclite-* \
  379. + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
  380. + | tahoe-* \
  381. | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
  382. + | tile*-* \
  383. | tron-* \
  384. - | v850-* | v850e-* | vax-* \
  385. + | ubicom32-* \
  386. + | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
  387. + | vax-* \
  388. | we32k-* \
  389. - | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
  390. - | xtensa-* \
  391. + | x86-* | x86_64-* | xc16x-* | xps100-* \
  392. + | xstormy16-* | xtensa*-* \
  393. | ymp-* \
  394. - | z8k-*)
  395. + | z8k-* | z80-*)
  396. + ;;
  397. + # Recognize the basic CPU types without company name, with glob match.
  398. + xtensa*)
  399. + basic_machine=$basic_machine-unknown
  400. ;;
  401. # Recognize the various machine names and aliases which stand
  402. # for a CPU type and a company and sometimes even an OS.
  403. @@ -361,6 +458,9 @@ case $basic_machine in
  404. basic_machine=a29k-amd
  405. os=-udi
  406. ;;
  407. + abacus)
  408. + basic_machine=abacus-unknown
  409. + ;;
  410. adobe68k)
  411. basic_machine=m68010-adobe
  412. os=-scout
  413. @@ -378,6 +478,9 @@ case $basic_machine in
  414. amd64)
  415. basic_machine=x86_64-pc
  416. ;;
  417. + amd64-*)
  418. + basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
  419. + ;;
  420. amdahl)
  421. basic_machine=580-amdahl
  422. os=-sysv
  423. @@ -401,6 +504,10 @@ case $basic_machine in
  424. basic_machine=m68k-apollo
  425. os=-bsd
  426. ;;
  427. + aros)
  428. + basic_machine=i386-pc
  429. + os=-aros
  430. + ;;
  431. aux)
  432. basic_machine=m68k-apple
  433. os=-aux
  434. @@ -409,10 +516,35 @@ case $basic_machine in
  435. basic_machine=ns32k-sequent
  436. os=-dynix
  437. ;;
  438. + blackfin)
  439. + basic_machine=bfin-unknown
  440. + os=-linux
  441. + ;;
  442. + blackfin-*)
  443. + basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
  444. + os=-linux
  445. + ;;
  446. + bluegene*)
  447. + basic_machine=powerpc-ibm
  448. + os=-cnk
  449. + ;;
  450. + c54x-*)
  451. + basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
  452. + ;;
  453. + c55x-*)
  454. + basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
  455. + ;;
  456. + c6x-*)
  457. + basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
  458. + ;;
  459. c90)
  460. basic_machine=c90-cray
  461. os=-unicos
  462. ;;
  463. + cegcc)
  464. + basic_machine=arm-unknown
  465. + os=-cegcc
  466. + ;;
  467. convex-c1)
  468. basic_machine=c1-convex
  469. os=-bsd
  470. @@ -437,12 +569,27 @@ case $basic_machine in
  471. basic_machine=j90-cray
  472. os=-unicos
  473. ;;
  474. + craynv)
  475. + basic_machine=craynv-cray
  476. + os=-unicosmp
  477. + ;;
  478. + cr16 | cr16-*)
  479. + basic_machine=cr16-unknown
  480. + os=-elf
  481. + ;;
  482. crds | unos)
  483. basic_machine=m68k-crds
  484. ;;
  485. + crisv32 | crisv32-* | etraxfs*)
  486. + basic_machine=crisv32-axis
  487. + ;;
  488. cris | cris-* | etrax*)
  489. basic_machine=cris-axis
  490. ;;
  491. + crx)
  492. + basic_machine=crx-unknown
  493. + os=-elf
  494. + ;;
  495. da30 | da30-*)
  496. basic_machine=m68k-da30
  497. ;;
  498. @@ -465,6 +612,14 @@ case $basic_machine in
  499. basic_machine=m88k-motorola
  500. os=-sysv3
  501. ;;
  502. + dicos)
  503. + basic_machine=i686-pc
  504. + os=-dicos
  505. + ;;
  506. + djgpp)
  507. + basic_machine=i586-pc
  508. + os=-msdosdjgpp
  509. + ;;
  510. dpx20 | dpx20-*)
  511. basic_machine=rs6000-bull
  512. os=-bosx
  513. @@ -576,7 +731,6 @@ case $basic_machine in
  514. i370-ibm* | ibm*)
  515. basic_machine=i370-ibm
  516. ;;
  517. -# I'm not sure what "Sysv32" means. Should this be sysv3.2?
  518. i*86v32)
  519. basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
  520. os=-sysv32
  521. @@ -615,6 +769,14 @@ case $basic_machine in
  522. basic_machine=m68k-isi
  523. os=-sysv
  524. ;;
  525. + m68knommu)
  526. + basic_machine=m68k-unknown
  527. + os=-linux
  528. + ;;
  529. + m68knommu-*)
  530. + basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
  531. + os=-linux
  532. + ;;
  533. m88k-omron*)
  534. basic_machine=m88k-omron
  535. ;;
  536. @@ -626,10 +788,21 @@ case $basic_machine in
  537. basic_machine=ns32k-utek
  538. os=-sysv
  539. ;;
  540. + microblaze*)
  541. + basic_machine=microblaze-xilinx
  542. + ;;
  543. + mingw64)
  544. + basic_machine=x86_64-pc
  545. + os=-mingw64
  546. + ;;
  547. mingw32)
  548. - basic_machine=i386-pc
  549. + basic_machine=i686-pc
  550. os=-mingw32
  551. ;;
  552. + mingw32ce)
  553. + basic_machine=arm-unknown
  554. + os=-mingw32ce
  555. + ;;
  556. miniframe)
  557. basic_machine=m68000-convergent
  558. ;;
  559. @@ -643,10 +816,6 @@ case $basic_machine in
  560. mips3*)
  561. basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
  562. ;;
  563. - mmix*)
  564. - basic_machine=mmix-knuth
  565. - os=-mmixware
  566. - ;;
  567. monitor)
  568. basic_machine=m68k-rom68k
  569. os=-coff
  570. @@ -659,10 +828,21 @@ case $basic_machine in
  571. basic_machine=i386-pc
  572. os=-msdos
  573. ;;
  574. + ms1-*)
  575. + basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
  576. + ;;
  577. + msys)
  578. + basic_machine=i686-pc
  579. + os=-msys
  580. + ;;
  581. mvs)
  582. basic_machine=i370-ibm
  583. os=-mvs
  584. ;;
  585. + nacl)
  586. + basic_machine=le32-unknown
  587. + os=-nacl
  588. + ;;
  589. ncr3000)
  590. basic_machine=i486-ncr
  591. os=-sysv4
  592. @@ -727,9 +907,11 @@ case $basic_machine in
  593. np1)
  594. basic_machine=np1-gould
  595. ;;
  596. - nv1)
  597. - basic_machine=nv1-cray
  598. - os=-unicosmp
  599. + neo-tandem)
  600. + basic_machine=neo-tandem
  601. + ;;
  602. + nse-tandem)
  603. + basic_machine=nse-tandem
  604. ;;
  605. nsr-tandem)
  606. basic_machine=nsr-tandem
  607. @@ -738,9 +920,12 @@ case $basic_machine in
  608. basic_machine=hppa1.1-oki
  609. os=-proelf
  610. ;;
  611. - or32 | or32-*)
  612. + openrisc | openrisc-*)
  613. basic_machine=or32-unknown
  614. - os=-coff
  615. + ;;
  616. + os400)
  617. + basic_machine=powerpc-ibm
  618. + os=-os400
  619. ;;
  620. OSE68000 | ose68000)
  621. basic_machine=m68000-ericsson
  622. @@ -758,6 +943,14 @@ case $basic_machine in
  623. basic_machine=i860-intel
  624. os=-osf
  625. ;;
  626. + parisc)
  627. + basic_machine=hppa-unknown
  628. + os=-linux
  629. + ;;
  630. + parisc-*)
  631. + basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
  632. + os=-linux
  633. + ;;
  634. pbd)
  635. basic_machine=sparc-tti
  636. ;;
  637. @@ -767,6 +960,12 @@ case $basic_machine in
  638. pc532 | pc532-*)
  639. basic_machine=ns32k-pc532
  640. ;;
  641. + pc98)
  642. + basic_machine=i386-pc
  643. + ;;
  644. + pc98-*)
  645. + basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
  646. + ;;
  647. pentium | p5 | k5 | k6 | nexgen | viac3)
  648. basic_machine=i586-pc
  649. ;;
  650. @@ -796,9 +995,10 @@ case $basic_machine in
  651. ;;
  652. power) basic_machine=power-ibm
  653. ;;
  654. - ppc) basic_machine=powerpc-unknown
  655. + ppc | ppcbe) basic_machine=powerpc-unknown
  656. ;;
  657. - ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
  658. + ppc-* | ppcbe-*)
  659. + basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
  660. ;;
  661. ppcle | powerpclittle | ppc-le | powerpc-little)
  662. basic_machine=powerpcle-unknown
  663. @@ -823,6 +1023,14 @@ case $basic_machine in
  664. basic_machine=i586-unknown
  665. os=-pw32
  666. ;;
  667. + rdos | rdos64)
  668. + basic_machine=x86_64-pc
  669. + os=-rdos
  670. + ;;
  671. + rdos32)
  672. + basic_machine=i386-pc
  673. + os=-rdos
  674. + ;;
  675. rom68k)
  676. basic_machine=m68k-rom68k
  677. os=-coff
  678. @@ -833,6 +1041,12 @@ case $basic_machine in
  679. rtpc | rtpc-*)
  680. basic_machine=romp-ibm
  681. ;;
  682. + s390 | s390-*)
  683. + basic_machine=s390-ibm
  684. + ;;
  685. + s390x | s390x-*)
  686. + basic_machine=s390x-ibm
  687. + ;;
  688. sa29200)
  689. basic_machine=a29k-amd
  690. os=-udi
  691. @@ -843,6 +1057,10 @@ case $basic_machine in
  692. sb1el)
  693. basic_machine=mipsisa64sb1el-unknown
  694. ;;
  695. + sde)
  696. + basic_machine=mipsisa32-sde
  697. + os=-elf
  698. + ;;
  699. sei)
  700. basic_machine=mips-sei
  701. os=-seiux
  702. @@ -854,6 +1072,9 @@ case $basic_machine in
  703. basic_machine=sh-hitachi
  704. os=-hms
  705. ;;
  706. + sh5el)
  707. + basic_machine=sh5le-unknown
  708. + ;;
  709. sh64)
  710. basic_machine=sh64-unknown
  711. ;;
  712. @@ -875,6 +1096,9 @@ case $basic_machine in
  713. basic_machine=i860-stratus
  714. os=-sysv4
  715. ;;
  716. + strongarm-* | thumb-*)
  717. + basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
  718. + ;;
  719. sun2)
  720. basic_machine=m68000-sun
  721. ;;
  722. @@ -931,17 +1155,9 @@ case $basic_machine in
  723. basic_machine=t90-cray
  724. os=-unicos
  725. ;;
  726. - tic54x | c54x*)
  727. - basic_machine=tic54x-unknown
  728. - os=-coff
  729. - ;;
  730. - tic55x | c55x*)
  731. - basic_machine=tic55x-unknown
  732. - os=-coff
  733. - ;;
  734. - tic6x | c6x*)
  735. - basic_machine=tic6x-unknown
  736. - os=-coff
  737. + tile*)
  738. + basic_machine=$basic_machine-unknown
  739. + os=-linux-gnu
  740. ;;
  741. tx39)
  742. basic_machine=mipstx39-unknown
  743. @@ -956,6 +1172,10 @@ case $basic_machine in
  744. tower | tower-32)
  745. basic_machine=m68k-ncr
  746. ;;
  747. + tpf)
  748. + basic_machine=s390x-ibm
  749. + os=-tpf
  750. + ;;
  751. udi29k)
  752. basic_machine=a29k-amd
  753. os=-udi
  754. @@ -999,9 +1219,16 @@ case $basic_machine in
  755. basic_machine=hppa1.1-winbond
  756. os=-proelf
  757. ;;
  758. + xbox)
  759. + basic_machine=i686-pc
  760. + os=-mingw32
  761. + ;;
  762. xps | xps100)
  763. basic_machine=xps100-honeywell
  764. ;;
  765. + xscale-* | xscalee[bl]-*)
  766. + basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
  767. + ;;
  768. ymp)
  769. basic_machine=ymp-cray
  770. os=-unicos
  771. @@ -1010,6 +1237,10 @@ case $basic_machine in
  772. basic_machine=z8k-unknown
  773. os=-sim
  774. ;;
  775. + z80-*-coff)
  776. + basic_machine=z80-unknown
  777. + os=-sim
  778. + ;;
  779. none)
  780. basic_machine=none-none
  781. os=-none
  782. @@ -1029,6 +1260,9 @@ case $basic_machine in
  783. romp)
  784. basic_machine=romp-ibm
  785. ;;
  786. + mmix)
  787. + basic_machine=mmix-knuth
  788. + ;;
  789. rs6000)
  790. basic_machine=rs6000-ibm
  791. ;;
  792. @@ -1045,13 +1279,10 @@ case $basic_machine in
  793. we32k)
  794. basic_machine=we32k-att
  795. ;;
  796. - sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
  797. + sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
  798. basic_machine=sh-unknown
  799. ;;
  800. - sh64)
  801. - basic_machine=sh64-unknown
  802. - ;;
  803. - sparc | sparcv9 | sparcv9b)
  804. + sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
  805. basic_machine=sparc-sun
  806. ;;
  807. cydra)
  808. @@ -1095,9 +1326,12 @@ esac
  809. if [ x"$os" != x"" ]
  810. then
  811. case $os in
  812. - # First match some system type aliases
  813. - # that might get confused with valid system types.
  814. + # First match some system type aliases
  815. + # that might get confused with valid system types.
  816. # -solaris* is a basic system type, with this one exception.
  817. + -auroraux)
  818. + os=-auroraux
  819. + ;;
  820. -solaris1 | -solaris1.*)
  821. os=`echo $os | sed -e 's|solaris1|sunos4|'`
  822. ;;
  823. @@ -1118,25 +1352,31 @@ case $os in
  824. # Each alternative MUST END IN A *, to match a version number.
  825. # -sysv* is not here because it comes later, after sysvr4.
  826. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
  827. - | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
  828. - | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
  829. + | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
  830. + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
  831. + | -sym* | -kopensolaris* | -plan9* \
  832. | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
  833. - | -aos* \
  834. + | -aos* | -aros* \
  835. | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
  836. | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
  837. - | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
  838. - | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
  839. + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
  840. + | -bitrig* | -openbsd* | -solidbsd* \
  841. + | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
  842. + | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
  843. | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
  844. | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
  845. - | -chorusos* | -chorusrdb* \
  846. - | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
  847. - | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
  848. + | -chorusos* | -chorusrdb* | -cegcc* \
  849. + | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
  850. + | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
  851. + | -linux-newlib* | -linux-musl* | -linux-uclibc* \
  852. + | -uxpv* | -beos* | -mpeix* | -udk* \
  853. | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
  854. | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
  855. | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
  856. | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
  857. | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
  858. - | -powermax* | -dnix* | -nx6 | -nx7 | -sei*)
  859. + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
  860. + | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
  861. # Remember, each alternative MUST END IN *, to match a version number.
  862. ;;
  863. -qnx*)
  864. @@ -1154,12 +1394,15 @@ case $os in
  865. os=`echo $os | sed -e 's|nto|nto-qnx|'`
  866. ;;
  867. -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
  868. - | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
  869. + | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
  870. | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
  871. ;;
  872. -mac*)
  873. os=`echo $os | sed -e 's|mac|macos|'`
  874. ;;
  875. + -linux-dietlibc)
  876. + os=-linux-dietlibc
  877. + ;;
  878. -linux*)
  879. os=`echo $os | sed -e 's|linux|linux-gnu|'`
  880. ;;
  881. @@ -1172,6 +1415,9 @@ case $os in
  882. -opened*)
  883. os=-openedition
  884. ;;
  885. + -os400*)
  886. + os=-os400
  887. + ;;
  888. -wince*)
  889. os=-wince
  890. ;;
  891. @@ -1193,6 +1439,9 @@ case $os in
  892. -atheos*)
  893. os=-atheos
  894. ;;
  895. + -syllable*)
  896. + os=-syllable
  897. + ;;
  898. -386bsd)
  899. os=-bsd
  900. ;;
  901. @@ -1215,6 +1464,9 @@ case $os in
  902. -sinix*)
  903. os=-sysv4
  904. ;;
  905. + -tpf*)
  906. + os=-tpf
  907. + ;;
  908. -triton*)
  909. os=-sysv3
  910. ;;
  911. @@ -1248,8 +1500,13 @@ case $os in
  912. -aros*)
  913. os=-aros
  914. ;;
  915. - -kaos*)
  916. - os=-kaos
  917. + -zvmoe)
  918. + os=-zvmoe
  919. + ;;
  920. + -dicos*)
  921. + os=-dicos
  922. + ;;
  923. + -nacl*)
  924. ;;
  925. -none)
  926. ;;
  927. @@ -1273,6 +1530,12 @@ else
  928. # system, and we'll never get to this point.
  929. case $basic_machine in
  930. + score-*)
  931. + os=-elf
  932. + ;;
  933. + spu-*)
  934. + os=-elf
  935. + ;;
  936. *-acorn)
  937. os=-riscix1.2
  938. ;;
  939. @@ -1285,6 +1548,21 @@ case $basic_machine in
  940. c4x-* | tic4x-*)
  941. os=-coff
  942. ;;
  943. + c8051-*)
  944. + os=-elf
  945. + ;;
  946. + hexagon-*)
  947. + os=-elf
  948. + ;;
  949. + tic54x-*)
  950. + os=-coff
  951. + ;;
  952. + tic55x-*)
  953. + os=-coff
  954. + ;;
  955. + tic6x-*)
  956. + os=-coff
  957. + ;;
  958. # This must come before the *-dec entry.
  959. pdp10-*)
  960. os=-tops20
  961. @@ -1303,19 +1581,22 @@ case $basic_machine in
  962. ;;
  963. m68000-sun)
  964. os=-sunos3
  965. - # This also exists in the configure program, but was not the
  966. - # default.
  967. - # os=-sunos4
  968. ;;
  969. m68*-cisco)
  970. os=-aout
  971. ;;
  972. + mep-*)
  973. + os=-elf
  974. + ;;
  975. mips*-cisco)
  976. os=-elf
  977. ;;
  978. mips*-*)
  979. os=-elf
  980. ;;
  981. + or1k-*)
  982. + os=-elf
  983. + ;;
  984. or32-*)
  985. os=-coff
  986. ;;
  987. @@ -1328,9 +1609,15 @@ case $basic_machine in
  988. *-be)
  989. os=-beos
  990. ;;
  991. + *-haiku)
  992. + os=-haiku
  993. + ;;
  994. *-ibm)
  995. os=-aix
  996. ;;
  997. + *-knuth)
  998. + os=-mmixware
  999. + ;;
  1000. *-wec)
  1001. os=-proelf
  1002. ;;
  1003. @@ -1433,7 +1720,7 @@ case $basic_machine in
  1004. -sunos*)
  1005. vendor=sun
  1006. ;;
  1007. - -aix*)
  1008. + -cnk*|-aix*)
  1009. vendor=ibm
  1010. ;;
  1011. -beos*)
  1012. @@ -1463,9 +1750,15 @@ case $basic_machine in
  1013. -mvs* | -opened*)
  1014. vendor=ibm
  1015. ;;
  1016. + -os400*)
  1017. + vendor=ibm
  1018. + ;;
  1019. -ptx*)
  1020. vendor=sequent
  1021. ;;
  1022. + -tpf*)
  1023. + vendor=ibm
  1024. + ;;
  1025. -vxsim* | -vxworks* | -windiss*)
  1026. vendor=wrs
  1027. ;;
  1028. @@ -1490,7 +1783,7 @@ case $basic_machine in
  1029. esac
  1030. echo $basic_machine$os
  1031. -exit 0
  1032. +exit
  1033. # Local variables:
  1034. # eval: (add-hook 'write-file-hooks 'time-stamp)