nutcracker 0.2.4.5 → 0.2.4.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (291) hide show
  1. data/ext/nutcracker/ChangeLog +0 -0
  2. data/ext/nutcracker/LICENSE +0 -0
  3. data/ext/nutcracker/Makefile.am +0 -0
  4. data/ext/nutcracker/Makefile.in +190 -82
  5. data/ext/nutcracker/NOTICE +0 -0
  6. data/ext/nutcracker/README.md +0 -0
  7. data/ext/nutcracker/aclocal.m4 +231 -122
  8. data/ext/nutcracker/conf/nutcracker.leaf.yml +0 -0
  9. data/ext/nutcracker/conf/nutcracker.root.yml +0 -0
  10. data/ext/nutcracker/conf/nutcracker.yml +0 -0
  11. data/ext/nutcracker/config.h.in +0 -15
  12. data/ext/nutcracker/config/config.guess +278 -248
  13. data/ext/nutcracker/config/config.sub +234 -77
  14. data/ext/nutcracker/config/depcomp +143 -39
  15. data/ext/nutcracker/config/install-sh +136 -116
  16. data/ext/nutcracker/config/ltmain.sh +1704 -788
  17. data/ext/nutcracker/config/missing +29 -65
  18. data/ext/nutcracker/configure +1998 -1052
  19. data/ext/nutcracker/configure.ac +2 -34
  20. data/ext/nutcracker/contrib/Makefile.am +0 -0
  21. data/ext/nutcracker/contrib/Makefile.in +120 -47
  22. data/ext/nutcracker/contrib/yaml-0.1.4.tar.gz +0 -0
  23. data/ext/nutcracker/extconf.rb +5 -2
  24. data/ext/nutcracker/m4/libtool.m4 +960 -396
  25. data/ext/nutcracker/m4/ltoptions.m4 +17 -2
  26. data/ext/nutcracker/m4/ltversion.m4 +6 -6
  27. data/ext/nutcracker/notes/c-styleguide.txt +0 -0
  28. data/ext/nutcracker/notes/debug.txt +0 -0
  29. data/ext/nutcracker/notes/memcache.txt +0 -0
  30. data/ext/nutcracker/notes/recommendation.md +0 -0
  31. data/ext/nutcracker/notes/redis.md +0 -0
  32. data/ext/nutcracker/notes/socket.txt +0 -0
  33. data/ext/nutcracker/scripts/nutcracker.init +0 -0
  34. data/ext/nutcracker/scripts/nutcracker.spec +0 -0
  35. data/ext/nutcracker/scripts/redis-check.py +0 -0
  36. data/ext/nutcracker/src/Makefile.am +1 -1
  37. data/ext/nutcracker/src/Makefile.in +167 -81
  38. data/ext/nutcracker/src/hashkit/Makefile.am +0 -0
  39. data/ext/nutcracker/src/hashkit/Makefile.in +72 -37
  40. data/ext/nutcracker/src/hashkit/nc_crc16.c +0 -0
  41. data/ext/nutcracker/src/hashkit/nc_crc32.c +0 -0
  42. data/ext/nutcracker/src/hashkit/nc_fnv.c +0 -0
  43. data/ext/nutcracker/src/hashkit/nc_hashkit.h +0 -0
  44. data/ext/nutcracker/src/hashkit/nc_hsieh.c +0 -0
  45. data/ext/nutcracker/src/hashkit/nc_jenkins.c +0 -0
  46. data/ext/nutcracker/src/hashkit/nc_ketama.c +0 -0
  47. data/ext/nutcracker/src/hashkit/nc_md5.c +0 -0
  48. data/ext/nutcracker/src/hashkit/nc_modula.c +0 -0
  49. data/ext/nutcracker/src/hashkit/nc_murmur.c +0 -0
  50. data/ext/nutcracker/src/hashkit/nc_one_at_a_time.c +0 -0
  51. data/ext/nutcracker/src/hashkit/nc_random.c +0 -0
  52. data/ext/nutcracker/src/nc.c +0 -0
  53. data/ext/nutcracker/src/nc_array.c +0 -0
  54. data/ext/nutcracker/src/nc_array.h +0 -0
  55. data/ext/nutcracker/src/nc_client.c +0 -0
  56. data/ext/nutcracker/src/nc_client.h +0 -0
  57. data/ext/nutcracker/src/nc_conf.c +0 -0
  58. data/ext/nutcracker/src/nc_conf.h +0 -0
  59. data/ext/nutcracker/src/nc_connection.c +0 -0
  60. data/ext/nutcracker/src/nc_connection.h +0 -0
  61. data/ext/nutcracker/src/nc_core.c +26 -29
  62. data/ext/nutcracker/src/nc_core.h +5 -13
  63. data/ext/nutcracker/src/{nc_epoll.c → nc_event.c} +30 -94
  64. data/ext/nutcracker/src/nc_event.h +13 -33
  65. data/ext/nutcracker/src/nc_log.c +0 -0
  66. data/ext/nutcracker/src/nc_log.h +0 -0
  67. data/ext/nutcracker/src/nc_mbuf.c +0 -0
  68. data/ext/nutcracker/src/nc_mbuf.h +0 -0
  69. data/ext/nutcracker/src/nc_message.c +0 -0
  70. data/ext/nutcracker/src/nc_message.h +0 -0
  71. data/ext/nutcracker/src/nc_proxy.c +8 -8
  72. data/ext/nutcracker/src/nc_proxy.h +0 -0
  73. data/ext/nutcracker/src/nc_queue.h +0 -0
  74. data/ext/nutcracker/src/nc_rbtree.c +0 -0
  75. data/ext/nutcracker/src/nc_rbtree.h +0 -0
  76. data/ext/nutcracker/src/nc_request.c +3 -3
  77. data/ext/nutcracker/src/nc_response.c +6 -4
  78. data/ext/nutcracker/src/nc_server.c +5 -5
  79. data/ext/nutcracker/src/nc_server.h +0 -0
  80. data/ext/nutcracker/src/nc_signal.c +0 -0
  81. data/ext/nutcracker/src/nc_signal.h +0 -0
  82. data/ext/nutcracker/src/nc_stats.c +21 -16
  83. data/ext/nutcracker/src/nc_stats.h +4 -3
  84. data/ext/nutcracker/src/nc_string.c +0 -0
  85. data/ext/nutcracker/src/nc_string.h +0 -0
  86. data/ext/nutcracker/src/nc_util.c +0 -16
  87. data/ext/nutcracker/src/nc_util.h +0 -1
  88. data/ext/nutcracker/src/proto/Makefile.am +0 -0
  89. data/ext/nutcracker/src/proto/Makefile.in +72 -37
  90. data/ext/nutcracker/src/proto/nc_memcache.c +0 -0
  91. data/ext/nutcracker/src/proto/nc_proto.h +0 -0
  92. data/ext/nutcracker/src/proto/nc_redis.c +0 -0
  93. data/lib/nutcracker/version.rb +1 -1
  94. metadata +3 -200
  95. data/ext/nutcracker/Makefile +0 -643
  96. data/ext/nutcracker/autom4te.cache/output.0 +0 -18664
  97. data/ext/nutcracker/autom4te.cache/output.1 +0 -18664
  98. data/ext/nutcracker/autom4te.cache/output.2 +0 -18664
  99. data/ext/nutcracker/autom4te.cache/requests +0 -494
  100. data/ext/nutcracker/autom4te.cache/traces.0 +0 -2415
  101. data/ext/nutcracker/autom4te.cache/traces.1 +0 -945
  102. data/ext/nutcracker/autom4te.cache/traces.2 +0 -2415
  103. data/ext/nutcracker/config.h +0 -332
  104. data/ext/nutcracker/config.log +0 -2684
  105. data/ext/nutcracker/config.status +0 -2317
  106. data/ext/nutcracker/contrib/Makefile +0 -494
  107. data/ext/nutcracker/contrib/yaml-0.1.4/Makefile +0 -736
  108. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/output.0 +0 -13102
  109. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/output.1 +0 -13085
  110. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/output.2 +0 -13085
  111. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/requests +0 -476
  112. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/traces.0 +0 -2339
  113. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/traces.1 +0 -545
  114. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/traces.2 +0 -2339
  115. data/ext/nutcracker/contrib/yaml-0.1.4/config.h +0 -81
  116. data/ext/nutcracker/contrib/yaml-0.1.4/config.h.in~ +0 -80
  117. data/ext/nutcracker/contrib/yaml-0.1.4/config.log +0 -688
  118. data/ext/nutcracker/contrib/yaml-0.1.4/config.status +0 -2032
  119. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/annotated.html +0 -51
  120. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/bc_s.png +0 -0
  121. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/classes.html +0 -41
  122. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/closed.png +0 -0
  123. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/doxygen.css +0 -656
  124. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/doxygen.png +0 -0
  125. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/files.html +0 -40
  126. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions.html +0 -91
  127. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x62.html +0 -84
  128. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x63.html +0 -87
  129. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x64.html +0 -83
  130. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x65.html +0 -110
  131. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x66.html +0 -79
  132. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x68.html +0 -80
  133. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x69.html +0 -92
  134. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x6b.html +0 -71
  135. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x6c.html +0 -88
  136. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x6d.html +0 -96
  137. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x6e.html +0 -71
  138. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x6f.html +0 -80
  139. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x70.html +0 -100
  140. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x71.html +0 -71
  141. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x72.html +0 -87
  142. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x73.html +0 -163
  143. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x74.html +0 -115
  144. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x75.html +0 -71
  145. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x76.html +0 -80
  146. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x77.html +0 -77
  147. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars.html +0 -91
  148. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x62.html +0 -84
  149. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x63.html +0 -87
  150. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x64.html +0 -83
  151. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x65.html +0 -110
  152. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x66.html +0 -79
  153. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x68.html +0 -80
  154. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x69.html +0 -92
  155. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x6b.html +0 -71
  156. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x6c.html +0 -88
  157. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x6d.html +0 -96
  158. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x6e.html +0 -71
  159. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x6f.html +0 -80
  160. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x70.html +0 -100
  161. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x71.html +0 -71
  162. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x72.html +0 -87
  163. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x73.html +0 -163
  164. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x74.html +0 -115
  165. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x75.html +0 -71
  166. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x76.html +0 -80
  167. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x77.html +0 -77
  168. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals.html +0 -667
  169. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals_defs.html +0 -81
  170. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals_enum.html +0 -78
  171. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals_eval.html +0 -373
  172. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals_func.html +0 -196
  173. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals_type.html +0 -126
  174. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__basic.html +0 -320
  175. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__emitter.html +0 -819
  176. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__events.html +0 -664
  177. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__export.html +0 -60
  178. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__nodes.html +0 -795
  179. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__parser.html +0 -606
  180. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__styles.html +0 -222
  181. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__tokens.html +0 -246
  182. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__version.html +0 -106
  183. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/index.html +0 -31
  184. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/modules.html +0 -42
  185. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/nav_f.png +0 -0
  186. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/nav_h.png +0 -0
  187. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/open.png +0 -0
  188. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__alias__data__s.html +0 -108
  189. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__document__s.html +0 -235
  190. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__emitter__s.html +0 -1300
  191. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__event__s.html +0 -496
  192. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__mark__s.html +0 -108
  193. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__node__pair__s.html +0 -91
  194. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__node__s.html +0 -420
  195. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__parser__s.html +0 -1229
  196. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__simple__key__s.html +0 -97
  197. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__tag__directive__s.html +0 -91
  198. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__token__s.html +0 -413
  199. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__version__directive__s.html +0 -91
  200. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/tab_a.png +0 -0
  201. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/tab_b.png +0 -0
  202. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/tab_h.png +0 -0
  203. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/tab_s.png +0 -0
  204. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/tabs.css +0 -59
  205. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/yaml_8h.html +0 -525
  206. data/ext/nutcracker/contrib/yaml-0.1.4/include/Makefile.am +0 -17
  207. data/ext/nutcracker/contrib/yaml-0.1.4/include/Makefile.in +0 -470
  208. data/ext/nutcracker/contrib/yaml-0.1.4/libtool +0 -8890
  209. data/ext/nutcracker/contrib/yaml-0.1.4/src/Makefile +0 -484
  210. data/ext/nutcracker/contrib/yaml-0.1.4/src/api.lo +0 -12
  211. data/ext/nutcracker/contrib/yaml-0.1.4/src/api.o +0 -0
  212. data/ext/nutcracker/contrib/yaml-0.1.4/src/dumper.lo +0 -12
  213. data/ext/nutcracker/contrib/yaml-0.1.4/src/dumper.o +0 -0
  214. data/ext/nutcracker/contrib/yaml-0.1.4/src/emitter.lo +0 -12
  215. data/ext/nutcracker/contrib/yaml-0.1.4/src/emitter.o +0 -0
  216. data/ext/nutcracker/contrib/yaml-0.1.4/src/libyaml.la +0 -41
  217. data/ext/nutcracker/contrib/yaml-0.1.4/src/loader.lo +0 -12
  218. data/ext/nutcracker/contrib/yaml-0.1.4/src/loader.o +0 -0
  219. data/ext/nutcracker/contrib/yaml-0.1.4/src/parser.lo +0 -12
  220. data/ext/nutcracker/contrib/yaml-0.1.4/src/parser.o +0 -0
  221. data/ext/nutcracker/contrib/yaml-0.1.4/src/reader.lo +0 -12
  222. data/ext/nutcracker/contrib/yaml-0.1.4/src/reader.o +0 -0
  223. data/ext/nutcracker/contrib/yaml-0.1.4/src/scanner.lo +0 -12
  224. data/ext/nutcracker/contrib/yaml-0.1.4/src/scanner.o +0 -0
  225. data/ext/nutcracker/contrib/yaml-0.1.4/src/writer.lo +0 -12
  226. data/ext/nutcracker/contrib/yaml-0.1.4/src/writer.o +0 -0
  227. data/ext/nutcracker/contrib/yaml-0.1.4/stamp-h1 +0 -1
  228. data/ext/nutcracker/contrib/yaml-0.1.4/tests/Makefile +0 -675
  229. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-deconstructor +0 -0
  230. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-deconstructor-alt +0 -0
  231. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-deconstructor-alt.o +0 -0
  232. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-deconstructor.o +0 -0
  233. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-reformatter +0 -0
  234. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-reformatter-alt +0 -0
  235. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-reformatter-alt.o +0 -0
  236. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-reformatter.o +0 -0
  237. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-dumper +0 -0
  238. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-dumper.o +0 -0
  239. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-emitter +0 -0
  240. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-emitter.o +0 -0
  241. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-loader +0 -0
  242. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-loader.o +0 -0
  243. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-parser +0 -0
  244. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-parser.o +0 -0
  245. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-scanner +0 -0
  246. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-scanner.o +0 -0
  247. data/ext/nutcracker/contrib/yaml-0.1.4/yaml-0.1.pc +0 -10
  248. data/ext/nutcracker/contrib/yaml-0.1.4/yaml-0.1.pc.in +0 -10
  249. data/ext/nutcracker/exconf.rb +0 -0
  250. data/ext/nutcracker/libtool +0 -9403
  251. data/ext/nutcracker/src/Makefile +0 -647
  252. data/ext/nutcracker/src/hashkit/Makefile +0 -476
  253. data/ext/nutcracker/src/hashkit/libhashkit.a +0 -0
  254. data/ext/nutcracker/src/hashkit/nc_crc16.o +0 -0
  255. data/ext/nutcracker/src/hashkit/nc_crc32.o +0 -0
  256. data/ext/nutcracker/src/hashkit/nc_fnv.o +0 -0
  257. data/ext/nutcracker/src/hashkit/nc_hsieh.o +0 -0
  258. data/ext/nutcracker/src/hashkit/nc_jenkins.o +0 -0
  259. data/ext/nutcracker/src/hashkit/nc_ketama.o +0 -0
  260. data/ext/nutcracker/src/hashkit/nc_md5.o +0 -0
  261. data/ext/nutcracker/src/hashkit/nc_modula.o +0 -0
  262. data/ext/nutcracker/src/hashkit/nc_murmur.o +0 -0
  263. data/ext/nutcracker/src/hashkit/nc_one_at_a_time.o +0 -0
  264. data/ext/nutcracker/src/hashkit/nc_random.o +0 -0
  265. data/ext/nutcracker/src/nc.o +0 -0
  266. data/ext/nutcracker/src/nc_array.o +0 -0
  267. data/ext/nutcracker/src/nc_client.o +0 -0
  268. data/ext/nutcracker/src/nc_conf.o +0 -0
  269. data/ext/nutcracker/src/nc_connection.o +0 -0
  270. data/ext/nutcracker/src/nc_core.o +0 -0
  271. data/ext/nutcracker/src/nc_epoll.o +0 -0
  272. data/ext/nutcracker/src/nc_kqueue.c +0 -296
  273. data/ext/nutcracker/src/nc_kqueue.o +0 -0
  274. data/ext/nutcracker/src/nc_log.o +0 -0
  275. data/ext/nutcracker/src/nc_mbuf.o +0 -0
  276. data/ext/nutcracker/src/nc_message.o +0 -0
  277. data/ext/nutcracker/src/nc_proxy.o +0 -0
  278. data/ext/nutcracker/src/nc_rbtree.o +0 -0
  279. data/ext/nutcracker/src/nc_request.o +0 -0
  280. data/ext/nutcracker/src/nc_response.o +0 -0
  281. data/ext/nutcracker/src/nc_server.o +0 -0
  282. data/ext/nutcracker/src/nc_signal.o +0 -0
  283. data/ext/nutcracker/src/nc_stats.o +0 -0
  284. data/ext/nutcracker/src/nc_string.o +0 -0
  285. data/ext/nutcracker/src/nc_util.o +0 -0
  286. data/ext/nutcracker/src/nutcracker +0 -0
  287. data/ext/nutcracker/src/proto/Makefile +0 -454
  288. data/ext/nutcracker/src/proto/libproto.a +0 -0
  289. data/ext/nutcracker/src/proto/nc_memcache.o +0 -0
  290. data/ext/nutcracker/src/proto/nc_redis.o +0 -0
  291. data/ext/nutcracker/stamp-h1 +0 -1
File without changes
File without changes
File without changes
@@ -9,9 +9,6 @@
9
9
  /* Define to 1 if panic on an assert is enabled */
10
10
  #undef HAVE_ASSERT_PANIC
11
11
 
12
- /* Define to 1 if backtrace is supported */
13
- #undef HAVE_BACKTRACE
14
-
15
12
  /* Define to 1 if debug log is enabled */
16
13
  #undef HAVE_DEBUG_LOG
17
14
 
@@ -21,12 +18,6 @@
21
18
  /* Define to 1 if you have the `dup2' function. */
22
19
  #undef HAVE_DUP2
23
20
 
24
- /* Define to 1 if epoll is supported */
25
- #undef HAVE_EPOLL
26
-
27
- /* Define to 1 if you have the <execinfo.h> header file. */
28
- #undef HAVE_EXECINFO_H
29
-
30
21
  /* Define to 1 if you have the <fcntl.h> header file. */
31
22
  #undef HAVE_FCNTL_H
32
23
 
@@ -51,9 +42,6 @@
51
42
  /* Define to 1 if you have the <inttypes.h> header file. */
52
43
  #undef HAVE_INTTYPES_H
53
44
 
54
- /* Define to 1 if kqueue is supported */
55
- #undef HAVE_KQUEUE
56
-
57
45
  /* Define to 1 if you have the `m' library (-lm). */
58
46
  #undef HAVE_LIBM
59
47
 
@@ -134,9 +122,6 @@
134
122
  /* Define to 1 if you have the <sys/epoll.h> header file. */
135
123
  #undef HAVE_SYS_EPOLL_H
136
124
 
137
- /* Define to 1 if you have the <sys/event.h> header file. */
138
- #undef HAVE_SYS_EVENT_H
139
-
140
125
  /* Define to 1 if you have the <sys/ioctl.h> header file. */
141
126
  #undef HAVE_SYS_IOCTL_H
142
127
 
@@ -1,10 +1,10 @@
1
1
  #! /bin/sh
2
2
  # Attempt to guess a canonical system name.
3
3
  # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4
- # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
5
- # Inc.
4
+ # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
5
+ # 2011, 2012 Free Software Foundation, Inc.
6
6
 
7
- timestamp='2006-07-02'
7
+ timestamp='2012-02-10'
8
8
 
9
9
  # This file is free software; you can redistribute it and/or modify it
10
10
  # under the terms of the GNU General Public License as published by
@@ -17,9 +17,7 @@ timestamp='2006-07-02'
17
17
  # General Public License for more details.
18
18
  #
19
19
  # You should have received a copy of the GNU General Public License
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.
20
+ # along with this program; if not, see <http://www.gnu.org/licenses/>.
23
21
  #
24
22
  # As a special exception to the GNU General Public License, if you
25
23
  # distribute this file as part of a program that contains a
@@ -27,16 +25,16 @@ timestamp='2006-07-02'
27
25
  # the same distribution terms that you use for the rest of that program.
28
26
 
29
27
 
30
- # Originally written by Per Bothner <per@bothner.com>.
31
- # Please send patches to <config-patches@gnu.org>. Submit a context
32
- # diff and a properly formatted ChangeLog entry.
28
+ # Originally written by Per Bothner. Please send patches (context
29
+ # diff format) to <config-patches@gnu.org> and include a ChangeLog
30
+ # entry.
33
31
  #
34
32
  # This script attempts to guess a canonical system name similar to
35
33
  # config.sub. If it succeeds, it prints the system name on stdout, and
36
34
  # exits with 0. Otherwise, it exits with 1.
37
35
  #
38
- # The plan is that this can be called by configure scripts if you
39
- # don't specify an explicit build system type.
36
+ # You can get the latest version of this script from:
37
+ # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
40
38
 
41
39
  me=`echo "$0" | sed -e 's,.*/,,'`
42
40
 
@@ -56,7 +54,8 @@ version="\
56
54
  GNU config.guess ($timestamp)
57
55
 
58
56
  Originally written by Per Bothner.
59
- Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
57
+ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
58
+ 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
60
59
  Free Software Foundation, Inc.
61
60
 
62
61
  This is free software; see the source for copying conditions. There is NO
@@ -144,7 +143,7 @@ UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
144
143
  case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
145
144
  *:NetBSD:*:*)
146
145
  # NetBSD (nbsd) targets should (where applicable) match one or
147
- # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
146
+ # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
148
147
  # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
149
148
  # switched to ELF, *-*-netbsd* would select the old
150
149
  # object file format. This provides both forward
@@ -161,6 +160,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
161
160
  arm*) machine=arm-unknown ;;
162
161
  sh3el) machine=shl-unknown ;;
163
162
  sh3eb) machine=sh-unknown ;;
163
+ sh5el) machine=sh5le-unknown ;;
164
164
  *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
165
165
  esac
166
166
  # The Operating System including object format, if it has switched
@@ -169,7 +169,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
169
169
  arm*|i386|m68k|ns32k|sh3*|sparc|vax)
170
170
  eval $set_cc_for_build
171
171
  if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
172
- | grep __ELF__ >/dev/null
172
+ | grep -q __ELF__
173
173
  then
174
174
  # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
175
175
  # Return netbsd for either. FIX?
@@ -179,7 +179,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
179
179
  fi
180
180
  ;;
181
181
  *)
182
- os=netbsd
182
+ os=netbsd
183
183
  ;;
184
184
  esac
185
185
  # The OS release
@@ -222,7 +222,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
222
222
  UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
223
223
  ;;
224
224
  *5.*)
225
- UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
225
+ UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
226
226
  ;;
227
227
  esac
228
228
  # According to Compaq, /usr/sbin/psrinfo has been available on
@@ -268,7 +268,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
268
268
  # A Xn.n version is an unreleased experimental baselevel.
269
269
  # 1.2 uses "1.2" for uname -r.
270
270
  echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
271
- exit ;;
271
+ # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
272
+ exitcode=$?
273
+ trap '' 0
274
+ exit $exitcode ;;
272
275
  Alpha\ *:Windows_NT*:*)
273
276
  # How do we know it's Interix rather than the generic POSIX subsystem?
274
277
  # Should we change UNAME_MACHINE based on the output of uname instead
@@ -294,7 +297,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
294
297
  echo s390-ibm-zvmoe
295
298
  exit ;;
296
299
  *:OS400:*:*)
297
- echo powerpc-ibm-os400
300
+ echo powerpc-ibm-os400
298
301
  exit ;;
299
302
  arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
300
303
  echo arm-acorn-riscix${UNAME_RELEASE}
@@ -323,14 +326,33 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
323
326
  case `/usr/bin/uname -p` in
324
327
  sparc) echo sparc-icl-nx7; exit ;;
325
328
  esac ;;
329
+ s390x:SunOS:*:*)
330
+ echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
331
+ exit ;;
326
332
  sun4H:SunOS:5.*:*)
327
333
  echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
328
334
  exit ;;
329
335
  sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
330
336
  echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
331
337
  exit ;;
332
- i86pc:SunOS:5.*:*)
333
- echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
338
+ i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
339
+ echo i386-pc-auroraux${UNAME_RELEASE}
340
+ exit ;;
341
+ i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
342
+ eval $set_cc_for_build
343
+ SUN_ARCH="i386"
344
+ # If there is a compiler, see if it is configured for 64-bit objects.
345
+ # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
346
+ # This test works for both compilers.
347
+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
348
+ if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
349
+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
350
+ grep IS_64BIT_ARCH >/dev/null
351
+ then
352
+ SUN_ARCH="x86_64"
353
+ fi
354
+ fi
355
+ echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
334
356
  exit ;;
335
357
  sun4*:SunOS:6*:*)
336
358
  # According to config.sub, this is the proper way to canonicalize
@@ -374,23 +396,23 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
374
396
  # MiNT. But MiNT is downward compatible to TOS, so this should
375
397
  # be no problem.
376
398
  atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
377
- echo m68k-atari-mint${UNAME_RELEASE}
399
+ echo m68k-atari-mint${UNAME_RELEASE}
378
400
  exit ;;
379
401
  atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
380
402
  echo m68k-atari-mint${UNAME_RELEASE}
381
- exit ;;
403
+ exit ;;
382
404
  *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
383
- echo m68k-atari-mint${UNAME_RELEASE}
405
+ echo m68k-atari-mint${UNAME_RELEASE}
384
406
  exit ;;
385
407
  milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
386
- echo m68k-milan-mint${UNAME_RELEASE}
387
- exit ;;
408
+ echo m68k-milan-mint${UNAME_RELEASE}
409
+ exit ;;
388
410
  hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
389
- echo m68k-hades-mint${UNAME_RELEASE}
390
- exit ;;
411
+ echo m68k-hades-mint${UNAME_RELEASE}
412
+ exit ;;
391
413
  *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
392
- echo m68k-unknown-mint${UNAME_RELEASE}
393
- exit ;;
414
+ echo m68k-unknown-mint${UNAME_RELEASE}
415
+ exit ;;
394
416
  m68k:machten:*:*)
395
417
  echo m68k-apple-machten${UNAME_RELEASE}
396
418
  exit ;;
@@ -460,8 +482,8 @@ EOF
460
482
  echo m88k-motorola-sysv3
461
483
  exit ;;
462
484
  AViiON:dgux:*:*)
463
- # DG/UX returns AViiON for all architectures
464
- UNAME_PROCESSOR=`/usr/bin/uname -p`
485
+ # DG/UX returns AViiON for all architectures
486
+ UNAME_PROCESSOR=`/usr/bin/uname -p`
465
487
  if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
466
488
  then
467
489
  if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
@@ -474,7 +496,7 @@ EOF
474
496
  else
475
497
  echo i586-dg-dgux${UNAME_RELEASE}
476
498
  fi
477
- exit ;;
499
+ exit ;;
478
500
  M88*:DolphinOS:*:*) # DolphinOS (SVR3)
479
501
  echo m88k-dolphin-sysv3
480
502
  exit ;;
@@ -531,7 +553,7 @@ EOF
531
553
  echo rs6000-ibm-aix3.2
532
554
  fi
533
555
  exit ;;
534
- *:AIX:*:[45])
556
+ *:AIX:*:[4567])
535
557
  IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
536
558
  if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
537
559
  IBM_ARCH=rs6000
@@ -574,52 +596,52 @@ EOF
574
596
  9000/[678][0-9][0-9])
575
597
  if [ -x /usr/bin/getconf ]; then
576
598
  sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
577
- sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
578
- case "${sc_cpu_version}" in
579
- 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
580
- 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
581
- 532) # CPU_PA_RISC2_0
582
- case "${sc_kernel_bits}" in
583
- 32) HP_ARCH="hppa2.0n" ;;
584
- 64) HP_ARCH="hppa2.0w" ;;
599
+ sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
600
+ case "${sc_cpu_version}" in
601
+ 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
602
+ 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
603
+ 532) # CPU_PA_RISC2_0
604
+ case "${sc_kernel_bits}" in
605
+ 32) HP_ARCH="hppa2.0n" ;;
606
+ 64) HP_ARCH="hppa2.0w" ;;
585
607
  '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
586
- esac ;;
587
- esac
608
+ esac ;;
609
+ esac
588
610
  fi
589
611
  if [ "${HP_ARCH}" = "" ]; then
590
612
  eval $set_cc_for_build
591
- sed 's/^ //' << EOF >$dummy.c
613
+ sed 's/^ //' << EOF >$dummy.c
592
614
 
593
- #define _HPUX_SOURCE
594
- #include <stdlib.h>
595
- #include <unistd.h>
615
+ #define _HPUX_SOURCE
616
+ #include <stdlib.h>
617
+ #include <unistd.h>
596
618
 
597
- int main ()
598
- {
599
- #if defined(_SC_KERNEL_BITS)
600
- long bits = sysconf(_SC_KERNEL_BITS);
601
- #endif
602
- long cpu = sysconf (_SC_CPU_VERSION);
619
+ int main ()
620
+ {
621
+ #if defined(_SC_KERNEL_BITS)
622
+ long bits = sysconf(_SC_KERNEL_BITS);
623
+ #endif
624
+ long cpu = sysconf (_SC_CPU_VERSION);
603
625
 
604
- switch (cpu)
605
- {
606
- case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
607
- case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
608
- case CPU_PA_RISC2_0:
609
- #if defined(_SC_KERNEL_BITS)
610
- switch (bits)
611
- {
612
- case 64: puts ("hppa2.0w"); break;
613
- case 32: puts ("hppa2.0n"); break;
614
- default: puts ("hppa2.0"); break;
615
- } break;
616
- #else /* !defined(_SC_KERNEL_BITS) */
617
- puts ("hppa2.0"); break;
618
- #endif
619
- default: puts ("hppa1.0"); break;
620
- }
621
- exit (0);
622
- }
626
+ switch (cpu)
627
+ {
628
+ case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
629
+ case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
630
+ case CPU_PA_RISC2_0:
631
+ #if defined(_SC_KERNEL_BITS)
632
+ switch (bits)
633
+ {
634
+ case 64: puts ("hppa2.0w"); break;
635
+ case 32: puts ("hppa2.0n"); break;
636
+ default: puts ("hppa2.0"); break;
637
+ } break;
638
+ #else /* !defined(_SC_KERNEL_BITS) */
639
+ puts ("hppa2.0"); break;
640
+ #endif
641
+ default: puts ("hppa1.0"); break;
642
+ }
643
+ exit (0);
644
+ }
623
645
  EOF
624
646
  (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
625
647
  test -z "$HP_ARCH" && HP_ARCH=hppa
@@ -639,7 +661,7 @@ EOF
639
661
  # => hppa64-hp-hpux11.23
640
662
 
641
663
  if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
642
- grep __LP64__ >/dev/null
664
+ grep -q __LP64__
643
665
  then
644
666
  HP_ARCH="hppa2.0w"
645
667
  else
@@ -710,22 +732,22 @@ EOF
710
732
  exit ;;
711
733
  C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
712
734
  echo c1-convex-bsd
713
- exit ;;
735
+ exit ;;
714
736
  C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
715
737
  if getsysinfo -f scalar_acc
716
738
  then echo c32-convex-bsd
717
739
  else echo c2-convex-bsd
718
740
  fi
719
- exit ;;
741
+ exit ;;
720
742
  C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
721
743
  echo c34-convex-bsd
722
- exit ;;
744
+ exit ;;
723
745
  C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
724
746
  echo c38-convex-bsd
725
- exit ;;
747
+ exit ;;
726
748
  C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
727
749
  echo c4-convex-bsd
728
- exit ;;
750
+ exit ;;
729
751
  CRAY*Y-MP:*:*:*)
730
752
  echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
731
753
  exit ;;
@@ -749,14 +771,14 @@ EOF
749
771
  exit ;;
750
772
  F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
751
773
  FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
752
- FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
753
- FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
754
- echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
755
- exit ;;
774
+ FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
775
+ FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
776
+ echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
777
+ exit ;;
756
778
  5000:UNIX_System_V:4.*:*)
757
- FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
758
- FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
759
- echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
779
+ FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
780
+ FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
781
+ echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
760
782
  exit ;;
761
783
  i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
762
784
  echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
@@ -768,37 +790,48 @@ EOF
768
790
  echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
769
791
  exit ;;
770
792
  *:FreeBSD:*:*)
771
- case ${UNAME_MACHINE} in
772
- pc98)
773
- echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
793
+ UNAME_PROCESSOR=`/usr/bin/uname -p`
794
+ case ${UNAME_PROCESSOR} in
774
795
  amd64)
775
796
  echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
776
797
  *)
777
- echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
798
+ echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
778
799
  esac
779
800
  exit ;;
780
801
  i*:CYGWIN*:*)
781
802
  echo ${UNAME_MACHINE}-pc-cygwin
782
803
  exit ;;
783
- i*:MINGW*:*)
804
+ *:MINGW*:*)
784
805
  echo ${UNAME_MACHINE}-pc-mingw32
785
806
  exit ;;
807
+ i*:MSYS*:*)
808
+ echo ${UNAME_MACHINE}-pc-msys
809
+ exit ;;
786
810
  i*:windows32*:*)
787
- # uname -m includes "-pc" on this system.
788
- echo ${UNAME_MACHINE}-mingw32
811
+ # uname -m includes "-pc" on this system.
812
+ echo ${UNAME_MACHINE}-mingw32
789
813
  exit ;;
790
814
  i*:PW*:*)
791
815
  echo ${UNAME_MACHINE}-pc-pw32
792
816
  exit ;;
793
- x86:Interix*:[3456]*)
794
- echo i586-pc-interix${UNAME_RELEASE}
795
- exit ;;
796
- EM64T:Interix*:[3456]*)
797
- echo x86_64-unknown-interix${UNAME_RELEASE}
798
- exit ;;
817
+ *:Interix*:*)
818
+ case ${UNAME_MACHINE} in
819
+ x86)
820
+ echo i586-pc-interix${UNAME_RELEASE}
821
+ exit ;;
822
+ authenticamd | genuineintel | EM64T)
823
+ echo x86_64-unknown-interix${UNAME_RELEASE}
824
+ exit ;;
825
+ IA64)
826
+ echo ia64-unknown-interix${UNAME_RELEASE}
827
+ exit ;;
828
+ esac ;;
799
829
  [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
800
830
  echo i${UNAME_MACHINE}-pc-mks
801
831
  exit ;;
832
+ 8664:Windows_NT:*)
833
+ echo x86_64-pc-mks
834
+ exit ;;
802
835
  i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
803
836
  # How do we know it's Interix rather than the generic POSIX subsystem?
804
837
  # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
@@ -828,20 +861,68 @@ EOF
828
861
  i*86:Minix:*:*)
829
862
  echo ${UNAME_MACHINE}-pc-minix
830
863
  exit ;;
831
- arm*:Linux:*:*)
864
+ aarch64:Linux:*:*)
865
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
866
+ exit ;;
867
+ aarch64_be:Linux:*:*)
868
+ UNAME_MACHINE=aarch64_be
832
869
  echo ${UNAME_MACHINE}-unknown-linux-gnu
833
870
  exit ;;
871
+ alpha:Linux:*:*)
872
+ case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
873
+ EV5) UNAME_MACHINE=alphaev5 ;;
874
+ EV56) UNAME_MACHINE=alphaev56 ;;
875
+ PCA56) UNAME_MACHINE=alphapca56 ;;
876
+ PCA57) UNAME_MACHINE=alphapca56 ;;
877
+ EV6) UNAME_MACHINE=alphaev6 ;;
878
+ EV67) UNAME_MACHINE=alphaev67 ;;
879
+ EV68*) UNAME_MACHINE=alphaev68 ;;
880
+ esac
881
+ objdump --private-headers /bin/sh | grep -q ld.so.1
882
+ if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
883
+ echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
884
+ exit ;;
885
+ arm*:Linux:*:*)
886
+ eval $set_cc_for_build
887
+ if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
888
+ | grep -q __ARM_EABI__
889
+ then
890
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
891
+ else
892
+ if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
893
+ | grep -q __ARM_PCS_VFP
894
+ then
895
+ echo ${UNAME_MACHINE}-unknown-linux-gnueabi
896
+ else
897
+ echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
898
+ fi
899
+ fi
900
+ exit ;;
834
901
  avr32*:Linux:*:*)
835
902
  echo ${UNAME_MACHINE}-unknown-linux-gnu
836
903
  exit ;;
837
904
  cris:Linux:*:*)
838
- echo cris-axis-linux-gnu
905
+ echo ${UNAME_MACHINE}-axis-linux-gnu
839
906
  exit ;;
840
907
  crisv32:Linux:*:*)
841
- echo crisv32-axis-linux-gnu
908
+ echo ${UNAME_MACHINE}-axis-linux-gnu
842
909
  exit ;;
843
910
  frv:Linux:*:*)
844
- echo frv-unknown-linux-gnu
911
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
912
+ exit ;;
913
+ hexagon:Linux:*:*)
914
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
915
+ exit ;;
916
+ i*86:Linux:*:*)
917
+ LIBC=gnu
918
+ eval $set_cc_for_build
919
+ sed 's/^ //' << EOF >$dummy.c
920
+ #ifdef __dietlibc__
921
+ LIBC=dietlibc
922
+ #endif
923
+ EOF
924
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
925
+ echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
845
926
  exit ;;
846
927
  ia64:Linux:*:*)
847
928
  echo ${UNAME_MACHINE}-unknown-linux-gnu
@@ -852,74 +933,33 @@ EOF
852
933
  m68*:Linux:*:*)
853
934
  echo ${UNAME_MACHINE}-unknown-linux-gnu
854
935
  exit ;;
855
- mips:Linux:*:*)
856
- eval $set_cc_for_build
857
- sed 's/^ //' << EOF >$dummy.c
858
- #undef CPU
859
- #undef mips
860
- #undef mipsel
861
- #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
862
- CPU=mipsel
863
- #else
864
- #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
865
- CPU=mips
866
- #else
867
- CPU=
868
- #endif
869
- #endif
870
- EOF
871
- eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
872
- /^CPU/{
873
- s: ::g
874
- p
875
- }'`"
876
- test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
877
- ;;
878
- mips64:Linux:*:*)
936
+ mips:Linux:*:* | mips64:Linux:*:*)
879
937
  eval $set_cc_for_build
880
938
  sed 's/^ //' << EOF >$dummy.c
881
939
  #undef CPU
882
- #undef mips64
883
- #undef mips64el
940
+ #undef ${UNAME_MACHINE}
941
+ #undef ${UNAME_MACHINE}el
884
942
  #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
885
- CPU=mips64el
943
+ CPU=${UNAME_MACHINE}el
886
944
  #else
887
945
  #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
888
- CPU=mips64
946
+ CPU=${UNAME_MACHINE}
889
947
  #else
890
948
  CPU=
891
949
  #endif
892
950
  #endif
893
951
  EOF
894
- eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
895
- /^CPU/{
896
- s: ::g
897
- p
898
- }'`"
952
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
899
953
  test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
900
954
  ;;
901
955
  or32:Linux:*:*)
902
- echo or32-unknown-linux-gnu
903
- exit ;;
904
- ppc:Linux:*:*)
905
- echo powerpc-unknown-linux-gnu
956
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
906
957
  exit ;;
907
- ppc64:Linux:*:*)
908
- echo powerpc64-unknown-linux-gnu
958
+ padre:Linux:*:*)
959
+ echo sparc-unknown-linux-gnu
909
960
  exit ;;
910
- alpha:Linux:*:*)
911
- case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
912
- EV5) UNAME_MACHINE=alphaev5 ;;
913
- EV56) UNAME_MACHINE=alphaev56 ;;
914
- PCA56) UNAME_MACHINE=alphapca56 ;;
915
- PCA57) UNAME_MACHINE=alphapca56 ;;
916
- EV6) UNAME_MACHINE=alphaev6 ;;
917
- EV67) UNAME_MACHINE=alphaev67 ;;
918
- EV68*) UNAME_MACHINE=alphaev68 ;;
919
- esac
920
- objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
921
- if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
922
- echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
961
+ parisc64:Linux:*:* | hppa64:Linux:*:*)
962
+ echo hppa64-unknown-linux-gnu
923
963
  exit ;;
924
964
  parisc:Linux:*:* | hppa:Linux:*:*)
925
965
  # Look for CPU level
@@ -929,14 +969,17 @@ EOF
929
969
  *) echo hppa-unknown-linux-gnu ;;
930
970
  esac
931
971
  exit ;;
932
- parisc64:Linux:*:* | hppa64:Linux:*:*)
933
- echo hppa64-unknown-linux-gnu
972
+ ppc64:Linux:*:*)
973
+ echo powerpc64-unknown-linux-gnu
974
+ exit ;;
975
+ ppc:Linux:*:*)
976
+ echo powerpc-unknown-linux-gnu
934
977
  exit ;;
935
978
  s390:Linux:*:* | s390x:Linux:*:*)
936
979
  echo ${UNAME_MACHINE}-ibm-linux
937
980
  exit ;;
938
981
  sh64*:Linux:*:*)
939
- echo ${UNAME_MACHINE}-unknown-linux-gnu
982
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
940
983
  exit ;;
941
984
  sh*:Linux:*:*)
942
985
  echo ${UNAME_MACHINE}-unknown-linux-gnu
@@ -944,75 +987,18 @@ EOF
944
987
  sparc:Linux:*:* | sparc64:Linux:*:*)
945
988
  echo ${UNAME_MACHINE}-unknown-linux-gnu
946
989
  exit ;;
990
+ tile*:Linux:*:*)
991
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
992
+ exit ;;
947
993
  vax:Linux:*:*)
948
994
  echo ${UNAME_MACHINE}-dec-linux-gnu
949
995
  exit ;;
950
996
  x86_64:Linux:*:*)
951
- echo x86_64-unknown-linux-gnu
997
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
998
+ exit ;;
999
+ xtensa*:Linux:*:*)
1000
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
952
1001
  exit ;;
953
- i*86:Linux:*:*)
954
- # The BFD linker knows what the default object file format is, so
955
- # first see if it will tell us. cd to the root directory to prevent
956
- # problems with other programs or directories called `ld' in the path.
957
- # Set LC_ALL=C to ensure ld outputs messages in English.
958
- ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
959
- | sed -ne '/supported targets:/!d
960
- s/[ ][ ]*/ /g
961
- s/.*supported targets: *//
962
- s/ .*//
963
- p'`
964
- case "$ld_supported_targets" in
965
- elf32-i386)
966
- TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
967
- ;;
968
- a.out-i386-linux)
969
- echo "${UNAME_MACHINE}-pc-linux-gnuaout"
970
- exit ;;
971
- coff-i386)
972
- echo "${UNAME_MACHINE}-pc-linux-gnucoff"
973
- exit ;;
974
- "")
975
- # Either a pre-BFD a.out linker (linux-gnuoldld) or
976
- # one that does not give us useful --help.
977
- echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
978
- exit ;;
979
- esac
980
- # Determine whether the default compiler is a.out or elf
981
- eval $set_cc_for_build
982
- sed 's/^ //' << EOF >$dummy.c
983
- #include <features.h>
984
- #ifdef __ELF__
985
- # ifdef __GLIBC__
986
- # if __GLIBC__ >= 2
987
- LIBC=gnu
988
- # else
989
- LIBC=gnulibc1
990
- # endif
991
- # else
992
- LIBC=gnulibc1
993
- # endif
994
- #else
995
- #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
996
- LIBC=gnu
997
- #else
998
- LIBC=gnuaout
999
- #endif
1000
- #endif
1001
- #ifdef __dietlibc__
1002
- LIBC=dietlibc
1003
- #endif
1004
- EOF
1005
- eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
1006
- /^LIBC/{
1007
- s: ::g
1008
- p
1009
- }'`"
1010
- test x"${LIBC}" != x && {
1011
- echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
1012
- exit
1013
- }
1014
- test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
1015
- ;;
1016
1002
  i*86:DYNIX/ptx:4*:*)
1017
1003
  # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
1018
1004
  # earlier versions are messed up and put the nodename in both
@@ -1020,11 +1006,11 @@ EOF
1020
1006
  echo i386-sequent-sysv4
1021
1007
  exit ;;
1022
1008
  i*86:UNIX_SV:4.2MP:2.*)
1023
- # Unixware is an offshoot of SVR4, but it has its own version
1024
- # number series starting with 2...
1025
- # I am not positive that other SVR4 systems won't match this,
1009
+ # Unixware is an offshoot of SVR4, but it has its own version
1010
+ # number series starting with 2...
1011
+ # I am not positive that other SVR4 systems won't match this,
1026
1012
  # I just have to hope. -- rms.
1027
- # Use sysv4.2uw... so that sysv4* matches it.
1013
+ # Use sysv4.2uw... so that sysv4* matches it.
1028
1014
  echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
1029
1015
  exit ;;
1030
1016
  i*86:OS/2:*:*)
@@ -1041,7 +1027,7 @@ EOF
1041
1027
  i*86:syllable:*:*)
1042
1028
  echo ${UNAME_MACHINE}-pc-syllable
1043
1029
  exit ;;
1044
- i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
1030
+ i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
1045
1031
  echo i386-unknown-lynxos${UNAME_RELEASE}
1046
1032
  exit ;;
1047
1033
  i*86:*DOS:*:*)
@@ -1056,7 +1042,7 @@ EOF
1056
1042
  fi
1057
1043
  exit ;;
1058
1044
  i*86:*:5:[678]*)
1059
- # UnixWare 7.x, OpenUNIX and OpenServer 6.
1045
+ # UnixWare 7.x, OpenUNIX and OpenServer 6.
1060
1046
  case `/bin/uname -X | grep "^Machine"` in
1061
1047
  *486*) UNAME_MACHINE=i486 ;;
1062
1048
  *Pentium) UNAME_MACHINE=i586 ;;
@@ -1084,10 +1070,13 @@ EOF
1084
1070
  exit ;;
1085
1071
  pc:*:*:*)
1086
1072
  # Left here for compatibility:
1087
- # uname -m prints for DJGPP always 'pc', but it prints nothing about
1088
- # the processor, so we play safe by assuming i386.
1089
- echo i386-pc-msdosdjgpp
1090
- exit ;;
1073
+ # uname -m prints for DJGPP always 'pc', but it prints nothing about
1074
+ # the processor, so we play safe by assuming i586.
1075
+ # Note: whatever this is, it MUST be the same as what config.sub
1076
+ # prints for the "djgpp" host, or else GDB configury will decide that
1077
+ # this is a cross-build.
1078
+ echo i586-pc-msdosdjgpp
1079
+ exit ;;
1091
1080
  Intel:Mach:3*:*)
1092
1081
  echo i386-pc-mach3
1093
1082
  exit ;;
@@ -1122,8 +1111,18 @@ EOF
1122
1111
  /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1123
1112
  && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1124
1113
  3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
1125
- /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1126
- && { echo i486-ncr-sysv4; exit; } ;;
1114
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1115
+ && { echo i486-ncr-sysv4; exit; } ;;
1116
+ NCR*:*:4.2:* | MPRAS*:*:4.2:*)
1117
+ OS_REL='.3'
1118
+ test -r /etc/.relid \
1119
+ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
1120
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1121
+ && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
1122
+ /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1123
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
1124
+ /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
1125
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1127
1126
  m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
1128
1127
  echo m68k-unknown-lynxos${UNAME_RELEASE}
1129
1128
  exit ;;
@@ -1136,7 +1135,7 @@ EOF
1136
1135
  rs6000:LynxOS:2.*:*)
1137
1136
  echo rs6000-unknown-lynxos${UNAME_RELEASE}
1138
1137
  exit ;;
1139
- PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
1138
+ PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
1140
1139
  echo powerpc-unknown-lynxos${UNAME_RELEASE}
1141
1140
  exit ;;
1142
1141
  SM[BE]S:UNIX_SV:*:*)
@@ -1156,10 +1155,10 @@ EOF
1156
1155
  echo ns32k-sni-sysv
1157
1156
  fi
1158
1157
  exit ;;
1159
- PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
1160
- # says <Richard.M.Bartel@ccMail.Census.GOV>
1161
- echo i586-unisys-sysv4
1162
- exit ;;
1158
+ PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
1159
+ # says <Richard.M.Bartel@ccMail.Census.GOV>
1160
+ echo i586-unisys-sysv4
1161
+ exit ;;
1163
1162
  *:UNIX_System_V:4*:FTX*)
1164
1163
  # From Gerald Hewes <hewes@openmarket.com>.
1165
1164
  # How about differentiating between stratus architectures? -djm
@@ -1185,11 +1184,11 @@ EOF
1185
1184
  exit ;;
1186
1185
  R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
1187
1186
  if [ -d /usr/nec ]; then
1188
- echo mips-nec-sysv${UNAME_RELEASE}
1187
+ echo mips-nec-sysv${UNAME_RELEASE}
1189
1188
  else
1190
- echo mips-unknown-sysv${UNAME_RELEASE}
1189
+ echo mips-unknown-sysv${UNAME_RELEASE}
1191
1190
  fi
1192
- exit ;;
1191
+ exit ;;
1193
1192
  BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
1194
1193
  echo powerpc-be-beos
1195
1194
  exit ;;
@@ -1199,6 +1198,9 @@ EOF
1199
1198
  BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
1200
1199
  echo i586-pc-beos
1201
1200
  exit ;;
1201
+ BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
1202
+ echo i586-pc-haiku
1203
+ exit ;;
1202
1204
  SX-4:SUPER-UX:*:*)
1203
1205
  echo sx4-nec-superux${UNAME_RELEASE}
1204
1206
  exit ;;
@@ -1208,6 +1210,15 @@ EOF
1208
1210
  SX-6:SUPER-UX:*:*)
1209
1211
  echo sx6-nec-superux${UNAME_RELEASE}
1210
1212
  exit ;;
1213
+ SX-7:SUPER-UX:*:*)
1214
+ echo sx7-nec-superux${UNAME_RELEASE}
1215
+ exit ;;
1216
+ SX-8:SUPER-UX:*:*)
1217
+ echo sx8-nec-superux${UNAME_RELEASE}
1218
+ exit ;;
1219
+ SX-8R:SUPER-UX:*:*)
1220
+ echo sx8r-nec-superux${UNAME_RELEASE}
1221
+ exit ;;
1211
1222
  Power*:Rhapsody:*:*)
1212
1223
  echo powerpc-apple-rhapsody${UNAME_RELEASE}
1213
1224
  exit ;;
@@ -1217,6 +1228,16 @@ EOF
1217
1228
  *:Darwin:*:*)
1218
1229
  UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1219
1230
  case $UNAME_PROCESSOR in
1231
+ i386)
1232
+ eval $set_cc_for_build
1233
+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
1234
+ if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
1235
+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
1236
+ grep IS_64BIT_ARCH >/dev/null
1237
+ then
1238
+ UNAME_PROCESSOR="x86_64"
1239
+ fi
1240
+ fi ;;
1220
1241
  unknown) UNAME_PROCESSOR=powerpc ;;
1221
1242
  esac
1222
1243
  echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
@@ -1232,6 +1253,9 @@ EOF
1232
1253
  *:QNX:*:4*)
1233
1254
  echo i386-pc-qnx
1234
1255
  exit ;;
1256
+ NEO-?:NONSTOP_KERNEL:*:*)
1257
+ echo neo-tandem-nsk${UNAME_RELEASE}
1258
+ exit ;;
1235
1259
  NSE-?:NONSTOP_KERNEL:*:*)
1236
1260
  echo nse-tandem-nsk${UNAME_RELEASE}
1237
1261
  exit ;;
@@ -1277,13 +1301,13 @@ EOF
1277
1301
  echo pdp10-unknown-its
1278
1302
  exit ;;
1279
1303
  SEI:*:*:SEIUX)
1280
- echo mips-sei-seiux${UNAME_RELEASE}
1304
+ echo mips-sei-seiux${UNAME_RELEASE}
1281
1305
  exit ;;
1282
1306
  *:DragonFly:*:*)
1283
1307
  echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
1284
1308
  exit ;;
1285
1309
  *:*VMS:*:*)
1286
- UNAME_MACHINE=`(uname -p) 2>/dev/null`
1310
+ UNAME_MACHINE=`(uname -p) 2>/dev/null`
1287
1311
  case "${UNAME_MACHINE}" in
1288
1312
  A*) echo alpha-dec-vms ; exit ;;
1289
1313
  I*) echo ia64-dec-vms ; exit ;;
@@ -1298,6 +1322,12 @@ EOF
1298
1322
  i*86:rdos:*:*)
1299
1323
  echo ${UNAME_MACHINE}-pc-rdos
1300
1324
  exit ;;
1325
+ i*86:AROS:*:*)
1326
+ echo ${UNAME_MACHINE}-pc-aros
1327
+ exit ;;
1328
+ x86_64:VMkernel:*:*)
1329
+ echo ${UNAME_MACHINE}-unknown-esx
1330
+ exit ;;
1301
1331
  esac
1302
1332
 
1303
1333
  #echo '(No uname command or uname output not recognized.)' 1>&2
@@ -1320,11 +1350,11 @@ main ()
1320
1350
  #include <sys/param.h>
1321
1351
  printf ("m68k-sony-newsos%s\n",
1322
1352
  #ifdef NEWSOS4
1323
- "4"
1353
+ "4"
1324
1354
  #else
1325
- ""
1355
+ ""
1326
1356
  #endif
1327
- ); exit (0);
1357
+ ); exit (0);
1328
1358
  #endif
1329
1359
  #endif
1330
1360
 
@@ -1458,9 +1488,9 @@ This script, last modified $timestamp, has failed to recognize
1458
1488
  the operating system you are using. It is advised that you
1459
1489
  download the most up to date version of the config scripts from
1460
1490
 
1461
- http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
1491
+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
1462
1492
  and
1463
- http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
1493
+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
1464
1494
 
1465
1495
  If the version you run ($0) is already up to date, please
1466
1496
  send the following data and any information you think might be