patch-config_sub 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. --- cryptsetup-1.1.0.orig/config.sub 2009-06-30 10:31:47.000000000 +0200
  2. +++ cryptsetup-1.1.0/config.sub 2010-02-14 18:24:56.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
  8. +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
  9. # Free Software Foundation, Inc.
  10. -timestamp='2008-09-08'
  11. +timestamp='2009-06-11'
  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. @@ -122,6 +122,7 @@ maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-
  15. case $maybe_os in
  16. nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
  17. uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
  18. + kopensolaris*-gnu* | \
  19. storm-chaos* | os2-emx* | rtmk-nova*)
  20. os=-$maybe_os
  21. basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
  22. @@ -152,6 +153,9 @@ case $os in
  23. os=
  24. basic_machine=$1
  25. ;;
  26. + -bluegene*)
  27. + os=-cnk
  28. + ;;
  29. -sim | -cisco | -oki | -wec | -winbond)
  30. os=
  31. basic_machine=$1
  32. @@ -244,11 +248,12 @@ case $basic_machine in
  33. | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
  34. | bfin \
  35. | c4x | clipper \
  36. - | d10v | d30v | dlx | dsp16xx | dvp \
  37. + | d10v | d30v | dlx | dsp16xx \
  38. | fido | fr30 | frv \
  39. | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
  40. | i370 | i860 | i960 | ia64 \
  41. | ip2k | iq2000 \
  42. + | lm32 \
  43. | m32c | m32r | m32rle | m68000 | m68k | m88k \
  44. | maxq | mb | microblaze | mcore | mep | metag \
  45. | mips | mipsbe | mipseb | mipsel | mipsle \
  46. @@ -270,6 +275,7 @@ case $basic_machine in
  47. | mipsisa64sr71k | mipsisa64sr71kel \
  48. | mipstx39 | mipstx39el \
  49. | mn10200 | mn10300 \
  50. + | moxie \
  51. | mt \
  52. | msp430 \
  53. | nios | nios2 \
  54. @@ -279,7 +285,7 @@ case $basic_machine in
  55. | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
  56. | pyramid \
  57. | score \
  58. - | sh | sh[1234] | sh[24]a | sh[24]a*eb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
  59. + | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
  60. | sh64 | sh64le \
  61. | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
  62. | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
  63. @@ -331,6 +337,7 @@ case $basic_machine in
  64. | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
  65. | i*86-* | i860-* | i960-* | ia64-* \
  66. | ip2k-* | iq2000-* \
  67. + | lm32-* \
  68. | m32c-* | m32r-* | m32rle-* \
  69. | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
  70. | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
  71. @@ -362,7 +369,7 @@ case $basic_machine in
  72. | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
  73. | pyramid-* \
  74. | romp-* | rs6000-* \
  75. - | sh-* | sh[1234]-* | sh[24]a-* | sh[24]a*eb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
  76. + | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
  77. | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
  78. | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
  79. | sparclite-* \
  80. @@ -443,6 +450,10 @@ case $basic_machine in
  81. basic_machine=m68k-apollo
  82. os=-bsd
  83. ;;
  84. + aros)
  85. + basic_machine=i386-pc
  86. + os=-aros
  87. + ;;
  88. aux)
  89. basic_machine=m68k-apple
  90. os=-aux
  91. @@ -459,6 +470,10 @@ case $basic_machine in
  92. basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
  93. os=-linux
  94. ;;
  95. + bluegene*)
  96. + basic_machine=powerpc-ibm
  97. + os=-cnk
  98. + ;;
  99. c90)
  100. basic_machine=c90-cray
  101. os=-unicos
  102. @@ -726,24 +741,6 @@ case $basic_machine in
  103. basic_machine=m68k-atari
  104. os=-mint
  105. ;;
  106. - mipsEE* | ee | ps2)
  107. - basic_machine=mips64r5900el-scei
  108. - case $os in
  109. - -linux*)
  110. - ;;
  111. - *)
  112. - os=-elf
  113. - ;;
  114. - esac
  115. - ;;
  116. - iop)
  117. - basic_machine=mipsel-scei
  118. - os=-irx
  119. - ;;
  120. - dvp)
  121. - basic_machine=dvp-scei
  122. - os=-elf
  123. - ;;
  124. mips3*-*)
  125. basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
  126. ;;
  127. @@ -1200,7 +1197,7 @@ case $basic_machine in
  128. we32k)
  129. basic_machine=we32k-att
  130. ;;
  131. - sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
  132. + sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
  133. basic_machine=sh-unknown
  134. ;;
  135. sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
  136. @@ -1270,10 +1267,11 @@ case $os in
  137. # Each alternative MUST END IN A *, to match a version number.
  138. # -sysv* is not here because it comes later, after sysvr4.
  139. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
  140. - | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
  141. + | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
  142. | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
  143. + | -kopensolaris* \
  144. | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
  145. - | -aos* \
  146. + | -aos* | -aros* \
  147. | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
  148. | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
  149. | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
  150. @@ -1292,7 +1290,7 @@ case $os in
  151. | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
  152. | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
  153. | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
  154. - | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -irx*)
  155. + | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
  156. # Remember, each alternative MUST END IN *, to match a version number.
  157. ;;
  158. -qnx*)
  159. @@ -1622,7 +1620,7 @@ case $basic_machine in
  160. -sunos*)
  161. vendor=sun
  162. ;;
  163. - -aix*)
  164. + -cnk*|-aix*)
  165. vendor=ibm
  166. ;;
  167. -beos*)