patch-lib_libmicrohttpd_config_sub 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636
  1. --- xbmc-imx6-13.2.orig/lib/libmicrohttpd/config.sub 2014-09-02 13:26:18.000000000 +0200
  2. +++ xbmc-imx6-13.2/lib/libmicrohttpd/config.sub 2014-08-18 15:18:32.461397057 +0200
  3. @@ -1,38 +1,31 @@
  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, 2009
  8. -# Free Software Foundation, Inc.
  9. +# Copyright 1992-2014 Free Software Foundation, Inc.
  10. -timestamp='2009-11-20'
  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 GNU 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. @@ -75,8 +68,7 @@ Report bugs and patches to <config-patch
  53. version="\
  54. GNU config.sub ($timestamp)
  55. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
  56. -2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  57. +Copyright 1992-2014 Free Software Foundation, Inc.
  58. This is free software; see the source for copying conditions. There is NO
  59. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
  60. @@ -123,13 +115,18 @@ esac
  61. # Here we must recognize all the valid KERNEL-OS combinations.
  62. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
  63. case $maybe_os in
  64. - nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
  65. - uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
  66. + nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
  67. + linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
  68. + knetbsd*-gnu* | netbsd*-gnu* | \
  69. kopensolaris*-gnu* | \
  70. storm-chaos* | os2-emx* | rtmk-nova*)
  71. os=-$maybe_os
  72. basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
  73. ;;
  74. + android-linux)
  75. + os=-linux-android
  76. + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
  77. + ;;
  78. *)
  79. basic_machine=`echo $1 | sed 's/-[^-]*$//'`
  80. if [ $basic_machine != $1 ]
  81. @@ -152,12 +149,12 @@ case $os in
  82. -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
  83. -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
  84. -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
  85. - -apple | -axis | -knuth | -cray | -microblaze)
  86. + -apple | -axis | -knuth | -cray | -microblaze*)
  87. os=
  88. basic_machine=$1
  89. ;;
  90. - -bluegene*)
  91. - os=-cnk
  92. + -bluegene*)
  93. + os=-cnk
  94. ;;
  95. -sim | -cisco | -oki | -wec | -winbond)
  96. os=
  97. @@ -173,10 +170,10 @@ case $os in
  98. os=-chorusos
  99. basic_machine=$1
  100. ;;
  101. - -chorusrdb)
  102. - os=-chorusrdb
  103. + -chorusrdb)
  104. + os=-chorusrdb
  105. basic_machine=$1
  106. - ;;
  107. + ;;
  108. -hiux*)
  109. os=-hiuxwe2
  110. ;;
  111. @@ -221,6 +218,12 @@ case $os in
  112. -isc*)
  113. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  114. ;;
  115. + -lynx*178)
  116. + os=-lynxos178
  117. + ;;
  118. + -lynx*5)
  119. + os=-lynxos5
  120. + ;;
  121. -lynx*)
  122. os=-lynxos
  123. ;;
  124. @@ -245,20 +248,28 @@ case $basic_machine in
  125. # Some are omitted here because they have special meanings below.
  126. 1750a | 580 \
  127. | a29k \
  128. + | aarch64 | aarch64_be \
  129. | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
  130. | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
  131. | am33_2.0 \
  132. - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
  133. + | arc | arceb \
  134. + | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
  135. + | avr | avr32 \
  136. + | be32 | be64 \
  137. | bfin \
  138. - | c4x | clipper \
  139. + | c4x | c8051 | clipper \
  140. | d10v | d30v | dlx | dsp16xx \
  141. + | epiphany \
  142. | fido | fr30 | frv \
  143. | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
  144. + | hexagon \
  145. | i370 | i860 | i960 | ia64 \
  146. | ip2k | iq2000 \
  147. + | k1om \
  148. + | le32 | le64 \
  149. | lm32 \
  150. | m32c | m32r | m32rle | m68000 | m68k | m88k \
  151. - | maxq | mb | microblaze | mcore | mep | metag \
  152. + | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
  153. | mips | mipsbe | mipseb | mipsel | mipsle \
  154. | mips16 \
  155. | mips64 | mips64el \
  156. @@ -276,34 +287,45 @@ case $basic_machine in
  157. | mipsisa64r2 | mipsisa64r2el \
  158. | mipsisa64sb1 | mipsisa64sb1el \
  159. | mipsisa64sr71k | mipsisa64sr71kel \
  160. + | mipsr5900 | mipsr5900el \
  161. | mipstx39 | mipstx39el \
  162. | mn10200 | mn10300 \
  163. | moxie \
  164. | mt \
  165. | msp430 \
  166. - | nios | nios2 \
  167. + | nds32 | nds32le | nds32be \
  168. + | nios | nios2 | nios2eb | nios2el \
  169. | ns16k | ns32k \
  170. - | or32 \
  171. + | open8 \
  172. + | or1k | or32 \
  173. | pdp10 | pdp11 | pj | pjl \
  174. - | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
  175. + | powerpc | powerpc64 | powerpc64le | powerpcle \
  176. | pyramid \
  177. - | rx \
  178. + | rl78 | rx \
  179. | score \
  180. | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
  181. | sh64 | sh64le \
  182. | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
  183. | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
  184. - | spu | strongarm \
  185. - | tahoe | thumb | tic4x | tic80 | tron \
  186. + | spu \
  187. + | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
  188. | ubicom32 \
  189. - | v850 | v850e \
  190. + | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
  191. | we32k \
  192. - | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
  193. + | x86 | xc16x | xstormy16 | xtensa \
  194. | z8k | z80)
  195. basic_machine=$basic_machine-unknown
  196. ;;
  197. - m6811 | m68hc11 | m6812 | m68hc12 | picochip)
  198. - # Motorola 68HC11/12.
  199. + c54x)
  200. + basic_machine=tic54x-unknown
  201. + ;;
  202. + c55x)
  203. + basic_machine=tic55x-unknown
  204. + ;;
  205. + c6x)
  206. + basic_machine=tic6x-unknown
  207. + ;;
  208. + m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
  209. basic_machine=$basic_machine-unknown
  210. os=-none
  211. ;;
  212. @@ -313,6 +335,21 @@ case $basic_machine in
  213. basic_machine=mt-unknown
  214. ;;
  215. + strongarm | thumb | xscale)
  216. + basic_machine=arm-unknown
  217. + ;;
  218. + xgate)
  219. + basic_machine=$basic_machine-unknown
  220. + os=-none
  221. + ;;
  222. + xscaleeb)
  223. + basic_machine=armeb-unknown
  224. + ;;
  225. +
  226. + xscaleel)
  227. + basic_machine=armel-unknown
  228. + ;;
  229. +
  230. # We use `pc' rather than `unknown'
  231. # because (1) that's what they normally are, and
  232. # (2) the word "unknown" tends to confuse beginning users.
  233. @@ -327,25 +364,31 @@ case $basic_machine in
  234. # Recognize the basic CPU types with company name.
  235. 580-* \
  236. | a29k-* \
  237. + | aarch64-* | aarch64_be-* \
  238. | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
  239. | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
  240. - | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
  241. + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
  242. | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
  243. | avr-* | avr32-* \
  244. + | be32-* | be64-* \
  245. | bfin-* | bs2000-* \
  246. - | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
  247. - | clipper-* | craynv-* | cydra-* \
  248. + | c[123]* | c30-* | [cjt]90-* | c4x-* \
  249. + | c8051-* | clipper-* | craynv-* | cydra-* \
  250. | d10v-* | d30v-* | dlx-* \
  251. | elxsi-* \
  252. | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
  253. | h8300-* | h8500-* \
  254. | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
  255. + | hexagon-* \
  256. | i*86-* | i860-* | i960-* | ia64-* \
  257. | ip2k-* | iq2000-* \
  258. + | k1om-* \
  259. + | le32-* | le64-* \
  260. | lm32-* \
  261. | m32c-* | m32r-* | m32rle-* \
  262. | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
  263. - | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
  264. + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
  265. + | microblaze-* | microblazeel-* \
  266. | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
  267. | mips16-* \
  268. | mips64-* | mips64el-* \
  269. @@ -363,29 +406,34 @@ case $basic_machine in
  270. | mipsisa64r2-* | mipsisa64r2el-* \
  271. | mipsisa64sb1-* | mipsisa64sb1el-* \
  272. | mipsisa64sr71k-* | mipsisa64sr71kel-* \
  273. + | mipsr5900-* | mipsr5900el-* \
  274. | mipstx39-* | mipstx39el-* \
  275. | mmix-* \
  276. | mt-* \
  277. | msp430-* \
  278. - | nios-* | nios2-* \
  279. + | nds32-* | nds32le-* | nds32be-* \
  280. + | nios-* | nios2-* | nios2eb-* | nios2el-* \
  281. | none-* | np1-* | ns16k-* | ns32k-* \
  282. + | open8-* \
  283. | orion-* \
  284. | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
  285. - | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
  286. + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
  287. | pyramid-* \
  288. - | romp-* | rs6000-* | rx-* \
  289. + | rl78-* | romp-* | rs6000-* | rx-* \
  290. | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
  291. | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
  292. | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
  293. | sparclite-* \
  294. - | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
  295. - | tahoe-* | thumb-* \
  296. - | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
  297. + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
  298. + | tahoe-* \
  299. + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
  300. + | tile*-* \
  301. | tron-* \
  302. | ubicom32-* \
  303. - | v850-* | v850e-* | vax-* \
  304. + | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
  305. + | vax-* \
  306. | we32k-* \
  307. - | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
  308. + | x86-* | x86_64-* | xc16x-* | xps100-* \
  309. | xstormy16-* | xtensa*-* \
  310. | ymp-* \
  311. | z8k-* | z80-*)
  312. @@ -410,7 +458,7 @@ case $basic_machine in
  313. basic_machine=a29k-amd
  314. os=-udi
  315. ;;
  316. - abacus)
  317. + abacus)
  318. basic_machine=abacus-unknown
  319. ;;
  320. adobe68k)
  321. @@ -480,11 +528,20 @@ case $basic_machine in
  322. basic_machine=powerpc-ibm
  323. os=-cnk
  324. ;;
  325. + c54x-*)
  326. + basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
  327. + ;;
  328. + c55x-*)
  329. + basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
  330. + ;;
  331. + c6x-*)
  332. + basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
  333. + ;;
  334. c90)
  335. basic_machine=c90-cray
  336. os=-unicos
  337. ;;
  338. - cegcc)
  339. + cegcc)
  340. basic_machine=arm-unknown
  341. os=-cegcc
  342. ;;
  343. @@ -516,7 +573,7 @@ case $basic_machine in
  344. basic_machine=craynv-cray
  345. os=-unicosmp
  346. ;;
  347. - cr16)
  348. + cr16 | cr16-*)
  349. basic_machine=cr16-unknown
  350. os=-elf
  351. ;;
  352. @@ -674,7 +731,6 @@ case $basic_machine in
  353. i370-ibm* | ibm*)
  354. basic_machine=i370-ibm
  355. ;;
  356. -# I'm not sure what "Sysv32" means. Should this be sysv3.2?
  357. i*86v32)
  358. basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
  359. os=-sysv32
  360. @@ -732,11 +788,15 @@ case $basic_machine in
  361. basic_machine=ns32k-utek
  362. os=-sysv
  363. ;;
  364. - microblaze)
  365. + microblaze*)
  366. basic_machine=microblaze-xilinx
  367. ;;
  368. + mingw64)
  369. + basic_machine=x86_64-pc
  370. + os=-mingw64
  371. + ;;
  372. mingw32)
  373. - basic_machine=i386-pc
  374. + basic_machine=i686-pc
  375. os=-mingw32
  376. ;;
  377. mingw32ce)
  378. @@ -771,10 +831,18 @@ case $basic_machine in
  379. ms1-*)
  380. basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
  381. ;;
  382. + msys)
  383. + basic_machine=i686-pc
  384. + os=-msys
  385. + ;;
  386. mvs)
  387. basic_machine=i370-ibm
  388. os=-mvs
  389. ;;
  390. + nacl)
  391. + basic_machine=le32-unknown
  392. + os=-nacl
  393. + ;;
  394. ncr3000)
  395. basic_machine=i486-ncr
  396. os=-sysv4
  397. @@ -839,6 +907,12 @@ case $basic_machine in
  398. np1)
  399. basic_machine=np1-gould
  400. ;;
  401. + neo-tandem)
  402. + basic_machine=neo-tandem
  403. + ;;
  404. + nse-tandem)
  405. + basic_machine=nse-tandem
  406. + ;;
  407. nsr-tandem)
  408. basic_machine=nsr-tandem
  409. ;;
  410. @@ -921,9 +995,10 @@ case $basic_machine in
  411. ;;
  412. power) basic_machine=power-ibm
  413. ;;
  414. - ppc) basic_machine=powerpc-unknown
  415. + ppc | ppcbe) basic_machine=powerpc-unknown
  416. ;;
  417. - ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
  418. + ppc-* | ppcbe-*)
  419. + basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
  420. ;;
  421. ppcle | powerpclittle | ppc-le | powerpc-little)
  422. basic_machine=powerpcle-unknown
  423. @@ -948,7 +1023,11 @@ case $basic_machine in
  424. basic_machine=i586-unknown
  425. os=-pw32
  426. ;;
  427. - rdos)
  428. + rdos | rdos64)
  429. + basic_machine=x86_64-pc
  430. + os=-rdos
  431. + ;;
  432. + rdos32)
  433. basic_machine=i386-pc
  434. os=-rdos
  435. ;;
  436. @@ -1017,6 +1096,9 @@ case $basic_machine in
  437. basic_machine=i860-stratus
  438. os=-sysv4
  439. ;;
  440. + strongarm-* | thumb-*)
  441. + basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
  442. + ;;
  443. sun2)
  444. basic_machine=m68000-sun
  445. ;;
  446. @@ -1073,20 +1155,8 @@ case $basic_machine in
  447. basic_machine=t90-cray
  448. os=-unicos
  449. ;;
  450. - tic54x | c54x*)
  451. - basic_machine=tic54x-unknown
  452. - os=-coff
  453. - ;;
  454. - tic55x | c55x*)
  455. - basic_machine=tic55x-unknown
  456. - os=-coff
  457. - ;;
  458. - tic6x | c6x*)
  459. - basic_machine=tic6x-unknown
  460. - os=-coff
  461. - ;;
  462. tile*)
  463. - basic_machine=tile-unknown
  464. + basic_machine=$basic_machine-unknown
  465. os=-linux-gnu
  466. ;;
  467. tx39)
  468. @@ -1156,6 +1226,9 @@ case $basic_machine in
  469. xps | xps100)
  470. basic_machine=xps100-honeywell
  471. ;;
  472. + xscale-* | xscalee[bl]-*)
  473. + basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
  474. + ;;
  475. ymp)
  476. basic_machine=ymp-cray
  477. os=-unicos
  478. @@ -1253,11 +1326,11 @@ esac
  479. if [ x"$os" != x"" ]
  480. then
  481. case $os in
  482. - # First match some system type aliases
  483. - # that might get confused with valid system types.
  484. + # First match some system type aliases
  485. + # that might get confused with valid system types.
  486. # -solaris* is a basic system type, with this one exception.
  487. - -auroraux)
  488. - os=-auroraux
  489. + -auroraux)
  490. + os=-auroraux
  491. ;;
  492. -solaris1 | -solaris1.*)
  493. os=`echo $os | sed -e 's|solaris1|sunos4|'`
  494. @@ -1281,20 +1354,21 @@ case $os in
  495. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
  496. | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
  497. | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
  498. - | -sym* | -kopensolaris* \
  499. + | -sym* | -kopensolaris* | -plan9* \
  500. | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
  501. | -aos* | -aros* \
  502. | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
  503. | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
  504. | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
  505. - | -openbsd* | -solidbsd* \
  506. + | -bitrig* | -openbsd* | -solidbsd* \
  507. | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
  508. | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
  509. | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
  510. | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
  511. | -chorusos* | -chorusrdb* | -cegcc* \
  512. - | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
  513. - | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
  514. + | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
  515. + | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
  516. + | -linux-newlib* | -linux-musl* | -linux-uclibc* \
  517. | -uxpv* | -beos* | -mpeix* | -udk* \
  518. | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
  519. | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
  520. @@ -1341,7 +1415,7 @@ case $os in
  521. -opened*)
  522. os=-openedition
  523. ;;
  524. - -os400*)
  525. + -os400*)
  526. os=-os400
  527. ;;
  528. -wince*)
  529. @@ -1390,7 +1464,7 @@ case $os in
  530. -sinix*)
  531. os=-sysv4
  532. ;;
  533. - -tpf*)
  534. + -tpf*)
  535. os=-tpf
  536. ;;
  537. -triton*)
  538. @@ -1426,15 +1500,14 @@ case $os in
  539. -aros*)
  540. os=-aros
  541. ;;
  542. - -kaos*)
  543. - os=-kaos
  544. - ;;
  545. -zvmoe)
  546. os=-zvmoe
  547. ;;
  548. -dicos*)
  549. os=-dicos
  550. ;;
  551. + -nacl*)
  552. + ;;
  553. -none)
  554. ;;
  555. *)
  556. @@ -1457,10 +1530,10 @@ else
  557. # system, and we'll never get to this point.
  558. case $basic_machine in
  559. - score-*)
  560. + score-*)
  561. os=-elf
  562. ;;
  563. - spu-*)
  564. + spu-*)
  565. os=-elf
  566. ;;
  567. *-acorn)
  568. @@ -1472,8 +1545,23 @@ case $basic_machine in
  569. arm*-semi)
  570. os=-aout
  571. ;;
  572. - c4x-* | tic4x-*)
  573. - os=-coff
  574. + c4x-* | tic4x-*)
  575. + os=-coff
  576. + ;;
  577. + c8051-*)
  578. + os=-elf
  579. + ;;
  580. + hexagon-*)
  581. + os=-elf
  582. + ;;
  583. + tic54x-*)
  584. + os=-coff
  585. + ;;
  586. + tic55x-*)
  587. + os=-coff
  588. + ;;
  589. + tic6x-*)
  590. + os=-coff
  591. ;;
  592. # This must come before the *-dec entry.
  593. pdp10-*)
  594. @@ -1493,14 +1581,11 @@ case $basic_machine in
  595. ;;
  596. m68000-sun)
  597. os=-sunos3
  598. - # This also exists in the configure program, but was not the
  599. - # default.
  600. - # os=-sunos4
  601. ;;
  602. m68*-cisco)
  603. os=-aout
  604. ;;
  605. - mep-*)
  606. + mep-*)
  607. os=-elf
  608. ;;
  609. mips*-cisco)
  610. @@ -1509,6 +1594,9 @@ case $basic_machine in
  611. mips*-*)
  612. os=-elf
  613. ;;
  614. + or1k-*)
  615. + os=-elf
  616. + ;;
  617. or32-*)
  618. os=-coff
  619. ;;
  620. @@ -1527,7 +1615,7 @@ case $basic_machine in
  621. *-ibm)
  622. os=-aix
  623. ;;
  624. - *-knuth)
  625. + *-knuth)
  626. os=-mmixware
  627. ;;
  628. *-wec)