patch-lib_libmad_config_sub 19 KB

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