patch-lib_timidity_autoconf_config_sub 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068
  1. --- xbmc-imx6-13.2.orig/lib/timidity/autoconf/config.sub 2014-09-02 13:26:19.000000000 +0200
  2. +++ xbmc-imx6-13.2/lib/timidity/autoconf/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-05-09'
  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,55 +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. - | 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. - | 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 | sparcv9 | sparcv9b \
  243. - | strongarm \
  244. - | tahoe | thumb | 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. @@ -290,58 +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-* \
  324. - | m32r-* \
  325. + | ip2k-* | iq2000-* \
  326. + | k1om-* \
  327. + | le32-* | le64-* \
  328. + | lm32-* \
  329. + | m32c-* | m32r-* | m32rle-* \
  330. | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
  331. - | m88110-* | m88k-* | mcore-* \
  332. + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
  333. + | microblaze-* | microblazeel-* \
  334. | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
  335. | mips16-* \
  336. | mips64-* | mips64el-* \
  337. - | mips64vr-* | mips64vrel-* \
  338. + | mips64octeon-* | mips64octeonel-* \
  339. | mips64orion-* | mips64orionel-* \
  340. + | mips64r5900-* | mips64r5900el-* \
  341. + | mips64vr-* | mips64vrel-* \
  342. | mips64vr4100-* | mips64vr4100el-* \
  343. | mips64vr4300-* | mips64vr4300el-* \
  344. | mips64vr5000-* | mips64vr5000el-* \
  345. + | mips64vr5900-* | mips64vr5900el-* \
  346. | mipsisa32-* | mipsisa32el-* \
  347. | mipsisa32r2-* | mipsisa32r2el-* \
  348. | mipsisa64-* | mipsisa64el-* \
  349. + | mipsisa64r2-* | mipsisa64r2el-* \
  350. | mipsisa64sb1-* | mipsisa64sb1el-* \
  351. | mipsisa64sr71k-* | mipsisa64sr71kel-* \
  352. + | mipsr5900-* | mipsr5900el-* \
  353. | mipstx39-* | mipstx39el-* \
  354. + | mmix-* \
  355. + | mt-* \
  356. | msp430-* \
  357. - | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
  358. + | nds32-* | nds32le-* | nds32be-* \
  359. + | nios-* | nios2-* | nios2eb-* | nios2el-* \
  360. + | none-* | np1-* | ns16k-* | ns32k-* \
  361. + | open8-* \
  362. | orion-* \
  363. | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
  364. - | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
  365. + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
  366. | pyramid-* \
  367. - | romp-* | rs6000-* \
  368. - | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
  369. + | rl78-* | romp-* | rs6000-* | rx-* \
  370. + | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
  371. | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
  372. - | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
  373. - | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
  374. - | tahoe-* | thumb-* \
  375. + | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
  376. + | sparclite-* \
  377. + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
  378. + | tahoe-* \
  379. | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
  380. + | tile*-* \
  381. | tron-* \
  382. - | v850-* | v850e-* | vax-* \
  383. + | ubicom32-* \
  384. + | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
  385. + | vax-* \
  386. | we32k-* \
  387. - | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
  388. - | xtensa-* \
  389. + | x86-* | x86_64-* | xc16x-* | xps100-* \
  390. + | xstormy16-* | xtensa*-* \
  391. | ymp-* \
  392. - | z8k-*)
  393. + | z8k-* | z80-*)
  394. + ;;
  395. + # Recognize the basic CPU types without company name, with glob match.
  396. + xtensa*)
  397. + basic_machine=$basic_machine-unknown
  398. ;;
  399. # Recognize the various machine names and aliases which stand
  400. # for a CPU type and a company and sometimes even an OS.
  401. @@ -359,6 +458,9 @@ case $basic_machine in
  402. basic_machine=a29k-amd
  403. os=-udi
  404. ;;
  405. + abacus)
  406. + basic_machine=abacus-unknown
  407. + ;;
  408. adobe68k)
  409. basic_machine=m68010-adobe
  410. os=-scout
  411. @@ -376,6 +478,9 @@ case $basic_machine in
  412. amd64)
  413. basic_machine=x86_64-pc
  414. ;;
  415. + amd64-*)
  416. + basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
  417. + ;;
  418. amdahl)
  419. basic_machine=580-amdahl
  420. os=-sysv
  421. @@ -399,6 +504,10 @@ case $basic_machine in
  422. basic_machine=m68k-apollo
  423. os=-bsd
  424. ;;
  425. + aros)
  426. + basic_machine=i386-pc
  427. + os=-aros
  428. + ;;
  429. aux)
  430. basic_machine=m68k-apple
  431. os=-aux
  432. @@ -407,10 +516,35 @@ case $basic_machine in
  433. basic_machine=ns32k-sequent
  434. os=-dynix
  435. ;;
  436. + blackfin)
  437. + basic_machine=bfin-unknown
  438. + os=-linux
  439. + ;;
  440. + blackfin-*)
  441. + basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
  442. + os=-linux
  443. + ;;
  444. + bluegene*)
  445. + basic_machine=powerpc-ibm
  446. + os=-cnk
  447. + ;;
  448. + c54x-*)
  449. + basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
  450. + ;;
  451. + c55x-*)
  452. + basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
  453. + ;;
  454. + c6x-*)
  455. + basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
  456. + ;;
  457. c90)
  458. basic_machine=c90-cray
  459. os=-unicos
  460. ;;
  461. + cegcc)
  462. + basic_machine=arm-unknown
  463. + os=-cegcc
  464. + ;;
  465. convex-c1)
  466. basic_machine=c1-convex
  467. os=-bsd
  468. @@ -435,12 +569,27 @@ case $basic_machine in
  469. basic_machine=j90-cray
  470. os=-unicos
  471. ;;
  472. + craynv)
  473. + basic_machine=craynv-cray
  474. + os=-unicosmp
  475. + ;;
  476. + cr16 | cr16-*)
  477. + basic_machine=cr16-unknown
  478. + os=-elf
  479. + ;;
  480. crds | unos)
  481. basic_machine=m68k-crds
  482. ;;
  483. + crisv32 | crisv32-* | etraxfs*)
  484. + basic_machine=crisv32-axis
  485. + ;;
  486. cris | cris-* | etrax*)
  487. basic_machine=cris-axis
  488. ;;
  489. + crx)
  490. + basic_machine=crx-unknown
  491. + os=-elf
  492. + ;;
  493. da30 | da30-*)
  494. basic_machine=m68k-da30
  495. ;;
  496. @@ -463,6 +612,14 @@ case $basic_machine in
  497. basic_machine=m88k-motorola
  498. os=-sysv3
  499. ;;
  500. + dicos)
  501. + basic_machine=i686-pc
  502. + os=-dicos
  503. + ;;
  504. + djgpp)
  505. + basic_machine=i586-pc
  506. + os=-msdosdjgpp
  507. + ;;
  508. dpx20 | dpx20-*)
  509. basic_machine=rs6000-bull
  510. os=-bosx
  511. @@ -574,7 +731,6 @@ case $basic_machine in
  512. i370-ibm* | ibm*)
  513. basic_machine=i370-ibm
  514. ;;
  515. -# I'm not sure what "Sysv32" means. Should this be sysv3.2?
  516. i*86v32)
  517. basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
  518. os=-sysv32
  519. @@ -613,6 +769,14 @@ case $basic_machine in
  520. basic_machine=m68k-isi
  521. os=-sysv
  522. ;;
  523. + m68knommu)
  524. + basic_machine=m68k-unknown
  525. + os=-linux
  526. + ;;
  527. + m68knommu-*)
  528. + basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
  529. + os=-linux
  530. + ;;
  531. m88k-omron*)
  532. basic_machine=m88k-omron
  533. ;;
  534. @@ -624,10 +788,21 @@ case $basic_machine in
  535. basic_machine=ns32k-utek
  536. os=-sysv
  537. ;;
  538. + microblaze*)
  539. + basic_machine=microblaze-xilinx
  540. + ;;
  541. + mingw64)
  542. + basic_machine=x86_64-pc
  543. + os=-mingw64
  544. + ;;
  545. mingw32)
  546. - basic_machine=i386-pc
  547. + basic_machine=i686-pc
  548. os=-mingw32
  549. ;;
  550. + mingw32ce)
  551. + basic_machine=arm-unknown
  552. + os=-mingw32ce
  553. + ;;
  554. miniframe)
  555. basic_machine=m68000-convergent
  556. ;;
  557. @@ -641,10 +816,6 @@ case $basic_machine in
  558. mips3*)
  559. basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
  560. ;;
  561. - mmix*)
  562. - basic_machine=mmix-knuth
  563. - os=-mmixware
  564. - ;;
  565. monitor)
  566. basic_machine=m68k-rom68k
  567. os=-coff
  568. @@ -657,10 +828,21 @@ case $basic_machine in
  569. basic_machine=i386-pc
  570. os=-msdos
  571. ;;
  572. + ms1-*)
  573. + basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
  574. + ;;
  575. + msys)
  576. + basic_machine=i686-pc
  577. + os=-msys
  578. + ;;
  579. mvs)
  580. basic_machine=i370-ibm
  581. os=-mvs
  582. ;;
  583. + nacl)
  584. + basic_machine=le32-unknown
  585. + os=-nacl
  586. + ;;
  587. ncr3000)
  588. basic_machine=i486-ncr
  589. os=-sysv4
  590. @@ -725,9 +907,11 @@ case $basic_machine in
  591. np1)
  592. basic_machine=np1-gould
  593. ;;
  594. - nv1)
  595. - basic_machine=nv1-cray
  596. - os=-unicosmp
  597. + neo-tandem)
  598. + basic_machine=neo-tandem
  599. + ;;
  600. + nse-tandem)
  601. + basic_machine=nse-tandem
  602. ;;
  603. nsr-tandem)
  604. basic_machine=nsr-tandem
  605. @@ -736,9 +920,12 @@ case $basic_machine in
  606. basic_machine=hppa1.1-oki
  607. os=-proelf
  608. ;;
  609. - or32 | or32-*)
  610. + openrisc | openrisc-*)
  611. basic_machine=or32-unknown
  612. - os=-coff
  613. + ;;
  614. + os400)
  615. + basic_machine=powerpc-ibm
  616. + os=-os400
  617. ;;
  618. OSE68000 | ose68000)
  619. basic_machine=m68000-ericsson
  620. @@ -756,6 +943,14 @@ case $basic_machine in
  621. basic_machine=i860-intel
  622. os=-osf
  623. ;;
  624. + parisc)
  625. + basic_machine=hppa-unknown
  626. + os=-linux
  627. + ;;
  628. + parisc-*)
  629. + basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
  630. + os=-linux
  631. + ;;
  632. pbd)
  633. basic_machine=sparc-tti
  634. ;;
  635. @@ -765,32 +960,45 @@ case $basic_machine in
  636. pc532 | pc532-*)
  637. basic_machine=ns32k-pc532
  638. ;;
  639. + pc98)
  640. + basic_machine=i386-pc
  641. + ;;
  642. + pc98-*)
  643. + basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
  644. + ;;
  645. pentium | p5 | k5 | k6 | nexgen | viac3)
  646. basic_machine=i586-pc
  647. ;;
  648. pentiumpro | p6 | 6x86 | athlon | athlon_*)
  649. basic_machine=i686-pc
  650. ;;
  651. - pentiumii | pentium2)
  652. + pentiumii | pentium2 | pentiumiii | pentium3)
  653. basic_machine=i686-pc
  654. ;;
  655. + pentium4)
  656. + basic_machine=i786-pc
  657. + ;;
  658. pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
  659. basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
  660. ;;
  661. pentiumpro-* | p6-* | 6x86-* | athlon-*)
  662. basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
  663. ;;
  664. - pentiumii-* | pentium2-*)
  665. + pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
  666. basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
  667. ;;
  668. + pentium4-*)
  669. + basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
  670. + ;;
  671. pn)
  672. basic_machine=pn-gould
  673. ;;
  674. power) basic_machine=power-ibm
  675. ;;
  676. - ppc) basic_machine=powerpc-unknown
  677. + ppc | ppcbe) basic_machine=powerpc-unknown
  678. ;;
  679. - ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
  680. + ppc-* | ppcbe-*)
  681. + basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
  682. ;;
  683. ppcle | powerpclittle | ppc-le | powerpc-little)
  684. basic_machine=powerpcle-unknown
  685. @@ -815,6 +1023,14 @@ case $basic_machine in
  686. basic_machine=i586-unknown
  687. os=-pw32
  688. ;;
  689. + rdos | rdos64)
  690. + basic_machine=x86_64-pc
  691. + os=-rdos
  692. + ;;
  693. + rdos32)
  694. + basic_machine=i386-pc
  695. + os=-rdos
  696. + ;;
  697. rom68k)
  698. basic_machine=m68k-rom68k
  699. os=-coff
  700. @@ -841,6 +1057,14 @@ case $basic_machine in
  701. sb1el)
  702. basic_machine=mipsisa64sb1el-unknown
  703. ;;
  704. + sde)
  705. + basic_machine=mipsisa32-sde
  706. + os=-elf
  707. + ;;
  708. + sei)
  709. + basic_machine=mips-sei
  710. + os=-seiux
  711. + ;;
  712. sequent)
  713. basic_machine=i386-sequent
  714. ;;
  715. @@ -848,6 +1072,12 @@ case $basic_machine in
  716. basic_machine=sh-hitachi
  717. os=-hms
  718. ;;
  719. + sh5el)
  720. + basic_machine=sh5le-unknown
  721. + ;;
  722. + sh64)
  723. + basic_machine=sh64-unknown
  724. + ;;
  725. sparclite-wrs | simso-wrs)
  726. basic_machine=sparclite-wrs
  727. os=-vxworks
  728. @@ -866,6 +1096,9 @@ case $basic_machine in
  729. basic_machine=i860-stratus
  730. os=-sysv4
  731. ;;
  732. + strongarm-* | thumb-*)
  733. + basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
  734. + ;;
  735. sun2)
  736. basic_machine=m68000-sun
  737. ;;
  738. @@ -922,21 +1155,9 @@ case $basic_machine in
  739. basic_machine=t90-cray
  740. os=-unicos
  741. ;;
  742. - tic4x | c4x*)
  743. - basic_machine=tic4x-unknown
  744. - os=-coff
  745. - ;;
  746. - tic54x | c54x*)
  747. - basic_machine=tic54x-unknown
  748. - os=-coff
  749. - ;;
  750. - tic55x | c55x*)
  751. - basic_machine=tic55x-unknown
  752. - os=-coff
  753. - ;;
  754. - tic6x | c6x*)
  755. - basic_machine=tic6x-unknown
  756. - os=-coff
  757. + tile*)
  758. + basic_machine=$basic_machine-unknown
  759. + os=-linux-gnu
  760. ;;
  761. tx39)
  762. basic_machine=mipstx39-unknown
  763. @@ -951,6 +1172,10 @@ case $basic_machine in
  764. tower | tower-32)
  765. basic_machine=m68k-ncr
  766. ;;
  767. + tpf)
  768. + basic_machine=s390x-ibm
  769. + os=-tpf
  770. + ;;
  771. udi29k)
  772. basic_machine=a29k-amd
  773. os=-udi
  774. @@ -994,9 +1219,16 @@ case $basic_machine in
  775. basic_machine=hppa1.1-winbond
  776. os=-proelf
  777. ;;
  778. + xbox)
  779. + basic_machine=i686-pc
  780. + os=-mingw32
  781. + ;;
  782. xps | xps100)
  783. basic_machine=xps100-honeywell
  784. ;;
  785. + xscale-* | xscalee[bl]-*)
  786. + basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
  787. + ;;
  788. ymp)
  789. basic_machine=ymp-cray
  790. os=-unicos
  791. @@ -1005,6 +1237,10 @@ case $basic_machine in
  792. basic_machine=z8k-unknown
  793. os=-sim
  794. ;;
  795. + z80-*-coff)
  796. + basic_machine=z80-unknown
  797. + os=-sim
  798. + ;;
  799. none)
  800. basic_machine=none-none
  801. os=-none
  802. @@ -1024,6 +1260,9 @@ case $basic_machine in
  803. romp)
  804. basic_machine=romp-ibm
  805. ;;
  806. + mmix)
  807. + basic_machine=mmix-knuth
  808. + ;;
  809. rs6000)
  810. basic_machine=rs6000-ibm
  811. ;;
  812. @@ -1040,13 +1279,10 @@ case $basic_machine in
  813. we32k)
  814. basic_machine=we32k-att
  815. ;;
  816. - sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
  817. + sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
  818. basic_machine=sh-unknown
  819. ;;
  820. - sh64)
  821. - basic_machine=sh64-unknown
  822. - ;;
  823. - sparc | sparcv9 | sparcv9b)
  824. + sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
  825. basic_machine=sparc-sun
  826. ;;
  827. cydra)
  828. @@ -1090,9 +1326,12 @@ esac
  829. if [ x"$os" != x"" ]
  830. then
  831. case $os in
  832. - # First match some system type aliases
  833. - # that might get confused with valid system types.
  834. + # First match some system type aliases
  835. + # that might get confused with valid system types.
  836. # -solaris* is a basic system type, with this one exception.
  837. + -auroraux)
  838. + os=-auroraux
  839. + ;;
  840. -solaris1 | -solaris1.*)
  841. os=`echo $os | sed -e 's|solaris1|sunos4|'`
  842. ;;
  843. @@ -1113,25 +1352,31 @@ case $os in
  844. # Each alternative MUST END IN A *, to match a version number.
  845. # -sysv* is not here because it comes later, after sysvr4.
  846. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
  847. - | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
  848. - | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
  849. + | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
  850. + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
  851. + | -sym* | -kopensolaris* | -plan9* \
  852. | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
  853. - | -aos* \
  854. + | -aos* | -aros* \
  855. | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
  856. | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
  857. - | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
  858. - | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
  859. + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
  860. + | -bitrig* | -openbsd* | -solidbsd* \
  861. + | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
  862. + | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
  863. | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
  864. | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
  865. - | -chorusos* | -chorusrdb* \
  866. - | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
  867. - | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
  868. + | -chorusos* | -chorusrdb* | -cegcc* \
  869. + | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
  870. + | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
  871. + | -linux-newlib* | -linux-musl* | -linux-uclibc* \
  872. + | -uxpv* | -beos* | -mpeix* | -udk* \
  873. | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
  874. | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
  875. | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
  876. | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
  877. | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
  878. - | -powermax* | -dnix*)
  879. + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
  880. + | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
  881. # Remember, each alternative MUST END IN *, to match a version number.
  882. ;;
  883. -qnx*)
  884. @@ -1149,12 +1394,15 @@ case $os in
  885. os=`echo $os | sed -e 's|nto|nto-qnx|'`
  886. ;;
  887. -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
  888. - | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
  889. + | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
  890. | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
  891. ;;
  892. -mac*)
  893. os=`echo $os | sed -e 's|mac|macos|'`
  894. ;;
  895. + -linux-dietlibc)
  896. + os=-linux-dietlibc
  897. + ;;
  898. -linux*)
  899. os=`echo $os | sed -e 's|linux|linux-gnu|'`
  900. ;;
  901. @@ -1167,6 +1415,9 @@ case $os in
  902. -opened*)
  903. os=-openedition
  904. ;;
  905. + -os400*)
  906. + os=-os400
  907. + ;;
  908. -wince*)
  909. os=-wince
  910. ;;
  911. @@ -1188,6 +1439,9 @@ case $os in
  912. -atheos*)
  913. os=-atheos
  914. ;;
  915. + -syllable*)
  916. + os=-syllable
  917. + ;;
  918. -386bsd)
  919. os=-bsd
  920. ;;
  921. @@ -1210,6 +1464,9 @@ case $os in
  922. -sinix*)
  923. os=-sysv4
  924. ;;
  925. + -tpf*)
  926. + os=-tpf
  927. + ;;
  928. -triton*)
  929. os=-sysv3
  930. ;;
  931. @@ -1243,8 +1500,13 @@ case $os in
  932. -aros*)
  933. os=-aros
  934. ;;
  935. - -kaos*)
  936. - os=-kaos
  937. + -zvmoe)
  938. + os=-zvmoe
  939. + ;;
  940. + -dicos*)
  941. + os=-dicos
  942. + ;;
  943. + -nacl*)
  944. ;;
  945. -none)
  946. ;;
  947. @@ -1268,6 +1530,12 @@ else
  948. # system, and we'll never get to this point.
  949. case $basic_machine in
  950. + score-*)
  951. + os=-elf
  952. + ;;
  953. + spu-*)
  954. + os=-elf
  955. + ;;
  956. *-acorn)
  957. os=-riscix1.2
  958. ;;
  959. @@ -1277,6 +1545,24 @@ case $basic_machine in
  960. arm*-semi)
  961. os=-aout
  962. ;;
  963. + c4x-* | tic4x-*)
  964. + os=-coff
  965. + ;;
  966. + c8051-*)
  967. + os=-elf
  968. + ;;
  969. + hexagon-*)
  970. + os=-elf
  971. + ;;
  972. + tic54x-*)
  973. + os=-coff
  974. + ;;
  975. + tic55x-*)
  976. + os=-coff
  977. + ;;
  978. + tic6x-*)
  979. + os=-coff
  980. + ;;
  981. # This must come before the *-dec entry.
  982. pdp10-*)
  983. os=-tops20
  984. @@ -1295,19 +1581,22 @@ case $basic_machine in
  985. ;;
  986. m68000-sun)
  987. os=-sunos3
  988. - # This also exists in the configure program, but was not the
  989. - # default.
  990. - # os=-sunos4
  991. ;;
  992. m68*-cisco)
  993. os=-aout
  994. ;;
  995. + mep-*)
  996. + os=-elf
  997. + ;;
  998. mips*-cisco)
  999. os=-elf
  1000. ;;
  1001. mips*-*)
  1002. os=-elf
  1003. ;;
  1004. + or1k-*)
  1005. + os=-elf
  1006. + ;;
  1007. or32-*)
  1008. os=-coff
  1009. ;;
  1010. @@ -1320,9 +1609,15 @@ case $basic_machine in
  1011. *-be)
  1012. os=-beos
  1013. ;;
  1014. + *-haiku)
  1015. + os=-haiku
  1016. + ;;
  1017. *-ibm)
  1018. os=-aix
  1019. ;;
  1020. + *-knuth)
  1021. + os=-mmixware
  1022. + ;;
  1023. *-wec)
  1024. os=-proelf
  1025. ;;
  1026. @@ -1425,7 +1720,7 @@ case $basic_machine in
  1027. -sunos*)
  1028. vendor=sun
  1029. ;;
  1030. - -aix*)
  1031. + -cnk*|-aix*)
  1032. vendor=ibm
  1033. ;;
  1034. -beos*)
  1035. @@ -1455,9 +1750,15 @@ case $basic_machine in
  1036. -mvs* | -opened*)
  1037. vendor=ibm
  1038. ;;
  1039. + -os400*)
  1040. + vendor=ibm
  1041. + ;;
  1042. -ptx*)
  1043. vendor=sequent
  1044. ;;
  1045. + -tpf*)
  1046. + vendor=ibm
  1047. + ;;
  1048. -vxsim* | -vxworks* | -windiss*)
  1049. vendor=wrs
  1050. ;;
  1051. @@ -1482,7 +1783,7 @@ case $basic_machine in
  1052. esac
  1053. echo $basic_machine$os
  1054. -exit 0
  1055. +exit
  1056. # Local variables:
  1057. # eval: (add-hook 'write-file-hooks 'time-stamp)