patch-build-aux_config_sub 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614
  1. --- gnutls-3.0.15.orig/build-aux/config.sub 2012-03-01 23:44:28.000000000 +0100
  2. +++ gnutls-3.0.15/build-aux/config.sub 2010-12-15 23:48:33.000000000 +0100
  3. @@ -1,10 +1,10 @@
  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, 2010,
  8. -# 2011, 2012 Free Software Foundation, Inc.
  9. +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
  10. +# Free Software Foundation, Inc.
  11. -timestamp='2012-02-10'
  12. +timestamp='2008-09-08'
  13. # This file is (in principle) common to ALL GNU software.
  14. # The presence of a machine in this file suggests that SOME GNU software
  15. @@ -21,7 +21,9 @@ timestamp='2012-02-10'
  16. # GNU General Public License for more details.
  17. #
  18. # You should have received a copy of the GNU General Public License
  19. -# along with this program; if not, see <http://www.gnu.org/licenses/>.
  20. +# along with this program; if not, write to the Free Software
  21. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
  22. +# 02110-1301, USA.
  23. #
  24. # As a special exception to the GNU General Public License, if you
  25. # distribute this file as part of a program that contains a
  26. @@ -30,16 +32,13 @@ timestamp='2012-02-10'
  27. # Please send patches to <config-patches@gnu.org>. Submit a context
  28. -# diff and a properly formatted GNU ChangeLog entry.
  29. +# diff and a properly formatted ChangeLog entry.
  30. #
  31. # Configuration subroutine to validate and canonicalize a configuration type.
  32. # Supply the specified configuration type as an argument.
  33. # If it is invalid, we print an error message on stderr and exit with code 1.
  34. # Otherwise, we print the canonical config type on stdout and succeed.
  35. -# You can get the latest version of this script from:
  36. -# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
  37. -
  38. # This file is supposed to be the same for all GNU packages
  39. # and recognize all the CPU types, system types and aliases
  40. # that are meaningful with *any* GNU software.
  41. @@ -73,9 +72,8 @@ Report bugs and patches to <config-patch
  42. version="\
  43. GNU config.sub ($timestamp)
  44. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
  45. -2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
  46. -Free Software Foundation, Inc.
  47. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
  48. +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  49. This is free software; see the source for copying conditions. There is NO
  50. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
  51. @@ -122,18 +120,12 @@ esac
  52. # Here we must recognize all the valid KERNEL-OS combinations.
  53. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
  54. case $maybe_os in
  55. - nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
  56. - linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
  57. - knetbsd*-gnu* | netbsd*-gnu* | \
  58. - kopensolaris*-gnu* | \
  59. + nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
  60. + uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
  61. storm-chaos* | os2-emx* | rtmk-nova*)
  62. os=-$maybe_os
  63. basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
  64. ;;
  65. - android-linux)
  66. - os=-linux-android
  67. - basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
  68. - ;;
  69. *)
  70. basic_machine=`echo $1 | sed 's/-[^-]*$//'`
  71. if [ $basic_machine != $1 ]
  72. @@ -156,13 +148,10 @@ case $os in
  73. -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
  74. -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
  75. -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
  76. - -apple | -axis | -knuth | -cray | -microblaze)
  77. + -apple | -axis | -knuth | -cray)
  78. os=
  79. basic_machine=$1
  80. ;;
  81. - -bluegene*)
  82. - os=-cnk
  83. - ;;
  84. -sim | -cisco | -oki | -wec | -winbond)
  85. os=
  86. basic_machine=$1
  87. @@ -177,10 +166,10 @@ case $os in
  88. os=-chorusos
  89. basic_machine=$1
  90. ;;
  91. - -chorusrdb)
  92. - os=-chorusrdb
  93. + -chorusrdb)
  94. + os=-chorusrdb
  95. basic_machine=$1
  96. - ;;
  97. + ;;
  98. -hiux*)
  99. os=-hiuxwe2
  100. ;;
  101. @@ -249,23 +238,17 @@ case $basic_machine in
  102. # Some are omitted here because they have special meanings below.
  103. 1750a | 580 \
  104. | a29k \
  105. - | aarch64 | aarch64_be \
  106. | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
  107. | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
  108. | am33_2.0 \
  109. | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
  110. - | be32 | be64 \
  111. | bfin \
  112. | c4x | clipper \
  113. - | d10v | d30v | dlx | dsp16xx \
  114. - | epiphany \
  115. + | d10v | d30v | dlx | dsp16xx | dvp \
  116. | fido | fr30 | frv \
  117. | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
  118. - | hexagon \
  119. | i370 | i860 | i960 | ia64 \
  120. | ip2k | iq2000 \
  121. - | le32 | le64 \
  122. - | lm32 \
  123. | m32c | m32r | m32rle | m68000 | m68k | m88k \
  124. | maxq | mb | microblaze | mcore | mep | metag \
  125. | mips | mipsbe | mipseb | mipsel | mipsle \
  126. @@ -287,42 +270,29 @@ case $basic_machine in
  127. | mipsisa64sr71k | mipsisa64sr71kel \
  128. | mipstx39 | mipstx39el \
  129. | mn10200 | mn10300 \
  130. - | moxie \
  131. | mt \
  132. | msp430 \
  133. - | nds32 | nds32le | nds32be \
  134. | nios | nios2 \
  135. | ns16k | ns32k \
  136. - | open8 \
  137. | or32 \
  138. | pdp10 | pdp11 | pj | pjl \
  139. - | powerpc | powerpc64 | powerpc64le | powerpcle \
  140. + | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
  141. | pyramid \
  142. - | rl78 | rx \
  143. | score \
  144. - | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
  145. + | sh | sh[1234] | sh[24]a | sh[24]a*eb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
  146. | sh64 | sh64le \
  147. | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
  148. | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
  149. - | spu \
  150. - | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
  151. - | ubicom32 \
  152. - | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
  153. + | spu | strongarm \
  154. + | tahoe | thumb | tic4x | tic80 | tron \
  155. + | v850 | v850e \
  156. | we32k \
  157. - | x86 | xc16x | xstormy16 | xtensa \
  158. + | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
  159. | z8k | z80)
  160. basic_machine=$basic_machine-unknown
  161. ;;
  162. - c54x)
  163. - basic_machine=tic54x-unknown
  164. - ;;
  165. - c55x)
  166. - basic_machine=tic55x-unknown
  167. - ;;
  168. - c6x)
  169. - basic_machine=tic6x-unknown
  170. - ;;
  171. - m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
  172. + m6811 | m68hc11 | m6812 | m68hc12)
  173. + # Motorola 68HC11/12.
  174. basic_machine=$basic_machine-unknown
  175. os=-none
  176. ;;
  177. @@ -332,21 +302,6 @@ case $basic_machine in
  178. basic_machine=mt-unknown
  179. ;;
  180. - strongarm | thumb | xscale)
  181. - basic_machine=arm-unknown
  182. - ;;
  183. - xgate)
  184. - basic_machine=$basic_machine-unknown
  185. - os=-none
  186. - ;;
  187. - xscaleeb)
  188. - basic_machine=armeb-unknown
  189. - ;;
  190. -
  191. - xscaleel)
  192. - basic_machine=armel-unknown
  193. - ;;
  194. -
  195. # We use `pc' rather than `unknown'
  196. # because (1) that's what they normally are, and
  197. # (2) the word "unknown" tends to confuse beginning users.
  198. @@ -361,29 +316,24 @@ case $basic_machine in
  199. # Recognize the basic CPU types with company name.
  200. 580-* \
  201. | a29k-* \
  202. - | aarch64-* | aarch64_be-* \
  203. | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
  204. | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
  205. | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
  206. | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
  207. | avr-* | avr32-* \
  208. - | be32-* | be64-* \
  209. | bfin-* | bs2000-* \
  210. - | c[123]* | c30-* | [cjt]90-* | c4x-* \
  211. + | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
  212. | clipper-* | craynv-* | cydra-* \
  213. | d10v-* | d30v-* | dlx-* \
  214. | elxsi-* \
  215. | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
  216. | h8300-* | h8500-* \
  217. | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
  218. - | hexagon-* \
  219. | i*86-* | i860-* | i960-* | ia64-* \
  220. | ip2k-* | iq2000-* \
  221. - | le32-* | le64-* \
  222. - | lm32-* \
  223. | m32c-* | m32r-* | m32rle-* \
  224. | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
  225. - | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
  226. + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
  227. | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
  228. | mips16-* \
  229. | mips64-* | mips64el-* \
  230. @@ -405,29 +355,24 @@ case $basic_machine in
  231. | mmix-* \
  232. | mt-* \
  233. | msp430-* \
  234. - | nds32-* | nds32le-* | nds32be-* \
  235. | nios-* | nios2-* \
  236. | none-* | np1-* | ns16k-* | ns32k-* \
  237. - | open8-* \
  238. | orion-* \
  239. | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
  240. - | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
  241. + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
  242. | pyramid-* \
  243. - | rl78-* | romp-* | rs6000-* | rx-* \
  244. - | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
  245. + | romp-* | rs6000-* \
  246. + | sh-* | sh[1234]-* | sh[24]a-* | sh[24]a*eb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
  247. | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
  248. | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
  249. | sparclite-* \
  250. - | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
  251. - | tahoe-* \
  252. - | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
  253. - | tile*-* \
  254. + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
  255. + | tahoe-* | thumb-* \
  256. + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
  257. | tron-* \
  258. - | ubicom32-* \
  259. - | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
  260. - | vax-* \
  261. + | v850-* | v850e-* | vax-* \
  262. | we32k-* \
  263. - | x86-* | x86_64-* | xc16x-* | xps100-* \
  264. + | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
  265. | xstormy16-* | xtensa*-* \
  266. | ymp-* \
  267. | z8k-* | z80-*)
  268. @@ -452,7 +397,7 @@ case $basic_machine in
  269. basic_machine=a29k-amd
  270. os=-udi
  271. ;;
  272. - abacus)
  273. + abacus)
  274. basic_machine=abacus-unknown
  275. ;;
  276. adobe68k)
  277. @@ -498,10 +443,6 @@ case $basic_machine in
  278. basic_machine=m68k-apollo
  279. os=-bsd
  280. ;;
  281. - aros)
  282. - basic_machine=i386-pc
  283. - os=-aros
  284. - ;;
  285. aux)
  286. basic_machine=m68k-apple
  287. os=-aux
  288. @@ -518,24 +459,11 @@ case $basic_machine in
  289. basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
  290. os=-linux
  291. ;;
  292. - bluegene*)
  293. - basic_machine=powerpc-ibm
  294. - os=-cnk
  295. - ;;
  296. - c54x-*)
  297. - basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
  298. - ;;
  299. - c55x-*)
  300. - basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
  301. - ;;
  302. - c6x-*)
  303. - basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
  304. - ;;
  305. c90)
  306. basic_machine=c90-cray
  307. os=-unicos
  308. ;;
  309. - cegcc)
  310. + cegcc)
  311. basic_machine=arm-unknown
  312. os=-cegcc
  313. ;;
  314. @@ -567,7 +495,7 @@ case $basic_machine in
  315. basic_machine=craynv-cray
  316. os=-unicosmp
  317. ;;
  318. - cr16 | cr16-*)
  319. + cr16)
  320. basic_machine=cr16-unknown
  321. os=-elf
  322. ;;
  323. @@ -725,6 +653,7 @@ case $basic_machine in
  324. i370-ibm* | ibm*)
  325. basic_machine=i370-ibm
  326. ;;
  327. +# I'm not sure what "Sysv32" means. Should this be sysv3.2?
  328. i*86v32)
  329. basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
  330. os=-sysv32
  331. @@ -782,9 +711,6 @@ case $basic_machine in
  332. basic_machine=ns32k-utek
  333. os=-sysv
  334. ;;
  335. - microblaze)
  336. - basic_machine=microblaze-xilinx
  337. - ;;
  338. mingw32)
  339. basic_machine=i386-pc
  340. os=-mingw32
  341. @@ -800,6 +726,24 @@ case $basic_machine in
  342. basic_machine=m68k-atari
  343. os=-mint
  344. ;;
  345. + mipsEE* | ee | ps2)
  346. + basic_machine=mips64r5900el-scei
  347. + case $os in
  348. + -linux*)
  349. + ;;
  350. + *)
  351. + os=-elf
  352. + ;;
  353. + esac
  354. + ;;
  355. + iop)
  356. + basic_machine=mipsel-scei
  357. + os=-irx
  358. + ;;
  359. + dvp)
  360. + basic_machine=dvp-scei
  361. + os=-elf
  362. + ;;
  363. mips3*-*)
  364. basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
  365. ;;
  366. @@ -821,18 +765,10 @@ case $basic_machine in
  367. ms1-*)
  368. basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
  369. ;;
  370. - msys)
  371. - basic_machine=i386-pc
  372. - os=-msys
  373. - ;;
  374. mvs)
  375. basic_machine=i370-ibm
  376. os=-mvs
  377. ;;
  378. - nacl)
  379. - basic_machine=le32-unknown
  380. - os=-nacl
  381. - ;;
  382. ncr3000)
  383. basic_machine=i486-ncr
  384. os=-sysv4
  385. @@ -897,12 +833,6 @@ case $basic_machine in
  386. np1)
  387. basic_machine=np1-gould
  388. ;;
  389. - neo-tandem)
  390. - basic_machine=neo-tandem
  391. - ;;
  392. - nse-tandem)
  393. - basic_machine=nse-tandem
  394. - ;;
  395. nsr-tandem)
  396. basic_machine=nsr-tandem
  397. ;;
  398. @@ -985,10 +915,9 @@ case $basic_machine in
  399. ;;
  400. power) basic_machine=power-ibm
  401. ;;
  402. - ppc | ppcbe) basic_machine=powerpc-unknown
  403. + ppc) basic_machine=powerpc-unknown
  404. ;;
  405. - ppc-* | ppcbe-*)
  406. - basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
  407. + ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
  408. ;;
  409. ppcle | powerpclittle | ppc-le | powerpc-little)
  410. basic_machine=powerpcle-unknown
  411. @@ -1082,9 +1011,6 @@ case $basic_machine in
  412. basic_machine=i860-stratus
  413. os=-sysv4
  414. ;;
  415. - strongarm-* | thumb-*)
  416. - basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
  417. - ;;
  418. sun2)
  419. basic_machine=m68000-sun
  420. ;;
  421. @@ -1141,8 +1067,20 @@ case $basic_machine in
  422. basic_machine=t90-cray
  423. os=-unicos
  424. ;;
  425. + tic54x | c54x*)
  426. + basic_machine=tic54x-unknown
  427. + os=-coff
  428. + ;;
  429. + tic55x | c55x*)
  430. + basic_machine=tic55x-unknown
  431. + os=-coff
  432. + ;;
  433. + tic6x | c6x*)
  434. + basic_machine=tic6x-unknown
  435. + os=-coff
  436. + ;;
  437. tile*)
  438. - basic_machine=$basic_machine-unknown
  439. + basic_machine=tile-unknown
  440. os=-linux-gnu
  441. ;;
  442. tx39)
  443. @@ -1212,9 +1150,6 @@ case $basic_machine in
  444. xps | xps100)
  445. basic_machine=xps100-honeywell
  446. ;;
  447. - xscale-* | xscalee[bl]-*)
  448. - basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
  449. - ;;
  450. ymp)
  451. basic_machine=ymp-cray
  452. os=-unicos
  453. @@ -1265,7 +1200,7 @@ case $basic_machine in
  454. we32k)
  455. basic_machine=we32k-att
  456. ;;
  457. - sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
  458. + sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
  459. basic_machine=sh-unknown
  460. ;;
  461. sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
  462. @@ -1312,12 +1247,9 @@ esac
  463. if [ x"$os" != x"" ]
  464. then
  465. case $os in
  466. - # First match some system type aliases
  467. - # that might get confused with valid system types.
  468. + # First match some system type aliases
  469. + # that might get confused with valid system types.
  470. # -solaris* is a basic system type, with this one exception.
  471. - -auroraux)
  472. - os=-auroraux
  473. - ;;
  474. -solaris1 | -solaris1.*)
  475. os=`echo $os | sed -e 's|solaris1|sunos4|'`
  476. ;;
  477. @@ -1338,11 +1270,10 @@ case $os in
  478. # Each alternative MUST END IN A *, to match a version number.
  479. # -sysv* is not here because it comes later, after sysvr4.
  480. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
  481. - | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
  482. - | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
  483. - | -sym* | -kopensolaris* \
  484. + | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
  485. + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
  486. | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
  487. - | -aos* | -aros* \
  488. + | -aos* \
  489. | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
  490. | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
  491. | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
  492. @@ -1352,9 +1283,8 @@ case $os in
  493. | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
  494. | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
  495. | -chorusos* | -chorusrdb* | -cegcc* \
  496. - | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
  497. - | -mingw32* | -linux-gnu* | -linux-android* \
  498. - | -linux-newlib* | -linux-uclibc* \
  499. + | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
  500. + | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
  501. | -uxpv* | -beos* | -mpeix* | -udk* \
  502. | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
  503. | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
  504. @@ -1362,7 +1292,7 @@ case $os in
  505. | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
  506. | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
  507. | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
  508. - | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
  509. + | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -irx*)
  510. # Remember, each alternative MUST END IN *, to match a version number.
  511. ;;
  512. -qnx*)
  513. @@ -1401,7 +1331,7 @@ case $os in
  514. -opened*)
  515. os=-openedition
  516. ;;
  517. - -os400*)
  518. + -os400*)
  519. os=-os400
  520. ;;
  521. -wince*)
  522. @@ -1450,7 +1380,7 @@ case $os in
  523. -sinix*)
  524. os=-sysv4
  525. ;;
  526. - -tpf*)
  527. + -tpf*)
  528. os=-tpf
  529. ;;
  530. -triton*)
  531. @@ -1495,8 +1425,6 @@ case $os in
  532. -dicos*)
  533. os=-dicos
  534. ;;
  535. - -nacl*)
  536. - ;;
  537. -none)
  538. ;;
  539. *)
  540. @@ -1519,10 +1447,10 @@ else
  541. # system, and we'll never get to this point.
  542. case $basic_machine in
  543. - score-*)
  544. + score-*)
  545. os=-elf
  546. ;;
  547. - spu-*)
  548. + spu-*)
  549. os=-elf
  550. ;;
  551. *-acorn)
  552. @@ -1534,17 +1462,8 @@ case $basic_machine in
  553. arm*-semi)
  554. os=-aout
  555. ;;
  556. - c4x-* | tic4x-*)
  557. - os=-coff
  558. - ;;
  559. - tic54x-*)
  560. - os=-coff
  561. - ;;
  562. - tic55x-*)
  563. - os=-coff
  564. - ;;
  565. - tic6x-*)
  566. - os=-coff
  567. + c4x-* | tic4x-*)
  568. + os=-coff
  569. ;;
  570. # This must come before the *-dec entry.
  571. pdp10-*)
  572. @@ -1564,11 +1483,14 @@ case $basic_machine in
  573. ;;
  574. m68000-sun)
  575. os=-sunos3
  576. + # This also exists in the configure program, but was not the
  577. + # default.
  578. + # os=-sunos4
  579. ;;
  580. m68*-cisco)
  581. os=-aout
  582. ;;
  583. - mep-*)
  584. + mep-*)
  585. os=-elf
  586. ;;
  587. mips*-cisco)
  588. @@ -1595,7 +1517,7 @@ case $basic_machine in
  589. *-ibm)
  590. os=-aix
  591. ;;
  592. - *-knuth)
  593. + *-knuth)
  594. os=-mmixware
  595. ;;
  596. *-wec)
  597. @@ -1700,7 +1622,7 @@ case $basic_machine in
  598. -sunos*)
  599. vendor=sun
  600. ;;
  601. - -cnk*|-aix*)
  602. + -aix*)
  603. vendor=ibm
  604. ;;
  605. -beos*)