nutcracker 0.2.4.4 → 0.2.4.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (293) hide show
  1. data/README.md +1 -1
  2. data/ext/nutcracker/ChangeLog +0 -0
  3. data/ext/nutcracker/LICENSE +0 -0
  4. data/ext/nutcracker/Makefile +643 -0
  5. data/ext/nutcracker/Makefile.am +0 -0
  6. data/ext/nutcracker/Makefile.in +82 -190
  7. data/ext/nutcracker/NOTICE +0 -0
  8. data/ext/nutcracker/README.md +0 -0
  9. data/ext/nutcracker/aclocal.m4 +122 -231
  10. data/ext/nutcracker/autom4te.cache/output.0 +18664 -0
  11. data/ext/nutcracker/autom4te.cache/output.1 +18664 -0
  12. data/ext/nutcracker/autom4te.cache/output.2 +18664 -0
  13. data/ext/nutcracker/autom4te.cache/requests +494 -0
  14. data/ext/nutcracker/autom4te.cache/traces.0 +2415 -0
  15. data/ext/nutcracker/autom4te.cache/traces.1 +945 -0
  16. data/ext/nutcracker/autom4te.cache/traces.2 +2415 -0
  17. data/ext/nutcracker/conf/nutcracker.leaf.yml +0 -0
  18. data/ext/nutcracker/conf/nutcracker.root.yml +0 -0
  19. data/ext/nutcracker/conf/nutcracker.yml +0 -0
  20. data/ext/nutcracker/config.h +332 -0
  21. data/ext/nutcracker/config.h.in +15 -0
  22. data/ext/nutcracker/config.log +2684 -0
  23. data/ext/nutcracker/config.status +2317 -0
  24. data/ext/nutcracker/config/config.guess +248 -278
  25. data/ext/nutcracker/config/config.sub +77 -234
  26. data/ext/nutcracker/config/depcomp +39 -143
  27. data/ext/nutcracker/config/install-sh +116 -136
  28. data/ext/nutcracker/config/ltmain.sh +788 -1704
  29. data/ext/nutcracker/config/missing +65 -29
  30. data/ext/nutcracker/configure +1068 -2014
  31. data/ext/nutcracker/configure.ac +34 -2
  32. data/ext/nutcracker/contrib/Makefile +494 -0
  33. data/ext/nutcracker/contrib/Makefile.am +0 -0
  34. data/ext/nutcracker/contrib/Makefile.in +47 -120
  35. data/ext/nutcracker/contrib/yaml-0.1.4.tar.gz +0 -0
  36. data/ext/nutcracker/contrib/yaml-0.1.4/Makefile +736 -0
  37. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/output.0 +13102 -0
  38. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/output.1 +13085 -0
  39. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/output.2 +13085 -0
  40. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/requests +476 -0
  41. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/traces.0 +2339 -0
  42. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/traces.1 +545 -0
  43. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/traces.2 +2339 -0
  44. data/ext/nutcracker/contrib/yaml-0.1.4/config.h +81 -0
  45. data/ext/nutcracker/contrib/yaml-0.1.4/config.h.in~ +80 -0
  46. data/ext/nutcracker/contrib/yaml-0.1.4/config.log +688 -0
  47. data/ext/nutcracker/contrib/yaml-0.1.4/config.status +2032 -0
  48. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/annotated.html +51 -0
  49. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/bc_s.png +0 -0
  50. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/classes.html +41 -0
  51. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/closed.png +0 -0
  52. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/doxygen.css +656 -0
  53. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/doxygen.png +0 -0
  54. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/files.html +40 -0
  55. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions.html +91 -0
  56. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x62.html +84 -0
  57. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x63.html +87 -0
  58. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x64.html +83 -0
  59. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x65.html +110 -0
  60. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x66.html +79 -0
  61. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x68.html +80 -0
  62. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x69.html +92 -0
  63. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x6b.html +71 -0
  64. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x6c.html +88 -0
  65. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x6d.html +96 -0
  66. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x6e.html +71 -0
  67. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x6f.html +80 -0
  68. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x70.html +100 -0
  69. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x71.html +71 -0
  70. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x72.html +87 -0
  71. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x73.html +163 -0
  72. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x74.html +115 -0
  73. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x75.html +71 -0
  74. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x76.html +80 -0
  75. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x77.html +77 -0
  76. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars.html +91 -0
  77. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x62.html +84 -0
  78. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x63.html +87 -0
  79. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x64.html +83 -0
  80. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x65.html +110 -0
  81. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x66.html +79 -0
  82. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x68.html +80 -0
  83. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x69.html +92 -0
  84. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x6b.html +71 -0
  85. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x6c.html +88 -0
  86. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x6d.html +96 -0
  87. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x6e.html +71 -0
  88. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x6f.html +80 -0
  89. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x70.html +100 -0
  90. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x71.html +71 -0
  91. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x72.html +87 -0
  92. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x73.html +163 -0
  93. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x74.html +115 -0
  94. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x75.html +71 -0
  95. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x76.html +80 -0
  96. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x77.html +77 -0
  97. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals.html +667 -0
  98. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals_defs.html +81 -0
  99. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals_enum.html +78 -0
  100. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals_eval.html +373 -0
  101. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals_func.html +196 -0
  102. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals_type.html +126 -0
  103. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__basic.html +320 -0
  104. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__emitter.html +819 -0
  105. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__events.html +664 -0
  106. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__export.html +60 -0
  107. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__nodes.html +795 -0
  108. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__parser.html +606 -0
  109. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__styles.html +222 -0
  110. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__tokens.html +246 -0
  111. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__version.html +106 -0
  112. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/index.html +31 -0
  113. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/modules.html +42 -0
  114. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/nav_f.png +0 -0
  115. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/nav_h.png +0 -0
  116. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/open.png +0 -0
  117. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__alias__data__s.html +108 -0
  118. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__document__s.html +235 -0
  119. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__emitter__s.html +1300 -0
  120. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__event__s.html +496 -0
  121. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__mark__s.html +108 -0
  122. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__node__pair__s.html +91 -0
  123. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__node__s.html +420 -0
  124. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__parser__s.html +1229 -0
  125. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__simple__key__s.html +97 -0
  126. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__tag__directive__s.html +91 -0
  127. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__token__s.html +413 -0
  128. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__version__directive__s.html +91 -0
  129. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/tab_a.png +0 -0
  130. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/tab_b.png +0 -0
  131. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/tab_h.png +0 -0
  132. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/tab_s.png +0 -0
  133. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/tabs.css +59 -0
  134. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/yaml_8h.html +525 -0
  135. data/ext/nutcracker/contrib/yaml-0.1.4/include/Makefile.am +17 -0
  136. data/ext/nutcracker/contrib/yaml-0.1.4/include/Makefile.in +470 -0
  137. data/ext/nutcracker/contrib/yaml-0.1.4/libtool +8890 -0
  138. data/ext/nutcracker/contrib/yaml-0.1.4/src/Makefile +484 -0
  139. data/ext/nutcracker/contrib/yaml-0.1.4/src/api.lo +12 -0
  140. data/ext/nutcracker/contrib/yaml-0.1.4/src/api.o +0 -0
  141. data/ext/nutcracker/contrib/yaml-0.1.4/src/dumper.lo +12 -0
  142. data/ext/nutcracker/contrib/yaml-0.1.4/src/dumper.o +0 -0
  143. data/ext/nutcracker/contrib/yaml-0.1.4/src/emitter.lo +12 -0
  144. data/ext/nutcracker/contrib/yaml-0.1.4/src/emitter.o +0 -0
  145. data/ext/nutcracker/contrib/yaml-0.1.4/src/libyaml.la +41 -0
  146. data/ext/nutcracker/contrib/yaml-0.1.4/src/loader.lo +12 -0
  147. data/ext/nutcracker/contrib/yaml-0.1.4/src/loader.o +0 -0
  148. data/ext/nutcracker/contrib/yaml-0.1.4/src/parser.lo +12 -0
  149. data/ext/nutcracker/contrib/yaml-0.1.4/src/parser.o +0 -0
  150. data/ext/nutcracker/contrib/yaml-0.1.4/src/reader.lo +12 -0
  151. data/ext/nutcracker/contrib/yaml-0.1.4/src/reader.o +0 -0
  152. data/ext/nutcracker/contrib/yaml-0.1.4/src/scanner.lo +12 -0
  153. data/ext/nutcracker/contrib/yaml-0.1.4/src/scanner.o +0 -0
  154. data/ext/nutcracker/contrib/yaml-0.1.4/src/writer.lo +12 -0
  155. data/ext/nutcracker/contrib/yaml-0.1.4/src/writer.o +0 -0
  156. data/ext/nutcracker/contrib/yaml-0.1.4/stamp-h1 +1 -0
  157. data/ext/nutcracker/contrib/yaml-0.1.4/tests/Makefile +675 -0
  158. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-deconstructor +0 -0
  159. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-deconstructor-alt +0 -0
  160. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-deconstructor-alt.o +0 -0
  161. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-deconstructor.o +0 -0
  162. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-reformatter +0 -0
  163. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-reformatter-alt +0 -0
  164. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-reformatter-alt.o +0 -0
  165. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-reformatter.o +0 -0
  166. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-dumper +0 -0
  167. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-dumper.o +0 -0
  168. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-emitter +0 -0
  169. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-emitter.o +0 -0
  170. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-loader +0 -0
  171. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-loader.o +0 -0
  172. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-parser +0 -0
  173. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-parser.o +0 -0
  174. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-scanner +0 -0
  175. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-scanner.o +0 -0
  176. data/ext/nutcracker/contrib/yaml-0.1.4/yaml-0.1.pc +10 -0
  177. data/ext/nutcracker/contrib/yaml-0.1.4/yaml-0.1.pc.in +10 -0
  178. data/ext/nutcracker/exconf.rb +0 -0
  179. data/ext/nutcracker/extconf.rb +2 -5
  180. data/ext/nutcracker/libtool +9403 -0
  181. data/ext/nutcracker/m4/libtool.m4 +396 -960
  182. data/ext/nutcracker/m4/ltoptions.m4 +2 -17
  183. data/ext/nutcracker/m4/ltversion.m4 +6 -6
  184. data/ext/nutcracker/notes/c-styleguide.txt +0 -0
  185. data/ext/nutcracker/notes/debug.txt +0 -0
  186. data/ext/nutcracker/notes/memcache.txt +0 -0
  187. data/ext/nutcracker/notes/recommendation.md +0 -0
  188. data/ext/nutcracker/notes/redis.md +0 -0
  189. data/ext/nutcracker/notes/socket.txt +0 -0
  190. data/ext/nutcracker/scripts/nutcracker.init +0 -0
  191. data/ext/nutcracker/scripts/nutcracker.spec +0 -0
  192. data/ext/nutcracker/scripts/redis-check.py +0 -0
  193. data/ext/nutcracker/src/Makefile +647 -0
  194. data/ext/nutcracker/src/Makefile.am +1 -1
  195. data/ext/nutcracker/src/Makefile.in +81 -167
  196. data/ext/nutcracker/src/hashkit/Makefile +476 -0
  197. data/ext/nutcracker/src/hashkit/Makefile.am +0 -0
  198. data/ext/nutcracker/src/hashkit/Makefile.in +37 -72
  199. data/ext/nutcracker/src/hashkit/libhashkit.a +0 -0
  200. data/ext/nutcracker/src/hashkit/nc_crc16.c +0 -0
  201. data/ext/nutcracker/src/hashkit/nc_crc16.o +0 -0
  202. data/ext/nutcracker/src/hashkit/nc_crc32.c +0 -0
  203. data/ext/nutcracker/src/hashkit/nc_crc32.o +0 -0
  204. data/ext/nutcracker/src/hashkit/nc_fnv.c +0 -0
  205. data/ext/nutcracker/src/hashkit/nc_fnv.o +0 -0
  206. data/ext/nutcracker/src/hashkit/nc_hashkit.h +0 -0
  207. data/ext/nutcracker/src/hashkit/nc_hsieh.c +0 -0
  208. data/ext/nutcracker/src/hashkit/nc_hsieh.o +0 -0
  209. data/ext/nutcracker/src/hashkit/nc_jenkins.c +0 -0
  210. data/ext/nutcracker/src/hashkit/nc_jenkins.o +0 -0
  211. data/ext/nutcracker/src/hashkit/nc_ketama.c +0 -0
  212. data/ext/nutcracker/src/hashkit/nc_ketama.o +0 -0
  213. data/ext/nutcracker/src/hashkit/nc_md5.c +0 -0
  214. data/ext/nutcracker/src/hashkit/nc_md5.o +0 -0
  215. data/ext/nutcracker/src/hashkit/nc_modula.c +0 -0
  216. data/ext/nutcracker/src/hashkit/nc_modula.o +0 -0
  217. data/ext/nutcracker/src/hashkit/nc_murmur.c +0 -0
  218. data/ext/nutcracker/src/hashkit/nc_murmur.o +0 -0
  219. data/ext/nutcracker/src/hashkit/nc_one_at_a_time.c +0 -0
  220. data/ext/nutcracker/src/hashkit/nc_one_at_a_time.o +0 -0
  221. data/ext/nutcracker/src/hashkit/nc_random.c +0 -0
  222. data/ext/nutcracker/src/hashkit/nc_random.o +0 -0
  223. data/ext/nutcracker/src/nc.c +0 -0
  224. data/ext/nutcracker/src/nc.o +0 -0
  225. data/ext/nutcracker/src/nc_array.c +0 -0
  226. data/ext/nutcracker/src/nc_array.h +0 -0
  227. data/ext/nutcracker/src/nc_array.o +0 -0
  228. data/ext/nutcracker/src/nc_client.c +0 -0
  229. data/ext/nutcracker/src/nc_client.h +0 -0
  230. data/ext/nutcracker/src/nc_client.o +0 -0
  231. data/ext/nutcracker/src/nc_conf.c +0 -0
  232. data/ext/nutcracker/src/nc_conf.h +0 -0
  233. data/ext/nutcracker/src/nc_conf.o +0 -0
  234. data/ext/nutcracker/src/nc_connection.c +0 -0
  235. data/ext/nutcracker/src/nc_connection.h +0 -0
  236. data/ext/nutcracker/src/nc_connection.o +0 -0
  237. data/ext/nutcracker/src/nc_core.c +29 -26
  238. data/ext/nutcracker/src/nc_core.h +13 -5
  239. data/ext/nutcracker/src/nc_core.o +0 -0
  240. data/ext/nutcracker/src/{nc_event.c → nc_epoll.c} +94 -30
  241. data/ext/nutcracker/src/nc_epoll.o +0 -0
  242. data/ext/nutcracker/src/nc_event.h +33 -13
  243. data/ext/nutcracker/src/nc_kqueue.c +296 -0
  244. data/ext/nutcracker/src/nc_kqueue.o +0 -0
  245. data/ext/nutcracker/src/nc_log.c +0 -0
  246. data/ext/nutcracker/src/nc_log.h +0 -0
  247. data/ext/nutcracker/src/nc_log.o +0 -0
  248. data/ext/nutcracker/src/nc_mbuf.c +0 -0
  249. data/ext/nutcracker/src/nc_mbuf.h +0 -0
  250. data/ext/nutcracker/src/nc_mbuf.o +0 -0
  251. data/ext/nutcracker/src/nc_message.c +0 -0
  252. data/ext/nutcracker/src/nc_message.h +0 -0
  253. data/ext/nutcracker/src/nc_message.o +0 -0
  254. data/ext/nutcracker/src/nc_proxy.c +8 -8
  255. data/ext/nutcracker/src/nc_proxy.h +0 -0
  256. data/ext/nutcracker/src/nc_proxy.o +0 -0
  257. data/ext/nutcracker/src/nc_queue.h +0 -0
  258. data/ext/nutcracker/src/nc_rbtree.c +0 -0
  259. data/ext/nutcracker/src/nc_rbtree.h +0 -0
  260. data/ext/nutcracker/src/nc_rbtree.o +0 -0
  261. data/ext/nutcracker/src/nc_request.c +3 -3
  262. data/ext/nutcracker/src/nc_request.o +0 -0
  263. data/ext/nutcracker/src/nc_response.c +4 -6
  264. data/ext/nutcracker/src/nc_response.o +0 -0
  265. data/ext/nutcracker/src/nc_server.c +5 -5
  266. data/ext/nutcracker/src/nc_server.h +0 -0
  267. data/ext/nutcracker/src/nc_server.o +0 -0
  268. data/ext/nutcracker/src/nc_signal.c +0 -0
  269. data/ext/nutcracker/src/nc_signal.h +0 -0
  270. data/ext/nutcracker/src/nc_signal.o +0 -0
  271. data/ext/nutcracker/src/nc_stats.c +16 -21
  272. data/ext/nutcracker/src/nc_stats.h +3 -4
  273. data/ext/nutcracker/src/nc_stats.o +0 -0
  274. data/ext/nutcracker/src/nc_string.c +0 -0
  275. data/ext/nutcracker/src/nc_string.h +0 -0
  276. data/ext/nutcracker/src/nc_string.o +0 -0
  277. data/ext/nutcracker/src/nc_util.c +16 -0
  278. data/ext/nutcracker/src/nc_util.h +1 -0
  279. data/ext/nutcracker/src/nc_util.o +0 -0
  280. data/ext/nutcracker/src/nutcracker +0 -0
  281. data/ext/nutcracker/src/proto/Makefile +454 -0
  282. data/ext/nutcracker/src/proto/Makefile.am +0 -0
  283. data/ext/nutcracker/src/proto/Makefile.in +37 -72
  284. data/ext/nutcracker/src/proto/libproto.a +0 -0
  285. data/ext/nutcracker/src/proto/nc_memcache.c +0 -0
  286. data/ext/nutcracker/src/proto/nc_memcache.o +0 -0
  287. data/ext/nutcracker/src/proto/nc_proto.h +0 -0
  288. data/ext/nutcracker/src/proto/nc_redis.c +0 -0
  289. data/ext/nutcracker/src/proto/nc_redis.o +0 -0
  290. data/ext/nutcracker/stamp-h1 +1 -0
  291. data/lib/nutcracker.rb +95 -4
  292. data/lib/nutcracker/version.rb +1 -1
  293. metadata +217 -4
@@ -0,0 +1,2032 @@
1
+ #! /bin/sh
2
+ # Generated by configure.
3
+ # Run this file to recreate the current configuration.
4
+ # Compiler output produced by configure, useful for debugging
5
+ # configure, is in config.log if it exists.
6
+
7
+ debug=false
8
+ ac_cs_recheck=false
9
+ ac_cs_silent=false
10
+
11
+ SHELL=${CONFIG_SHELL-/bin/sh}
12
+ export SHELL
13
+ ## -------------------- ##
14
+ ## M4sh Initialization. ##
15
+ ## -------------------- ##
16
+
17
+ # Be more Bourne compatible
18
+ DUALCASE=1; export DUALCASE # for MKS sh
19
+ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20
+ emulate sh
21
+ NULLCMD=:
22
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23
+ # is contrary to our usage. Disable this feature.
24
+ alias -g '${1+"$@"}'='"$@"'
25
+ setopt NO_GLOB_SUBST
26
+ else
27
+ case `(set -o) 2>/dev/null` in #(
28
+ *posix*) :
29
+ set -o posix ;; #(
30
+ *) :
31
+ ;;
32
+ esac
33
+ fi
34
+
35
+
36
+ as_nl='
37
+ '
38
+ export as_nl
39
+ # Printing a long string crashes Solaris 7 /usr/bin/printf.
40
+ as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
+ as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
+ as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
+ # Prefer a ksh shell builtin over an external printf program on Solaris,
44
+ # but without wasting forks for bash or zsh.
45
+ if test -z "$BASH_VERSION$ZSH_VERSION" \
46
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47
+ as_echo='print -r --'
48
+ as_echo_n='print -rn --'
49
+ elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50
+ as_echo='printf %s\n'
51
+ as_echo_n='printf %s'
52
+ else
53
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
+ as_echo_n='/usr/ucb/echo -n'
56
+ else
57
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
+ as_echo_n_body='eval
59
+ arg=$1;
60
+ case $arg in #(
61
+ *"$as_nl"*)
62
+ expr "X$arg" : "X\\(.*\\)$as_nl";
63
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64
+ esac;
65
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66
+ '
67
+ export as_echo_n_body
68
+ as_echo_n='sh -c $as_echo_n_body as_echo'
69
+ fi
70
+ export as_echo_body
71
+ as_echo='sh -c $as_echo_body as_echo'
72
+ fi
73
+
74
+ # The user is always right.
75
+ if test "${PATH_SEPARATOR+set}" != set; then
76
+ PATH_SEPARATOR=:
77
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79
+ PATH_SEPARATOR=';'
80
+ }
81
+ fi
82
+
83
+
84
+ # IFS
85
+ # We need space, tab and new line, in precisely that order. Quoting is
86
+ # there to prevent editors from complaining about space-tab.
87
+ # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
+ # splitting by setting IFS to empty value.)
89
+ IFS=" "" $as_nl"
90
+
91
+ # Find who we are. Look in the path if we contain no directory separator.
92
+ case $0 in #((
93
+ *[\\/]* ) as_myself=$0 ;;
94
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95
+ for as_dir in $PATH
96
+ do
97
+ IFS=$as_save_IFS
98
+ test -z "$as_dir" && as_dir=.
99
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100
+ done
101
+ IFS=$as_save_IFS
102
+
103
+ ;;
104
+ esac
105
+ # We did not find ourselves, most probably we were run as `sh COMMAND'
106
+ # in which case we are not to be found in the path.
107
+ if test "x$as_myself" = x; then
108
+ as_myself=$0
109
+ fi
110
+ if test ! -f "$as_myself"; then
111
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112
+ exit 1
113
+ fi
114
+
115
+ # Unset variables that we do not need and which cause bugs (e.g. in
116
+ # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117
+ # suppresses any "Segmentation fault" message there. '((' could
118
+ # trigger a bug in pdksh 5.2.14.
119
+ for as_var in BASH_ENV ENV MAIL MAILPATH
120
+ do eval test x\${$as_var+set} = xset \
121
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122
+ done
123
+ PS1='$ '
124
+ PS2='> '
125
+ PS4='+ '
126
+
127
+ # NLS nuisances.
128
+ LC_ALL=C
129
+ export LC_ALL
130
+ LANGUAGE=C
131
+ export LANGUAGE
132
+
133
+ # CDPATH.
134
+ (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
+
136
+
137
+ # as_fn_error ERROR [LINENO LOG_FD]
138
+ # ---------------------------------
139
+ # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
140
+ # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
141
+ # script with status $?, using 1 if that was 0.
142
+ as_fn_error ()
143
+ {
144
+ as_status=$?; test $as_status -eq 0 && as_status=1
145
+ if test "$3"; then
146
+ as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
147
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
148
+ fi
149
+ $as_echo "$as_me: error: $1" >&2
150
+ as_fn_exit $as_status
151
+ } # as_fn_error
152
+
153
+
154
+ # as_fn_set_status STATUS
155
+ # -----------------------
156
+ # Set $? to STATUS, without forking.
157
+ as_fn_set_status ()
158
+ {
159
+ return $1
160
+ } # as_fn_set_status
161
+
162
+ # as_fn_exit STATUS
163
+ # -----------------
164
+ # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
165
+ as_fn_exit ()
166
+ {
167
+ set +e
168
+ as_fn_set_status $1
169
+ exit $1
170
+ } # as_fn_exit
171
+
172
+ # as_fn_unset VAR
173
+ # ---------------
174
+ # Portably unset VAR.
175
+ as_fn_unset ()
176
+ {
177
+ { eval $1=; unset $1;}
178
+ }
179
+ as_unset=as_fn_unset
180
+ # as_fn_append VAR VALUE
181
+ # ----------------------
182
+ # Append the text in VALUE to the end of the definition contained in VAR. Take
183
+ # advantage of any shell optimizations that allow amortized linear growth over
184
+ # repeated appends, instead of the typical quadratic growth present in naive
185
+ # implementations.
186
+ if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
187
+ eval 'as_fn_append ()
188
+ {
189
+ eval $1+=\$2
190
+ }'
191
+ else
192
+ as_fn_append ()
193
+ {
194
+ eval $1=\$$1\$2
195
+ }
196
+ fi # as_fn_append
197
+
198
+ # as_fn_arith ARG...
199
+ # ------------------
200
+ # Perform arithmetic evaluation on the ARGs, and store the result in the
201
+ # global $as_val. Take advantage of shells that can avoid forks. The arguments
202
+ # must be portable across $(()) and expr.
203
+ if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
204
+ eval 'as_fn_arith ()
205
+ {
206
+ as_val=$(( $* ))
207
+ }'
208
+ else
209
+ as_fn_arith ()
210
+ {
211
+ as_val=`expr "$@" || test $? -eq 1`
212
+ }
213
+ fi # as_fn_arith
214
+
215
+
216
+ if expr a : '\(a\)' >/dev/null 2>&1 &&
217
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
218
+ as_expr=expr
219
+ else
220
+ as_expr=false
221
+ fi
222
+
223
+ if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
224
+ as_basename=basename
225
+ else
226
+ as_basename=false
227
+ fi
228
+
229
+ if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
230
+ as_dirname=dirname
231
+ else
232
+ as_dirname=false
233
+ fi
234
+
235
+ as_me=`$as_basename -- "$0" ||
236
+ $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
237
+ X"$0" : 'X\(//\)$' \| \
238
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
239
+ $as_echo X/"$0" |
240
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
241
+ s//\1/
242
+ q
243
+ }
244
+ /^X\/\(\/\/\)$/{
245
+ s//\1/
246
+ q
247
+ }
248
+ /^X\/\(\/\).*/{
249
+ s//\1/
250
+ q
251
+ }
252
+ s/.*/./; q'`
253
+
254
+ # Avoid depending upon Character Ranges.
255
+ as_cr_letters='abcdefghijklmnopqrstuvwxyz'
256
+ as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
257
+ as_cr_Letters=$as_cr_letters$as_cr_LETTERS
258
+ as_cr_digits='0123456789'
259
+ as_cr_alnum=$as_cr_Letters$as_cr_digits
260
+
261
+ ECHO_C= ECHO_N= ECHO_T=
262
+ case `echo -n x` in #(((((
263
+ -n*)
264
+ case `echo 'xy\c'` in
265
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
266
+ xy) ECHO_C='\c';;
267
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
268
+ ECHO_T=' ';;
269
+ esac;;
270
+ *)
271
+ ECHO_N='-n';;
272
+ esac
273
+
274
+ rm -f conf$$ conf$$.exe conf$$.file
275
+ if test -d conf$$.dir; then
276
+ rm -f conf$$.dir/conf$$.file
277
+ else
278
+ rm -f conf$$.dir
279
+ mkdir conf$$.dir 2>/dev/null
280
+ fi
281
+ if (echo >conf$$.file) 2>/dev/null; then
282
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
283
+ as_ln_s='ln -s'
284
+ # ... but there are two gotchas:
285
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
286
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
287
+ # In both cases, we have to default to `cp -p'.
288
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
289
+ as_ln_s='cp -p'
290
+ elif ln conf$$.file conf$$ 2>/dev/null; then
291
+ as_ln_s=ln
292
+ else
293
+ as_ln_s='cp -p'
294
+ fi
295
+ else
296
+ as_ln_s='cp -p'
297
+ fi
298
+ rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
299
+ rmdir conf$$.dir 2>/dev/null
300
+
301
+
302
+ # as_fn_mkdir_p
303
+ # -------------
304
+ # Create "$as_dir" as a directory, including parents if necessary.
305
+ as_fn_mkdir_p ()
306
+ {
307
+
308
+ case $as_dir in #(
309
+ -*) as_dir=./$as_dir;;
310
+ esac
311
+ test -d "$as_dir" || eval $as_mkdir_p || {
312
+ as_dirs=
313
+ while :; do
314
+ case $as_dir in #(
315
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
316
+ *) as_qdir=$as_dir;;
317
+ esac
318
+ as_dirs="'$as_qdir' $as_dirs"
319
+ as_dir=`$as_dirname -- "$as_dir" ||
320
+ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
321
+ X"$as_dir" : 'X\(//\)[^/]' \| \
322
+ X"$as_dir" : 'X\(//\)$' \| \
323
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
324
+ $as_echo X"$as_dir" |
325
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
326
+ s//\1/
327
+ q
328
+ }
329
+ /^X\(\/\/\)[^/].*/{
330
+ s//\1/
331
+ q
332
+ }
333
+ /^X\(\/\/\)$/{
334
+ s//\1/
335
+ q
336
+ }
337
+ /^X\(\/\).*/{
338
+ s//\1/
339
+ q
340
+ }
341
+ s/.*/./; q'`
342
+ test -d "$as_dir" && break
343
+ done
344
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
345
+ } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
346
+
347
+
348
+ } # as_fn_mkdir_p
349
+ if mkdir -p . 2>/dev/null; then
350
+ as_mkdir_p='mkdir -p "$as_dir"'
351
+ else
352
+ test -d ./-p && rmdir ./-p
353
+ as_mkdir_p=false
354
+ fi
355
+
356
+ if test -x / >/dev/null 2>&1; then
357
+ as_test_x='test -x'
358
+ else
359
+ if ls -dL / >/dev/null 2>&1; then
360
+ as_ls_L_option=L
361
+ else
362
+ as_ls_L_option=
363
+ fi
364
+ as_test_x='
365
+ eval sh -c '\''
366
+ if test -d "$1"; then
367
+ test -d "$1/.";
368
+ else
369
+ case $1 in #(
370
+ -*)set "./$1";;
371
+ esac;
372
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
373
+ ???[sx]*):;;*)false;;esac;fi
374
+ '\'' sh
375
+ '
376
+ fi
377
+ as_executable_p=$as_test_x
378
+
379
+ # Sed expression to map a string onto a valid CPP name.
380
+ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
381
+
382
+ # Sed expression to map a string onto a valid variable name.
383
+ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
384
+
385
+
386
+ exec 6>&1
387
+ ## ----------------------------------- ##
388
+ ## Main body of $CONFIG_STATUS script. ##
389
+ ## ----------------------------------- ##
390
+ # Save the log message, to keep $0 and so on meaningful, and to
391
+ # report actual input values of CONFIG_FILES etc. instead of their
392
+ # values after options handling.
393
+ ac_log="
394
+ This file was extended by yaml $as_me 0.1.4, which was
395
+ generated by GNU Autoconf 2.64. Invocation command line was
396
+
397
+ CONFIG_FILES = $CONFIG_FILES
398
+ CONFIG_HEADERS = $CONFIG_HEADERS
399
+ CONFIG_LINKS = $CONFIG_LINKS
400
+ CONFIG_COMMANDS = $CONFIG_COMMANDS
401
+ $ $0 $@
402
+
403
+ on `(hostname || uname -n) 2>/dev/null | sed 1q`
404
+ "
405
+
406
+ # Files that config.status was made for.
407
+ config_files=" src/Makefile Makefile tests/Makefile"
408
+ config_headers=" config.h"
409
+ config_commands=" depfiles libtool"
410
+
411
+ ac_cs_usage="\
412
+ \`$as_me' instantiates files and other configuration actions
413
+ from templates according to the current configuration. Unless the files
414
+ and actions are specified as TAGs, all are instantiated by default.
415
+
416
+ Usage: $0 [OPTION]... [TAG]...
417
+
418
+ -h, --help print this help, then exit
419
+ -V, --version print version number and configuration settings, then exit
420
+ -q, --quiet, --silent
421
+ do not print progress messages
422
+ -d, --debug don't remove temporary files
423
+ --recheck update $as_me by reconfiguring in the same conditions
424
+ --file=FILE[:TEMPLATE]
425
+ instantiate the configuration file FILE
426
+ --header=FILE[:TEMPLATE]
427
+ instantiate the configuration header FILE
428
+
429
+ Configuration files:
430
+ $config_files
431
+
432
+ Configuration headers:
433
+ $config_headers
434
+
435
+ Configuration commands:
436
+ $config_commands
437
+
438
+ Report bugs to <http://pyyaml.org/newticket?component=libyaml>."
439
+
440
+ ac_cs_version="\
441
+ yaml config.status 0.1.4
442
+ configured by ./configure, generated by GNU Autoconf 2.64,
443
+ with options \"'--disable-option-checking' '--prefix=/usr/local' '--cache-file=/dev/null' '--srcdir=.'\"
444
+
445
+ Copyright (C) 2009 Free Software Foundation, Inc.
446
+ This config.status script is free software; the Free Software Foundation
447
+ gives unlimited permission to copy, distribute and modify it."
448
+
449
+ ac_pwd='/Users/eran/github/nutcracker/twemproxy-twemproxy_bsd/contrib/yaml-0.1.4'
450
+ srcdir='.'
451
+ INSTALL='/usr/bin/install -c'
452
+ MKDIR_P='config/install-sh -c -d'
453
+ AWK='awk'
454
+ test -n "$AWK" || AWK=awk
455
+ # The default lists apply if the user does not specify any file.
456
+ ac_need_defaults=:
457
+ while test $# != 0
458
+ do
459
+ case $1 in
460
+ --*=*)
461
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
462
+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
463
+ ac_shift=:
464
+ ;;
465
+ *)
466
+ ac_option=$1
467
+ ac_optarg=$2
468
+ ac_shift=shift
469
+ ;;
470
+ esac
471
+
472
+ case $ac_option in
473
+ # Handling of the options.
474
+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
475
+ ac_cs_recheck=: ;;
476
+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
477
+ $as_echo "$ac_cs_version"; exit ;;
478
+ --debug | --debu | --deb | --de | --d | -d )
479
+ debug=: ;;
480
+ --file | --fil | --fi | --f )
481
+ $ac_shift
482
+ case $ac_optarg in
483
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
484
+ esac
485
+ as_fn_append CONFIG_FILES " '$ac_optarg'"
486
+ ac_need_defaults=false;;
487
+ --header | --heade | --head | --hea )
488
+ $ac_shift
489
+ case $ac_optarg in
490
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
491
+ esac
492
+ as_fn_append CONFIG_HEADERS " '$ac_optarg'"
493
+ ac_need_defaults=false;;
494
+ --he | --h)
495
+ # Conflict between --help and --header
496
+ as_fn_error "ambiguous option: \`$1'
497
+ Try \`$0 --help' for more information.";;
498
+ --help | --hel | -h )
499
+ $as_echo "$ac_cs_usage"; exit ;;
500
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
501
+ | -silent | --silent | --silen | --sile | --sil | --si | --s)
502
+ ac_cs_silent=: ;;
503
+
504
+ # This is an error.
505
+ -*) as_fn_error "unrecognized option: \`$1'
506
+ Try \`$0 --help' for more information." ;;
507
+
508
+ *) as_fn_append ac_config_targets " $1"
509
+ ac_need_defaults=false ;;
510
+
511
+ esac
512
+ shift
513
+ done
514
+
515
+ ac_configure_extra_args=
516
+
517
+ if $ac_cs_silent; then
518
+ exec 6>/dev/null
519
+ ac_configure_extra_args="$ac_configure_extra_args --silent"
520
+ fi
521
+
522
+ if $ac_cs_recheck; then
523
+ set X '/bin/sh' './configure' '--disable-option-checking' '--prefix=/usr/local' '--cache-file=/dev/null' '--srcdir=.' $ac_configure_extra_args --no-create --no-recursion
524
+ shift
525
+ $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
526
+ CONFIG_SHELL='/bin/sh'
527
+ export CONFIG_SHELL
528
+ exec "$@"
529
+ fi
530
+
531
+ exec 5>>config.log
532
+ {
533
+ echo
534
+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
535
+ ## Running $as_me. ##
536
+ _ASBOX
537
+ $as_echo "$ac_log"
538
+ } >&5
539
+
540
+ #
541
+ # INIT-COMMANDS
542
+ #
543
+ AMDEP_TRUE="" ac_aux_dir="config"
544
+
545
+
546
+ # The HP-UX ksh and POSIX shell print the target directory to stdout
547
+ # if CDPATH is set.
548
+ (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
549
+
550
+ sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
551
+ double_quote_subst='s/\(["`\\]\)/\\\1/g'
552
+ delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
553
+ macro_version='2.2.6'
554
+ macro_revision='1.3012'
555
+ enable_shared='yes'
556
+ enable_static='yes'
557
+ pic_mode='default'
558
+ enable_fast_install='needless'
559
+ host_alias=''
560
+ host='i386-apple-darwin11.4.2'
561
+ host_os='darwin11.4.2'
562
+ build_alias=''
563
+ build='i386-apple-darwin11.4.2'
564
+ build_os='darwin11.4.2'
565
+ SED='/usr/bin/sed'
566
+ Xsed='/usr/bin/sed -e 1s/^X//'
567
+ GREP='/usr/bin/grep'
568
+ EGREP='/usr/bin/grep -E'
569
+ FGREP='/usr/bin/grep -F'
570
+ LD='/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld'
571
+ NM='/usr/bin/nm'
572
+ LN_S='ln -s'
573
+ max_cmd_len='196608'
574
+ ac_objext='o'
575
+ exeext=''
576
+ lt_unset='unset'
577
+ lt_SP2NL='tr \040 \012'
578
+ lt_NL2SP='tr \015\012 \040\040'
579
+ reload_flag=' -r'
580
+ reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
581
+ OBJDUMP='false'
582
+ deplibs_check_method='pass_all'
583
+ file_magic_cmd='$MAGIC_CMD'
584
+ AR='ar'
585
+ AR_FLAGS='cru'
586
+ STRIP='strip'
587
+ RANLIB='ranlib'
588
+ old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $oldlib'
589
+ old_postuninstall_cmds=''
590
+ old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $oldlib'
591
+ CC='gcc'
592
+ CFLAGS='-g -O2'
593
+ compiler='gcc'
594
+ GCC='yes'
595
+ lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p'\'''
596
+ lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[BCDEGRST]* .* \(.*\)$/extern char \1;/p'\'''
597
+ lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
598
+ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'''
599
+ objdir='.libs'
600
+ SHELL='/bin/sh'
601
+ ECHO='/bin/echo'
602
+ MAGIC_CMD='file'
603
+ lt_prog_compiler_no_builtin_flag=' -fno-builtin'
604
+ lt_prog_compiler_wl='-Wl,'
605
+ lt_prog_compiler_pic=' -fno-common -DPIC'
606
+ lt_prog_compiler_static=''
607
+ lt_cv_prog_compiler_c_o='yes'
608
+ need_locks='no'
609
+ DSYMUTIL='dsymutil'
610
+ NMEDIT='nmedit'
611
+ LIPO='lipo'
612
+ OTOOL='otool'
613
+ OTOOL64=':'
614
+ libext='a'
615
+ shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
616
+ extract_expsyms_cmds=''
617
+ archive_cmds_need_lc='no'
618
+ enable_shared_with_static_runtimes='no'
619
+ export_dynamic_flag_spec=''
620
+ whole_archive_flag_spec=''
621
+ compiler_needs_object='no'
622
+ old_archive_from_new_cmds=''
623
+ old_archive_from_expsyms_cmds=''
624
+ archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring $single_module~$DSYMUTIL $lib || :'
625
+ archive_expsym_cmds='sed '\''s,^,_,'\'' < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring $single_module ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym~$DSYMUTIL $lib || :'
626
+ module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs $compiler_flags~$DSYMUTIL $lib || :'
627
+ module_expsym_cmds='sed -e '\''s,^,_,'\'' < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs $compiler_flags ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym~$DSYMUTIL $lib || :'
628
+ with_gnu_ld='no'
629
+ allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
630
+ no_undefined_flag=''
631
+ hardcode_libdir_flag_spec=''
632
+ hardcode_libdir_flag_spec_ld=''
633
+ hardcode_libdir_separator=''
634
+ hardcode_direct='no'
635
+ hardcode_direct_absolute='no'
636
+ hardcode_minus_L='no'
637
+ hardcode_shlibpath_var='unsupported'
638
+ hardcode_automatic='yes'
639
+ inherit_rpath='no'
640
+ link_all_deplibs='yes'
641
+ fix_srcfile_path=''
642
+ always_export_symbols='no'
643
+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
644
+ exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
645
+ include_expsyms=''
646
+ prelink_cmds=''
647
+ file_list_spec=''
648
+ variables_saved_for_relink='PATH DYLD_LIBRARY_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH'
649
+ need_lib_prefix='no'
650
+ need_version='no'
651
+ version_type='darwin'
652
+ runpath_var=''
653
+ shlibpath_var='DYLD_LIBRARY_PATH'
654
+ shlibpath_overrides_runpath='yes'
655
+ libname_spec='lib$name'
656
+ library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
657
+ soname_spec='${libname}${release}${major}$shared_ext'
658
+ postinstall_cmds=''
659
+ postuninstall_cmds=''
660
+ finish_cmds=''
661
+ finish_eval=''
662
+ hardcode_into_libs='no'
663
+ sys_lib_search_path_spec='/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/x86_64 /Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/x86_64 /usr/lib/gcc/i686-apple-darwin11/4.2.1/x86_64 /usr/lib/i686-apple-darwin11/4.2.1 /usr/lib /usr/llvm-gcc-4.2/lib/gcc /usr/llvm-gcc-4.2/lib /Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib /usr/local/lib'
664
+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
665
+ hardcode_action='immediate'
666
+ enable_dlopen='unknown'
667
+ enable_dlopen_self='unknown'
668
+ enable_dlopen_self_static='unknown'
669
+ old_striplib='strip -S'
670
+ striplib='strip -x'
671
+
672
+ LTCC='gcc'
673
+ LTCFLAGS='-g -O2'
674
+ compiler='gcc'
675
+
676
+ # Quote evaled strings.
677
+ for var in SED GREP EGREP FGREP LD NM LN_S lt_SP2NL lt_NL2SP reload_flag OBJDUMP deplibs_check_method file_magic_cmd AR AR_FLAGS STRIP RANLIB CC CFLAGS compiler lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl lt_cv_sys_global_symbol_to_c_name_address lt_cv_sys_global_symbol_to_c_name_address_lib_prefix SHELL ECHO lt_prog_compiler_no_builtin_flag lt_prog_compiler_wl lt_prog_compiler_pic lt_prog_compiler_static lt_cv_prog_compiler_c_o need_locks DSYMUTIL NMEDIT LIPO OTOOL OTOOL64 shrext_cmds export_dynamic_flag_spec whole_archive_flag_spec compiler_needs_object with_gnu_ld allow_undefined_flag no_undefined_flag hardcode_libdir_flag_spec hardcode_libdir_flag_spec_ld hardcode_libdir_separator fix_srcfile_path exclude_expsyms include_expsyms file_list_spec variables_saved_for_relink libname_spec library_names_spec soname_spec finish_eval old_striplib striplib; do
678
+ case `eval \\$ECHO "X\\$$var"` in
679
+ *[\\\`\"\$]*)
680
+ eval "lt_$var=\\\"\`\$ECHO \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
681
+ ;;
682
+ *)
683
+ eval "lt_$var=\\\"\$$var\\\""
684
+ ;;
685
+ esac
686
+ done
687
+
688
+ # Double-quote double-evaled strings.
689
+ for var in reload_cmds old_postinstall_cmds old_postuninstall_cmds old_archive_cmds extract_expsyms_cmds old_archive_from_new_cmds old_archive_from_expsyms_cmds archive_cmds archive_expsym_cmds module_cmds module_expsym_cmds export_symbols_cmds prelink_cmds postinstall_cmds postuninstall_cmds finish_cmds sys_lib_search_path_spec sys_lib_dlsearch_path_spec; do
690
+ case `eval \\$ECHO "X\\$$var"` in
691
+ *[\\\`\"\$]*)
692
+ eval "lt_$var=\\\"\`\$ECHO \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
693
+ ;;
694
+ *)
695
+ eval "lt_$var=\\\"\$$var\\\""
696
+ ;;
697
+ esac
698
+ done
699
+
700
+ # Fix-up fallback echo if it was mangled by the above quoting rules.
701
+ case $lt_ECHO in
702
+ *'\$0 --fallback-echo"') lt_ECHO=`$ECHO "X$lt_ECHO" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
703
+ ;;
704
+ esac
705
+
706
+ ac_aux_dir='config'
707
+ xsi_shell='yes'
708
+ lt_shell_append='yes'
709
+
710
+ # See if we are running on zsh, and set the options which allow our
711
+ # commands through without removal of \ escapes INIT.
712
+ if test -n "${ZSH_VERSION+set}" ; then
713
+ setopt NO_GLOB_SUBST
714
+ fi
715
+
716
+
717
+ PACKAGE='yaml'
718
+ VERSION='0.1.4'
719
+ TIMESTAMP=''
720
+ RM='rm -f'
721
+ ofile='libtool'
722
+
723
+
724
+
725
+
726
+
727
+ # Handling of arguments.
728
+ for ac_config_target in $ac_config_targets
729
+ do
730
+ case $ac_config_target in
731
+ "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
732
+ "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
733
+ "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
734
+ "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
735
+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
736
+ "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
737
+
738
+ *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
739
+ esac
740
+ done
741
+
742
+
743
+ # If the user did not use the arguments to specify the items to instantiate,
744
+ # then the envvar interface is used. Set only those that are not.
745
+ # We use the long form for the default assignment because of an extremely
746
+ # bizarre bug on SunOS 4.1.3.
747
+ if $ac_need_defaults; then
748
+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
749
+ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
750
+ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
751
+ fi
752
+
753
+ # Have a temporary directory for convenience. Make it in the build tree
754
+ # simply because there is no reason against having it here, and in addition,
755
+ # creating and moving files from /tmp can sometimes cause problems.
756
+ # Hook for its removal unless debugging.
757
+ # Note that there is a small window in which the directory will not be cleaned:
758
+ # after its creation but before its name has been assigned to `$tmp'.
759
+ $debug ||
760
+ {
761
+ tmp=
762
+ trap 'exit_status=$?
763
+ { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
764
+ ' 0
765
+ trap 'as_fn_exit 1' 1 2 13 15
766
+ }
767
+ # Create a (secure) tmp directory for tmp files.
768
+
769
+ {
770
+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
771
+ test -n "$tmp" && test -d "$tmp"
772
+ } ||
773
+ {
774
+ tmp=./conf$$-$RANDOM
775
+ (umask 077 && mkdir "$tmp")
776
+ } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
777
+
778
+ # Set up the scripts for CONFIG_FILES section.
779
+ # No need to generate them if there are no CONFIG_FILES.
780
+ # This happens for instance with `./config.status config.h'.
781
+ if test -n "$CONFIG_FILES"; then
782
+
783
+
784
+ ac_cr=`echo X | tr X '\015'`
785
+ # On cygwin, bash can eat \r inside `` if the user requested igncr.
786
+ # But we know of no other shell where ac_cr would be empty at this
787
+ # point, so we can use a bashism as a fallback.
788
+ if test "x$ac_cr" = x; then
789
+ eval ac_cr=\$\'\\r\'
790
+ fi
791
+ ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
792
+ if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
793
+ ac_cs_awk_cr='\r'
794
+ else
795
+ ac_cs_awk_cr=$ac_cr
796
+ fi
797
+
798
+ echo 'BEGIN {' >"$tmp/subs1.awk" &&
799
+ cat >>"$tmp/subs1.awk" <<\_ACAWK &&
800
+ S["am__EXEEXT_FALSE"]=""
801
+ S["am__EXEEXT_TRUE"]="#"
802
+ S["LTLIBOBJS"]=""
803
+ S["LIBOBJS"]=""
804
+ S["DOXYGEN_FALSE"]=""
805
+ S["DOXYGEN_TRUE"]="#"
806
+ S["DOXYGEN"]="false"
807
+ S["OTOOL64"]=":"
808
+ S["OTOOL"]="otool"
809
+ S["LIPO"]="lipo"
810
+ S["NMEDIT"]="nmedit"
811
+ S["DSYMUTIL"]="dsymutil"
812
+ S["lt_ECHO"]="/bin/echo"
813
+ S["RANLIB"]="ranlib"
814
+ S["AR"]="ar"
815
+ S["OBJDUMP"]="false"
816
+ S["NM"]="/usr/bin/nm"
817
+ S["ac_ct_DUMPBIN"]=""
818
+ S["DUMPBIN"]=""
819
+ S["LD"]="/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld"
820
+ S["FGREP"]="/usr/bin/grep -F"
821
+ S["EGREP"]="/usr/bin/grep -E"
822
+ S["GREP"]="/usr/bin/grep"
823
+ S["SED"]="/usr/bin/sed"
824
+ S["host_os"]="darwin11.4.2"
825
+ S["host_vendor"]="apple"
826
+ S["host_cpu"]="i386"
827
+ S["host"]="i386-apple-darwin11.4.2"
828
+ S["build_os"]="darwin11.4.2"
829
+ S["build_vendor"]="apple"
830
+ S["build_cpu"]="i386"
831
+ S["build"]="i386-apple-darwin11.4.2"
832
+ S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool"
833
+ S["LN_S"]="ln -s"
834
+ S["CPP"]="gcc -E"
835
+ S["am__fastdepCC_FALSE"]="#"
836
+ S["am__fastdepCC_TRUE"]=""
837
+ S["CCDEPMODE"]="depmode=gcc3"
838
+ S["AMDEPBACKSLASH"]="\\"
839
+ S["AMDEP_FALSE"]="#"
840
+ S["AMDEP_TRUE"]=""
841
+ S["am__quote"]=""
842
+ S["am__include"]="include"
843
+ S["DEPDIR"]=".deps"
844
+ S["OBJEXT"]="o"
845
+ S["EXEEXT"]=""
846
+ S["ac_ct_CC"]="gcc"
847
+ S["CPPFLAGS"]=""
848
+ S["LDFLAGS"]=""
849
+ S["CFLAGS"]="-g -O2"
850
+ S["CC"]="gcc"
851
+ S["YAML_LT_AGE"]="0"
852
+ S["YAML_LT_REVISION"]="2"
853
+ S["YAML_LT_CURRENT"]="2"
854
+ S["YAML_LT_RELEASE"]="0"
855
+ S["am__untar"]="${AMTAR} xf -"
856
+ S["am__tar"]="${AMTAR} chof - \"$$tardir\""
857
+ S["AMTAR"]="${SHELL} /Users/eran/github/nutcracker/twemproxy-twemproxy_bsd/contrib/yaml-0.1.4/config/missing --run tar"
858
+ S["am__leading_dot"]="."
859
+ S["SET_MAKE"]=""
860
+ S["AWK"]="awk"
861
+ S["mkdir_p"]="$(top_builddir)/config/install-sh -c -d"
862
+ S["MKDIR_P"]="config/install-sh -c -d"
863
+ S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
864
+ S["STRIP"]="strip"
865
+ S["install_sh"]="${SHELL} /Users/eran/github/nutcracker/twemproxy-twemproxy_bsd/contrib/yaml-0.1.4/config/install-sh"
866
+ S["MAKEINFO"]="${SHELL} /Users/eran/github/nutcracker/twemproxy-twemproxy_bsd/contrib/yaml-0.1.4/config/missing --run makeinfo"
867
+ S["AUTOHEADER"]="${SHELL} /Users/eran/github/nutcracker/twemproxy-twemproxy_bsd/contrib/yaml-0.1.4/config/missing --run autoheader"
868
+ S["AUTOMAKE"]="${SHELL} /Users/eran/github/nutcracker/twemproxy-twemproxy_bsd/contrib/yaml-0.1.4/config/missing --run automake-1.11"
869
+ S["AUTOCONF"]="${SHELL} /Users/eran/github/nutcracker/twemproxy-twemproxy_bsd/contrib/yaml-0.1.4/config/missing --run autoconf"
870
+ S["ACLOCAL"]="${SHELL} /Users/eran/github/nutcracker/twemproxy-twemproxy_bsd/contrib/yaml-0.1.4/config/missing --run aclocal-1.11"
871
+ S["VERSION"]="0.1.4"
872
+ S["PACKAGE"]="yaml"
873
+ S["CYGPATH_W"]="echo"
874
+ S["am__isrc"]=""
875
+ S["INSTALL_DATA"]="${INSTALL} -m 644"
876
+ S["INSTALL_SCRIPT"]="${INSTALL}"
877
+ S["INSTALL_PROGRAM"]="${INSTALL}"
878
+ S["target_alias"]=""
879
+ S["host_alias"]=""
880
+ S["build_alias"]=""
881
+ S["LIBS"]=""
882
+ S["ECHO_T"]=""
883
+ S["ECHO_N"]=""
884
+ S["ECHO_C"]="\\c"
885
+ S["DEFS"]="-DHAVE_CONFIG_H"
886
+ S["mandir"]="${datarootdir}/man"
887
+ S["localedir"]="${datarootdir}/locale"
888
+ S["libdir"]="${exec_prefix}/lib"
889
+ S["psdir"]="${docdir}"
890
+ S["pdfdir"]="${docdir}"
891
+ S["dvidir"]="${docdir}"
892
+ S["htmldir"]="${docdir}"
893
+ S["infodir"]="${datarootdir}/info"
894
+ S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
895
+ S["oldincludedir"]="/usr/include"
896
+ S["includedir"]="${prefix}/include"
897
+ S["localstatedir"]="${prefix}/var"
898
+ S["sharedstatedir"]="${prefix}/com"
899
+ S["sysconfdir"]="${prefix}/etc"
900
+ S["datadir"]="${datarootdir}"
901
+ S["datarootdir"]="${prefix}/share"
902
+ S["libexecdir"]="${exec_prefix}/libexec"
903
+ S["sbindir"]="${exec_prefix}/sbin"
904
+ S["bindir"]="${exec_prefix}/bin"
905
+ S["program_transform_name"]="s,x,x,"
906
+ S["prefix"]="/usr/local"
907
+ S["exec_prefix"]="${prefix}"
908
+ S["PACKAGE_URL"]=""
909
+ S["PACKAGE_BUGREPORT"]="http://pyyaml.org/newticket?component=libyaml"
910
+ S["PACKAGE_STRING"]="yaml 0.1.4"
911
+ S["PACKAGE_VERSION"]="0.1.4"
912
+ S["PACKAGE_TARNAME"]="yaml"
913
+ S["PACKAGE_NAME"]="yaml"
914
+ S["PATH_SEPARATOR"]=":"
915
+ S["SHELL"]="/bin/sh"
916
+ _ACAWK
917
+ cat >>"$tmp/subs1.awk" <<_ACAWK &&
918
+ for (key in S) S_is_set[key] = 1
919
+ FS = ""
920
+
921
+ }
922
+ {
923
+ line = $ 0
924
+ nfields = split(line, field, "@")
925
+ substed = 0
926
+ len = length(field[1])
927
+ for (i = 2; i < nfields; i++) {
928
+ key = field[i]
929
+ keylen = length(key)
930
+ if (S_is_set[key]) {
931
+ value = S[key]
932
+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
933
+ len += length(value) + length(field[++i])
934
+ substed = 1
935
+ } else
936
+ len += 1 + keylen
937
+ }
938
+
939
+ print line
940
+ }
941
+
942
+ _ACAWK
943
+ if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
944
+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
945
+ else
946
+ cat
947
+ fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
948
+ || as_fn_error "could not setup config files machinery" "$LINENO" 5
949
+ fi # test -n "$CONFIG_FILES"
950
+
951
+ # Set up the scripts for CONFIG_HEADERS section.
952
+ # No need to generate them if there are no CONFIG_HEADERS.
953
+ # This happens for instance with `./config.status Makefile'.
954
+ if test -n "$CONFIG_HEADERS"; then
955
+ cat >"$tmp/defines.awk" <<\_ACAWK ||
956
+ BEGIN {
957
+ D["PACKAGE_NAME"]=" \"yaml\""
958
+ D["PACKAGE_TARNAME"]=" \"yaml\""
959
+ D["PACKAGE_VERSION"]=" \"0.1.4\""
960
+ D["PACKAGE_STRING"]=" \"yaml 0.1.4\""
961
+ D["PACKAGE_BUGREPORT"]=" \"http://pyyaml.org/newticket?component=libyaml\""
962
+ D["PACKAGE_URL"]=" \"\""
963
+ D["PACKAGE"]=" \"yaml\""
964
+ D["VERSION"]=" \"0.1.4\""
965
+ D["YAML_VERSION_MAJOR"]=" 0"
966
+ D["YAML_VERSION_MINOR"]=" 1"
967
+ D["YAML_VERSION_PATCH"]=" 4"
968
+ D["YAML_VERSION_STRING"]=" \"0.1.4\""
969
+ D["STDC_HEADERS"]=" 1"
970
+ D["HAVE_SYS_TYPES_H"]=" 1"
971
+ D["HAVE_SYS_STAT_H"]=" 1"
972
+ D["HAVE_STDLIB_H"]=" 1"
973
+ D["HAVE_STRING_H"]=" 1"
974
+ D["HAVE_MEMORY_H"]=" 1"
975
+ D["HAVE_STRINGS_H"]=" 1"
976
+ D["HAVE_INTTYPES_H"]=" 1"
977
+ D["HAVE_STDINT_H"]=" 1"
978
+ D["HAVE_UNISTD_H"]=" 1"
979
+ D["HAVE_DLFCN_H"]=" 1"
980
+ D["LT_OBJDIR"]=" \".libs/\""
981
+ D["STDC_HEADERS"]=" 1"
982
+ D["HAVE_STDLIB_H"]=" 1"
983
+ for (key in D) D_is_set[key] = 1
984
+ FS = ""
985
+ }
986
+ /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
987
+ line = $ 0
988
+ split(line, arg, " ")
989
+ if (arg[1] == "#") {
990
+ defundef = arg[2]
991
+ mac1 = arg[3]
992
+ } else {
993
+ defundef = substr(arg[1], 2)
994
+ mac1 = arg[2]
995
+ }
996
+ split(mac1, mac2, "(") #)
997
+ macro = mac2[1]
998
+ prefix = substr(line, 1, index(line, defundef) - 1)
999
+ if (D_is_set[macro]) {
1000
+ # Preserve the white space surrounding the "#".
1001
+ print prefix "define", macro P[macro] D[macro]
1002
+ next
1003
+ } else {
1004
+ # Replace #undef with comments. This is necessary, for example,
1005
+ # in the case of _POSIX_SOURCE, which is predefined and required
1006
+ # on some systems where configure will not decide to define it.
1007
+ if (defundef == "undef") {
1008
+ print "/*", prefix defundef, macro, "*/"
1009
+ next
1010
+ }
1011
+ }
1012
+ }
1013
+ { print }
1014
+ _ACAWK
1015
+ as_fn_error "could not setup config headers machinery" "$LINENO" 5
1016
+ fi # test -n "$CONFIG_HEADERS"
1017
+
1018
+
1019
+ eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
1020
+ shift
1021
+ for ac_tag
1022
+ do
1023
+ case $ac_tag in
1024
+ :[FHLC]) ac_mode=$ac_tag; continue;;
1025
+ esac
1026
+ case $ac_mode$ac_tag in
1027
+ :[FHL]*:*);;
1028
+ :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
1029
+ :[FH]-) ac_tag=-:-;;
1030
+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
1031
+ esac
1032
+ ac_save_IFS=$IFS
1033
+ IFS=:
1034
+ set x $ac_tag
1035
+ IFS=$ac_save_IFS
1036
+ shift
1037
+ ac_file=$1
1038
+ shift
1039
+
1040
+ case $ac_mode in
1041
+ :L) ac_source=$1;;
1042
+ :[FH])
1043
+ ac_file_inputs=
1044
+ for ac_f
1045
+ do
1046
+ case $ac_f in
1047
+ -) ac_f="$tmp/stdin";;
1048
+ *) # Look for the file first in the build tree, then in the source tree
1049
+ # (if the path is not absolute). The absolute path cannot be DOS-style,
1050
+ # because $ac_f cannot contain `:'.
1051
+ test -f "$ac_f" ||
1052
+ case $ac_f in
1053
+ [\\/$]*) false;;
1054
+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
1055
+ esac ||
1056
+ as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1057
+ esac
1058
+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1059
+ as_fn_append ac_file_inputs " '$ac_f'"
1060
+ done
1061
+
1062
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
1063
+ # use $as_me), people would be surprised to read:
1064
+ # /* config.h. Generated by config.status. */
1065
+ configure_input='Generated from '`
1066
+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
1067
+ `' by configure.'
1068
+ if test x"$ac_file" != x-; then
1069
+ configure_input="$ac_file. $configure_input"
1070
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
1071
+ $as_echo "$as_me: creating $ac_file" >&6;}
1072
+ fi
1073
+ # Neutralize special characters interpreted by sed in replacement strings.
1074
+ case $configure_input in #(
1075
+ *\&* | *\|* | *\\* )
1076
+ ac_sed_conf_input=`$as_echo "$configure_input" |
1077
+ sed 's/[\\\\&|]/\\\\&/g'`;; #(
1078
+ *) ac_sed_conf_input=$configure_input;;
1079
+ esac
1080
+
1081
+ case $ac_tag in
1082
+ *:-:* | *:-) cat >"$tmp/stdin" \
1083
+ || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
1084
+ esac
1085
+ ;;
1086
+ esac
1087
+
1088
+ ac_dir=`$as_dirname -- "$ac_file" ||
1089
+ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1090
+ X"$ac_file" : 'X\(//\)[^/]' \| \
1091
+ X"$ac_file" : 'X\(//\)$' \| \
1092
+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1093
+ $as_echo X"$ac_file" |
1094
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1095
+ s//\1/
1096
+ q
1097
+ }
1098
+ /^X\(\/\/\)[^/].*/{
1099
+ s//\1/
1100
+ q
1101
+ }
1102
+ /^X\(\/\/\)$/{
1103
+ s//\1/
1104
+ q
1105
+ }
1106
+ /^X\(\/\).*/{
1107
+ s//\1/
1108
+ q
1109
+ }
1110
+ s/.*/./; q'`
1111
+ as_dir="$ac_dir"; as_fn_mkdir_p
1112
+ ac_builddir=.
1113
+
1114
+ case "$ac_dir" in
1115
+ .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1116
+ *)
1117
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1118
+ # A ".." for each directory in $ac_dir_suffix.
1119
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1120
+ case $ac_top_builddir_sub in
1121
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1122
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1123
+ esac ;;
1124
+ esac
1125
+ ac_abs_top_builddir=$ac_pwd
1126
+ ac_abs_builddir=$ac_pwd$ac_dir_suffix
1127
+ # for backward compatibility:
1128
+ ac_top_builddir=$ac_top_build_prefix
1129
+
1130
+ case $srcdir in
1131
+ .) # We are building in place.
1132
+ ac_srcdir=.
1133
+ ac_top_srcdir=$ac_top_builddir_sub
1134
+ ac_abs_top_srcdir=$ac_pwd ;;
1135
+ [\\/]* | ?:[\\/]* ) # Absolute name.
1136
+ ac_srcdir=$srcdir$ac_dir_suffix;
1137
+ ac_top_srcdir=$srcdir
1138
+ ac_abs_top_srcdir=$srcdir ;;
1139
+ *) # Relative name.
1140
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1141
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
1142
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1143
+ esac
1144
+ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1145
+
1146
+
1147
+ case $ac_mode in
1148
+ :F)
1149
+ #
1150
+ # CONFIG_FILE
1151
+ #
1152
+
1153
+ case $INSTALL in
1154
+ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1155
+ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1156
+ esac
1157
+ ac_MKDIR_P=$MKDIR_P
1158
+ case $MKDIR_P in
1159
+ [\\/$]* | ?:[\\/]* ) ;;
1160
+ */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
1161
+ esac
1162
+ # If the template does not know about datarootdir, expand it.
1163
+ # FIXME: This hack should be removed a few years after 2.60.
1164
+ ac_datarootdir_hack=; ac_datarootdir_seen=
1165
+ ac_sed_dataroot='
1166
+ /datarootdir/ {
1167
+ p
1168
+ q
1169
+ }
1170
+ /@datadir@/p
1171
+ /@docdir@/p
1172
+ /@infodir@/p
1173
+ /@localedir@/p
1174
+ /@mandir@/p'
1175
+ case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
1176
+ *datarootdir*) ac_datarootdir_seen=yes;;
1177
+ *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1178
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
1179
+ $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1180
+ ac_datarootdir_hack='
1181
+ s&@datadir@&${datarootdir}&g
1182
+ s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
1183
+ s&@infodir@&${datarootdir}/info&g
1184
+ s&@localedir@&${datarootdir}/locale&g
1185
+ s&@mandir@&${datarootdir}/man&g
1186
+ s&\${datarootdir}&${prefix}/share&g' ;;
1187
+ esac
1188
+ ac_sed_extra="/^[ ]*VPATH[ ]*=/{
1189
+ s/:*\$(srcdir):*/:/
1190
+ s/:*\${srcdir}:*/:/
1191
+ s/:*@srcdir@:*/:/
1192
+ s/^\([^=]*=[ ]*\):*/\1/
1193
+ s/:*$//
1194
+ s/^[^=]*=[ ]*$//
1195
+ }
1196
+
1197
+ :t
1198
+ /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1199
+ s|@configure_input@|$ac_sed_conf_input|;t t
1200
+ s&@top_builddir@&$ac_top_builddir_sub&;t t
1201
+ s&@top_build_prefix@&$ac_top_build_prefix&;t t
1202
+ s&@srcdir@&$ac_srcdir&;t t
1203
+ s&@abs_srcdir@&$ac_abs_srcdir&;t t
1204
+ s&@top_srcdir@&$ac_top_srcdir&;t t
1205
+ s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
1206
+ s&@builddir@&$ac_builddir&;t t
1207
+ s&@abs_builddir@&$ac_abs_builddir&;t t
1208
+ s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
1209
+ s&@INSTALL@&$ac_INSTALL&;t t
1210
+ s&@MKDIR_P@&$ac_MKDIR_P&;t t
1211
+ $ac_datarootdir_hack
1212
+ "
1213
+ eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
1214
+ || as_fn_error "could not create $ac_file" "$LINENO" 5
1215
+
1216
+ test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1217
+ { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
1218
+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
1219
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1220
+ which seems to be undefined. Please make sure it is defined." >&5
1221
+ $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1222
+ which seems to be undefined. Please make sure it is defined." >&2;}
1223
+
1224
+ rm -f "$tmp/stdin"
1225
+ case $ac_file in
1226
+ -) cat "$tmp/out" && rm -f "$tmp/out";;
1227
+ *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
1228
+ esac \
1229
+ || as_fn_error "could not create $ac_file" "$LINENO" 5
1230
+ ;;
1231
+ :H)
1232
+ #
1233
+ # CONFIG_HEADER
1234
+ #
1235
+ if test x"$ac_file" != x-; then
1236
+ {
1237
+ $as_echo "/* $configure_input */" \
1238
+ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
1239
+ } >"$tmp/config.h" \
1240
+ || as_fn_error "could not create $ac_file" "$LINENO" 5
1241
+ if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
1242
+ { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
1243
+ $as_echo "$as_me: $ac_file is unchanged" >&6;}
1244
+ else
1245
+ rm -f "$ac_file"
1246
+ mv "$tmp/config.h" "$ac_file" \
1247
+ || as_fn_error "could not create $ac_file" "$LINENO" 5
1248
+ fi
1249
+ else
1250
+ $as_echo "/* $configure_input */" \
1251
+ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
1252
+ || as_fn_error "could not create -" "$LINENO" 5
1253
+ fi
1254
+ # Compute "$ac_file"'s index in $config_headers.
1255
+ _am_arg="$ac_file"
1256
+ _am_stamp_count=1
1257
+ for _am_header in $config_headers :; do
1258
+ case $_am_header in
1259
+ $_am_arg | $_am_arg:* )
1260
+ break ;;
1261
+ * )
1262
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1263
+ esac
1264
+ done
1265
+ echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
1266
+ $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1267
+ X"$_am_arg" : 'X\(//\)[^/]' \| \
1268
+ X"$_am_arg" : 'X\(//\)$' \| \
1269
+ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
1270
+ $as_echo X"$_am_arg" |
1271
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1272
+ s//\1/
1273
+ q
1274
+ }
1275
+ /^X\(\/\/\)[^/].*/{
1276
+ s//\1/
1277
+ q
1278
+ }
1279
+ /^X\(\/\/\)$/{
1280
+ s//\1/
1281
+ q
1282
+ }
1283
+ /^X\(\/\).*/{
1284
+ s//\1/
1285
+ q
1286
+ }
1287
+ s/.*/./; q'`/stamp-h$_am_stamp_count
1288
+ ;;
1289
+
1290
+ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
1291
+ $as_echo "$as_me: executing $ac_file commands" >&6;}
1292
+ ;;
1293
+ esac
1294
+
1295
+
1296
+ case $ac_file$ac_mode in
1297
+ "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
1298
+ # Autoconf 2.62 quotes --file arguments for eval, but not when files
1299
+ # are listed without --file. Let's play safe and only enable the eval
1300
+ # if we detect the quoting.
1301
+ case $CONFIG_FILES in
1302
+ *\'*) eval set x "$CONFIG_FILES" ;;
1303
+ *) set x $CONFIG_FILES ;;
1304
+ esac
1305
+ shift
1306
+ for mf
1307
+ do
1308
+ # Strip MF so we end up with the name of the file.
1309
+ mf=`echo "$mf" | sed -e 's/:.*$//'`
1310
+ # Check whether this is an Automake generated Makefile or not.
1311
+ # We used to match only the files named `Makefile.in', but
1312
+ # some people rename them; so instead we look at the file content.
1313
+ # Grep'ing the first line is not enough: some people post-process
1314
+ # each Makefile.in and add a new line on top of each file to say so.
1315
+ # Grep'ing the whole file is not good either: AIX grep has a line
1316
+ # limit of 2048, but all sed's we know have understand at least 4000.
1317
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
1318
+ dirpart=`$as_dirname -- "$mf" ||
1319
+ $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1320
+ X"$mf" : 'X\(//\)[^/]' \| \
1321
+ X"$mf" : 'X\(//\)$' \| \
1322
+ X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
1323
+ $as_echo X"$mf" |
1324
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1325
+ s//\1/
1326
+ q
1327
+ }
1328
+ /^X\(\/\/\)[^/].*/{
1329
+ s//\1/
1330
+ q
1331
+ }
1332
+ /^X\(\/\/\)$/{
1333
+ s//\1/
1334
+ q
1335
+ }
1336
+ /^X\(\/\).*/{
1337
+ s//\1/
1338
+ q
1339
+ }
1340
+ s/.*/./; q'`
1341
+ else
1342
+ continue
1343
+ fi
1344
+ # Extract the definition of DEPDIR, am__include, and am__quote
1345
+ # from the Makefile without running `make'.
1346
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1347
+ test -z "$DEPDIR" && continue
1348
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
1349
+ test -z "am__include" && continue
1350
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1351
+ # When using ansi2knr, U may be empty or an underscore; expand it
1352
+ U=`sed -n 's/^U = //p' < "$mf"`
1353
+ # Find all dependency output files, they are included files with
1354
+ # $(DEPDIR) in their names. We invoke sed twice because it is the
1355
+ # simplest approach to changing $(DEPDIR) to its actual value in the
1356
+ # expansion.
1357
+ for file in `sed -n "
1358
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1359
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
1360
+ # Make sure the directory exists.
1361
+ test -f "$dirpart/$file" && continue
1362
+ fdir=`$as_dirname -- "$file" ||
1363
+ $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1364
+ X"$file" : 'X\(//\)[^/]' \| \
1365
+ X"$file" : 'X\(//\)$' \| \
1366
+ X"$file" : 'X\(/\)' \| . 2>/dev/null ||
1367
+ $as_echo X"$file" |
1368
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1369
+ s//\1/
1370
+ q
1371
+ }
1372
+ /^X\(\/\/\)[^/].*/{
1373
+ s//\1/
1374
+ q
1375
+ }
1376
+ /^X\(\/\/\)$/{
1377
+ s//\1/
1378
+ q
1379
+ }
1380
+ /^X\(\/\).*/{
1381
+ s//\1/
1382
+ q
1383
+ }
1384
+ s/.*/./; q'`
1385
+ as_dir=$dirpart/$fdir; as_fn_mkdir_p
1386
+ # echo "creating $dirpart/$file"
1387
+ echo '# dummy' > "$dirpart/$file"
1388
+ done
1389
+ done
1390
+ }
1391
+ ;;
1392
+ "libtool":C)
1393
+
1394
+ # See if we are running on zsh, and set the options which allow our
1395
+ # commands through without removal of \ escapes.
1396
+ if test -n "${ZSH_VERSION+set}" ; then
1397
+ setopt NO_GLOB_SUBST
1398
+ fi
1399
+
1400
+ cfgfile="${ofile}T"
1401
+ trap "$RM \"$cfgfile\"; exit 1" 1 2 15
1402
+ $RM "$cfgfile"
1403
+
1404
+ cat <<_LT_EOF >> "$cfgfile"
1405
+ #! $SHELL
1406
+
1407
+ # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
1408
+ # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
1409
+ # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1410
+ # NOTE: Changes made to this file will be lost: look at ltmain.sh.
1411
+ #
1412
+ # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
1413
+ # 2006, 2007, 2008 Free Software Foundation, Inc.
1414
+ # Written by Gordon Matzigkeit, 1996
1415
+ #
1416
+ # This file is part of GNU Libtool.
1417
+ #
1418
+ # GNU Libtool is free software; you can redistribute it and/or
1419
+ # modify it under the terms of the GNU General Public License as
1420
+ # published by the Free Software Foundation; either version 2 of
1421
+ # the License, or (at your option) any later version.
1422
+ #
1423
+ # As a special exception to the GNU General Public License,
1424
+ # if you distribute this file as part of a program or library that
1425
+ # is built using GNU Libtool, you may include this file under the
1426
+ # same distribution terms that you use for the rest of that program.
1427
+ #
1428
+ # GNU Libtool is distributed in the hope that it will be useful,
1429
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
1430
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1431
+ # GNU General Public License for more details.
1432
+ #
1433
+ # You should have received a copy of the GNU General Public License
1434
+ # along with GNU Libtool; see the file COPYING. If not, a copy
1435
+ # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
1436
+ # obtained by writing to the Free Software Foundation, Inc.,
1437
+ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1438
+
1439
+
1440
+ # The names of the tagged configurations supported by this script.
1441
+ available_tags=""
1442
+
1443
+ # ### BEGIN LIBTOOL CONFIG
1444
+
1445
+ # Which release of libtool.m4 was used?
1446
+ macro_version=$macro_version
1447
+ macro_revision=$macro_revision
1448
+
1449
+ # Whether or not to build shared libraries.
1450
+ build_libtool_libs=$enable_shared
1451
+
1452
+ # Whether or not to build static libraries.
1453
+ build_old_libs=$enable_static
1454
+
1455
+ # What type of objects to build.
1456
+ pic_mode=$pic_mode
1457
+
1458
+ # Whether or not to optimize for fast installation.
1459
+ fast_install=$enable_fast_install
1460
+
1461
+ # The host system.
1462
+ host_alias=$host_alias
1463
+ host=$host
1464
+ host_os=$host_os
1465
+
1466
+ # The build system.
1467
+ build_alias=$build_alias
1468
+ build=$build
1469
+ build_os=$build_os
1470
+
1471
+ # A sed program that does not truncate output.
1472
+ SED=$lt_SED
1473
+
1474
+ # Sed that helps us avoid accidentally triggering echo(1) options like -n.
1475
+ Xsed="\$SED -e 1s/^X//"
1476
+
1477
+ # A grep program that handles long lines.
1478
+ GREP=$lt_GREP
1479
+
1480
+ # An ERE matcher.
1481
+ EGREP=$lt_EGREP
1482
+
1483
+ # A literal string matcher.
1484
+ FGREP=$lt_FGREP
1485
+
1486
+ # A BSD- or MS-compatible name lister.
1487
+ NM=$lt_NM
1488
+
1489
+ # Whether we need soft or hard links.
1490
+ LN_S=$lt_LN_S
1491
+
1492
+ # What is the maximum length of a command?
1493
+ max_cmd_len=$max_cmd_len
1494
+
1495
+ # Object file suffix (normally "o").
1496
+ objext=$ac_objext
1497
+
1498
+ # Executable file suffix (normally "").
1499
+ exeext=$exeext
1500
+
1501
+ # whether the shell understands "unset".
1502
+ lt_unset=$lt_unset
1503
+
1504
+ # turn spaces into newlines.
1505
+ SP2NL=$lt_lt_SP2NL
1506
+
1507
+ # turn newlines into spaces.
1508
+ NL2SP=$lt_lt_NL2SP
1509
+
1510
+ # How to create reloadable object files.
1511
+ reload_flag=$lt_reload_flag
1512
+ reload_cmds=$lt_reload_cmds
1513
+
1514
+ # An object symbol dumper.
1515
+ OBJDUMP=$lt_OBJDUMP
1516
+
1517
+ # Method to check whether dependent libraries are shared objects.
1518
+ deplibs_check_method=$lt_deplibs_check_method
1519
+
1520
+ # Command to use when deplibs_check_method == "file_magic".
1521
+ file_magic_cmd=$lt_file_magic_cmd
1522
+
1523
+ # The archiver.
1524
+ AR=$lt_AR
1525
+ AR_FLAGS=$lt_AR_FLAGS
1526
+
1527
+ # A symbol stripping program.
1528
+ STRIP=$lt_STRIP
1529
+
1530
+ # Commands used to install an old-style archive.
1531
+ RANLIB=$lt_RANLIB
1532
+ old_postinstall_cmds=$lt_old_postinstall_cmds
1533
+ old_postuninstall_cmds=$lt_old_postuninstall_cmds
1534
+
1535
+ # A C compiler.
1536
+ LTCC=$lt_CC
1537
+
1538
+ # LTCC compiler flags.
1539
+ LTCFLAGS=$lt_CFLAGS
1540
+
1541
+ # Take the output of nm and produce a listing of raw symbols and C names.
1542
+ global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
1543
+
1544
+ # Transform the output of nm in a proper C declaration.
1545
+ global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
1546
+
1547
+ # Transform the output of nm in a C name address pair.
1548
+ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
1549
+
1550
+ # Transform the output of nm in a C name address pair when lib prefix is needed.
1551
+ global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
1552
+
1553
+ # The name of the directory that contains temporary libtool files.
1554
+ objdir=$objdir
1555
+
1556
+ # Shell to use when invoking shell scripts.
1557
+ SHELL=$lt_SHELL
1558
+
1559
+ # An echo program that does not interpret backslashes.
1560
+ ECHO=$lt_ECHO
1561
+
1562
+ # Used to examine libraries when file_magic_cmd begins with "file".
1563
+ MAGIC_CMD=$MAGIC_CMD
1564
+
1565
+ # Must we lock files when doing compilation?
1566
+ need_locks=$lt_need_locks
1567
+
1568
+ # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
1569
+ DSYMUTIL=$lt_DSYMUTIL
1570
+
1571
+ # Tool to change global to local symbols on Mac OS X.
1572
+ NMEDIT=$lt_NMEDIT
1573
+
1574
+ # Tool to manipulate fat objects and archives on Mac OS X.
1575
+ LIPO=$lt_LIPO
1576
+
1577
+ # ldd/readelf like tool for Mach-O binaries on Mac OS X.
1578
+ OTOOL=$lt_OTOOL
1579
+
1580
+ # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
1581
+ OTOOL64=$lt_OTOOL64
1582
+
1583
+ # Old archive suffix (normally "a").
1584
+ libext=$libext
1585
+
1586
+ # Shared library suffix (normally ".so").
1587
+ shrext_cmds=$lt_shrext_cmds
1588
+
1589
+ # The commands to extract the exported symbol list from a shared archive.
1590
+ extract_expsyms_cmds=$lt_extract_expsyms_cmds
1591
+
1592
+ # Variables whose values should be saved in libtool wrapper scripts and
1593
+ # restored at link time.
1594
+ variables_saved_for_relink=$lt_variables_saved_for_relink
1595
+
1596
+ # Do we need the "lib" prefix for modules?
1597
+ need_lib_prefix=$need_lib_prefix
1598
+
1599
+ # Do we need a version for libraries?
1600
+ need_version=$need_version
1601
+
1602
+ # Library versioning type.
1603
+ version_type=$version_type
1604
+
1605
+ # Shared library runtime path variable.
1606
+ runpath_var=$runpath_var
1607
+
1608
+ # Shared library path variable.
1609
+ shlibpath_var=$shlibpath_var
1610
+
1611
+ # Is shlibpath searched before the hard-coded library search path?
1612
+ shlibpath_overrides_runpath=$shlibpath_overrides_runpath
1613
+
1614
+ # Format of library name prefix.
1615
+ libname_spec=$lt_libname_spec
1616
+
1617
+ # List of archive names. First name is the real one, the rest are links.
1618
+ # The last name is the one that the linker finds with -lNAME
1619
+ library_names_spec=$lt_library_names_spec
1620
+
1621
+ # The coded name of the library, if different from the real name.
1622
+ soname_spec=$lt_soname_spec
1623
+
1624
+ # Command to use after installation of a shared archive.
1625
+ postinstall_cmds=$lt_postinstall_cmds
1626
+
1627
+ # Command to use after uninstallation of a shared archive.
1628
+ postuninstall_cmds=$lt_postuninstall_cmds
1629
+
1630
+ # Commands used to finish a libtool library installation in a directory.
1631
+ finish_cmds=$lt_finish_cmds
1632
+
1633
+ # As "finish_cmds", except a single script fragment to be evaled but
1634
+ # not shown.
1635
+ finish_eval=$lt_finish_eval
1636
+
1637
+ # Whether we should hardcode library paths into libraries.
1638
+ hardcode_into_libs=$hardcode_into_libs
1639
+
1640
+ # Compile-time system search path for libraries.
1641
+ sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
1642
+
1643
+ # Run-time system search path for libraries.
1644
+ sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
1645
+
1646
+ # Whether dlopen is supported.
1647
+ dlopen_support=$enable_dlopen
1648
+
1649
+ # Whether dlopen of programs is supported.
1650
+ dlopen_self=$enable_dlopen_self
1651
+
1652
+ # Whether dlopen of statically linked programs is supported.
1653
+ dlopen_self_static=$enable_dlopen_self_static
1654
+
1655
+ # Commands to strip libraries.
1656
+ old_striplib=$lt_old_striplib
1657
+ striplib=$lt_striplib
1658
+
1659
+
1660
+ # The linker used to build libraries.
1661
+ LD=$lt_LD
1662
+
1663
+ # Commands used to build an old-style archive.
1664
+ old_archive_cmds=$lt_old_archive_cmds
1665
+
1666
+ # A language specific compiler.
1667
+ CC=$lt_compiler
1668
+
1669
+ # Is the compiler the GNU compiler?
1670
+ with_gcc=$GCC
1671
+
1672
+ # Compiler flag to turn off builtin functions.
1673
+ no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
1674
+
1675
+ # How to pass a linker flag through the compiler.
1676
+ wl=$lt_lt_prog_compiler_wl
1677
+
1678
+ # Additional compiler flags for building library objects.
1679
+ pic_flag=$lt_lt_prog_compiler_pic
1680
+
1681
+ # Compiler flag to prevent dynamic linking.
1682
+ link_static_flag=$lt_lt_prog_compiler_static
1683
+
1684
+ # Does compiler simultaneously support -c and -o options?
1685
+ compiler_c_o=$lt_lt_cv_prog_compiler_c_o
1686
+
1687
+ # Whether or not to add -lc for building shared libraries.
1688
+ build_libtool_need_lc=$archive_cmds_need_lc
1689
+
1690
+ # Whether or not to disallow shared libs when runtime libs are static.
1691
+ allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
1692
+
1693
+ # Compiler flag to allow reflexive dlopens.
1694
+ export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
1695
+
1696
+ # Compiler flag to generate shared objects directly from archives.
1697
+ whole_archive_flag_spec=$lt_whole_archive_flag_spec
1698
+
1699
+ # Whether the compiler copes with passing no objects directly.
1700
+ compiler_needs_object=$lt_compiler_needs_object
1701
+
1702
+ # Create an old-style archive from a shared archive.
1703
+ old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
1704
+
1705
+ # Create a temporary old-style archive to link instead of a shared archive.
1706
+ old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
1707
+
1708
+ # Commands used to build a shared archive.
1709
+ archive_cmds=$lt_archive_cmds
1710
+ archive_expsym_cmds=$lt_archive_expsym_cmds
1711
+
1712
+ # Commands used to build a loadable module if different from building
1713
+ # a shared archive.
1714
+ module_cmds=$lt_module_cmds
1715
+ module_expsym_cmds=$lt_module_expsym_cmds
1716
+
1717
+ # Whether we are building with GNU ld or not.
1718
+ with_gnu_ld=$lt_with_gnu_ld
1719
+
1720
+ # Flag that allows shared libraries with undefined symbols to be built.
1721
+ allow_undefined_flag=$lt_allow_undefined_flag
1722
+
1723
+ # Flag that enforces no undefined symbols.
1724
+ no_undefined_flag=$lt_no_undefined_flag
1725
+
1726
+ # Flag to hardcode \$libdir into a binary during linking.
1727
+ # This must work even if \$libdir does not exist
1728
+ hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
1729
+
1730
+ # If ld is used when linking, flag to hardcode \$libdir into a binary
1731
+ # during linking. This must work even if \$libdir does not exist.
1732
+ hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
1733
+
1734
+ # Whether we need a single "-rpath" flag with a separated argument.
1735
+ hardcode_libdir_separator=$lt_hardcode_libdir_separator
1736
+
1737
+ # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
1738
+ # DIR into the resulting binary.
1739
+ hardcode_direct=$hardcode_direct
1740
+
1741
+ # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
1742
+ # DIR into the resulting binary and the resulting library dependency is
1743
+ # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
1744
+ # library is relocated.
1745
+ hardcode_direct_absolute=$hardcode_direct_absolute
1746
+
1747
+ # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
1748
+ # into the resulting binary.
1749
+ hardcode_minus_L=$hardcode_minus_L
1750
+
1751
+ # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
1752
+ # into the resulting binary.
1753
+ hardcode_shlibpath_var=$hardcode_shlibpath_var
1754
+
1755
+ # Set to "yes" if building a shared library automatically hardcodes DIR
1756
+ # into the library and all subsequent libraries and executables linked
1757
+ # against it.
1758
+ hardcode_automatic=$hardcode_automatic
1759
+
1760
+ # Set to yes if linker adds runtime paths of dependent libraries
1761
+ # to runtime path list.
1762
+ inherit_rpath=$inherit_rpath
1763
+
1764
+ # Whether libtool must link a program against all its dependency libraries.
1765
+ link_all_deplibs=$link_all_deplibs
1766
+
1767
+ # Fix the shell variable \$srcfile for the compiler.
1768
+ fix_srcfile_path=$lt_fix_srcfile_path
1769
+
1770
+ # Set to "yes" if exported symbols are required.
1771
+ always_export_symbols=$always_export_symbols
1772
+
1773
+ # The commands to list exported symbols.
1774
+ export_symbols_cmds=$lt_export_symbols_cmds
1775
+
1776
+ # Symbols that should not be listed in the preloaded symbols.
1777
+ exclude_expsyms=$lt_exclude_expsyms
1778
+
1779
+ # Symbols that must always be exported.
1780
+ include_expsyms=$lt_include_expsyms
1781
+
1782
+ # Commands necessary for linking programs (against libraries) with templates.
1783
+ prelink_cmds=$lt_prelink_cmds
1784
+
1785
+ # Specify filename containing input files.
1786
+ file_list_spec=$lt_file_list_spec
1787
+
1788
+ # How to hardcode a shared library path into an executable.
1789
+ hardcode_action=$hardcode_action
1790
+
1791
+ # ### END LIBTOOL CONFIG
1792
+
1793
+ _LT_EOF
1794
+
1795
+ case $host_os in
1796
+ aix3*)
1797
+ cat <<\_LT_EOF >> "$cfgfile"
1798
+ # AIX sometimes has problems with the GCC collect2 program. For some
1799
+ # reason, if we set the COLLECT_NAMES environment variable, the problems
1800
+ # vanish in a puff of smoke.
1801
+ if test "X${COLLECT_NAMES+set}" != Xset; then
1802
+ COLLECT_NAMES=
1803
+ export COLLECT_NAMES
1804
+ fi
1805
+ _LT_EOF
1806
+ ;;
1807
+ esac
1808
+
1809
+
1810
+ ltmain="$ac_aux_dir/ltmain.sh"
1811
+
1812
+
1813
+ # We use sed instead of cat because bash on DJGPP gets confused if
1814
+ # if finds mixed CR/LF and LF-only lines. Since sed operates in
1815
+ # text mode, it properly converts lines to CR/LF. This bash problem
1816
+ # is reportedly fixed, but why not run on old versions too?
1817
+ sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
1818
+ || (rm -f "$cfgfile"; exit 1)
1819
+
1820
+ case $xsi_shell in
1821
+ yes)
1822
+ cat << \_LT_EOF >> "$cfgfile"
1823
+
1824
+ # func_dirname file append nondir_replacement
1825
+ # Compute the dirname of FILE. If nonempty, add APPEND to the result,
1826
+ # otherwise set result to NONDIR_REPLACEMENT.
1827
+ func_dirname ()
1828
+ {
1829
+ case ${1} in
1830
+ */*) func_dirname_result="${1%/*}${2}" ;;
1831
+ * ) func_dirname_result="${3}" ;;
1832
+ esac
1833
+ }
1834
+
1835
+ # func_basename file
1836
+ func_basename ()
1837
+ {
1838
+ func_basename_result="${1##*/}"
1839
+ }
1840
+
1841
+ # func_dirname_and_basename file append nondir_replacement
1842
+ # perform func_basename and func_dirname in a single function
1843
+ # call:
1844
+ # dirname: Compute the dirname of FILE. If nonempty,
1845
+ # add APPEND to the result, otherwise set result
1846
+ # to NONDIR_REPLACEMENT.
1847
+ # value returned in "$func_dirname_result"
1848
+ # basename: Compute filename of FILE.
1849
+ # value retuned in "$func_basename_result"
1850
+ # Implementation must be kept synchronized with func_dirname
1851
+ # and func_basename. For efficiency, we do not delegate to
1852
+ # those functions but instead duplicate the functionality here.
1853
+ func_dirname_and_basename ()
1854
+ {
1855
+ case ${1} in
1856
+ */*) func_dirname_result="${1%/*}${2}" ;;
1857
+ * ) func_dirname_result="${3}" ;;
1858
+ esac
1859
+ func_basename_result="${1##*/}"
1860
+ }
1861
+
1862
+ # func_stripname prefix suffix name
1863
+ # strip PREFIX and SUFFIX off of NAME.
1864
+ # PREFIX and SUFFIX must not contain globbing or regex special
1865
+ # characters, hashes, percent signs, but SUFFIX may contain a leading
1866
+ # dot (in which case that matches only a dot).
1867
+ func_stripname ()
1868
+ {
1869
+ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
1870
+ # positional parameters, so assign one to ordinary parameter first.
1871
+ func_stripname_result=${3}
1872
+ func_stripname_result=${func_stripname_result#"${1}"}
1873
+ func_stripname_result=${func_stripname_result%"${2}"}
1874
+ }
1875
+
1876
+ # func_opt_split
1877
+ func_opt_split ()
1878
+ {
1879
+ func_opt_split_opt=${1%%=*}
1880
+ func_opt_split_arg=${1#*=}
1881
+ }
1882
+
1883
+ # func_lo2o object
1884
+ func_lo2o ()
1885
+ {
1886
+ case ${1} in
1887
+ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
1888
+ *) func_lo2o_result=${1} ;;
1889
+ esac
1890
+ }
1891
+
1892
+ # func_xform libobj-or-source
1893
+ func_xform ()
1894
+ {
1895
+ func_xform_result=${1%.*}.lo
1896
+ }
1897
+
1898
+ # func_arith arithmetic-term...
1899
+ func_arith ()
1900
+ {
1901
+ func_arith_result=$(( $* ))
1902
+ }
1903
+
1904
+ # func_len string
1905
+ # STRING may not start with a hyphen.
1906
+ func_len ()
1907
+ {
1908
+ func_len_result=${#1}
1909
+ }
1910
+
1911
+ _LT_EOF
1912
+ ;;
1913
+ *) # Bourne compatible functions.
1914
+ cat << \_LT_EOF >> "$cfgfile"
1915
+
1916
+ # func_dirname file append nondir_replacement
1917
+ # Compute the dirname of FILE. If nonempty, add APPEND to the result,
1918
+ # otherwise set result to NONDIR_REPLACEMENT.
1919
+ func_dirname ()
1920
+ {
1921
+ # Extract subdirectory from the argument.
1922
+ func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
1923
+ if test "X$func_dirname_result" = "X${1}"; then
1924
+ func_dirname_result="${3}"
1925
+ else
1926
+ func_dirname_result="$func_dirname_result${2}"
1927
+ fi
1928
+ }
1929
+
1930
+ # func_basename file
1931
+ func_basename ()
1932
+ {
1933
+ func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
1934
+ }
1935
+
1936
+
1937
+ # func_stripname prefix suffix name
1938
+ # strip PREFIX and SUFFIX off of NAME.
1939
+ # PREFIX and SUFFIX must not contain globbing or regex special
1940
+ # characters, hashes, percent signs, but SUFFIX may contain a leading
1941
+ # dot (in which case that matches only a dot).
1942
+ # func_strip_suffix prefix name
1943
+ func_stripname ()
1944
+ {
1945
+ case ${2} in
1946
+ .*) func_stripname_result=`$ECHO "X${3}" \
1947
+ | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
1948
+ *) func_stripname_result=`$ECHO "X${3}" \
1949
+ | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
1950
+ esac
1951
+ }
1952
+
1953
+ # sed scripts:
1954
+ my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
1955
+ my_sed_long_arg='1s/^-[^=]*=//'
1956
+
1957
+ # func_opt_split
1958
+ func_opt_split ()
1959
+ {
1960
+ func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
1961
+ func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
1962
+ }
1963
+
1964
+ # func_lo2o object
1965
+ func_lo2o ()
1966
+ {
1967
+ func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
1968
+ }
1969
+
1970
+ # func_xform libobj-or-source
1971
+ func_xform ()
1972
+ {
1973
+ func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
1974
+ }
1975
+
1976
+ # func_arith arithmetic-term...
1977
+ func_arith ()
1978
+ {
1979
+ func_arith_result=`expr "$@"`
1980
+ }
1981
+
1982
+ # func_len string
1983
+ # STRING may not start with a hyphen.
1984
+ func_len ()
1985
+ {
1986
+ func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
1987
+ }
1988
+
1989
+ _LT_EOF
1990
+ esac
1991
+
1992
+ case $lt_shell_append in
1993
+ yes)
1994
+ cat << \_LT_EOF >> "$cfgfile"
1995
+
1996
+ # func_append var value
1997
+ # Append VALUE to the end of shell variable VAR.
1998
+ func_append ()
1999
+ {
2000
+ eval "$1+=\$2"
2001
+ }
2002
+ _LT_EOF
2003
+ ;;
2004
+ *)
2005
+ cat << \_LT_EOF >> "$cfgfile"
2006
+
2007
+ # func_append var value
2008
+ # Append VALUE to the end of shell variable VAR.
2009
+ func_append ()
2010
+ {
2011
+ eval "$1=\$$1\$2"
2012
+ }
2013
+
2014
+ _LT_EOF
2015
+ ;;
2016
+ esac
2017
+
2018
+
2019
+ sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
2020
+ || (rm -f "$cfgfile"; exit 1)
2021
+
2022
+ mv -f "$cfgfile" "$ofile" ||
2023
+ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
2024
+ chmod +x "$ofile"
2025
+
2026
+ ;;
2027
+
2028
+ esac
2029
+ done # for ac_tag
2030
+
2031
+
2032
+ as_fn_exit 0