boourns-memcached 1.4.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (542) hide show
  1. data/BENCHMARKS +128 -0
  2. data/CHANGELOG +158 -0
  3. data/Gemfile +2 -0
  4. data/Gemfile.lock +41 -0
  5. data/LICENSE +184 -0
  6. data/Manifest +243 -0
  7. data/README.rdoc +124 -0
  8. data/Rakefile +118 -0
  9. data/TODO +4 -0
  10. data/ext/Makefile +213 -0
  11. data/ext/Makefile.in +213 -0
  12. data/ext/bin/memcat +0 -0
  13. data/ext/bin/memcp +0 -0
  14. data/ext/bin/memdump +0 -0
  15. data/ext/bin/memerror +0 -0
  16. data/ext/bin/memflush +0 -0
  17. data/ext/bin/memrm +0 -0
  18. data/ext/bin/memslap +0 -0
  19. data/ext/bin/memstat +0 -0
  20. data/ext/extconf-make.rb +25 -0
  21. data/ext/extconf.rb +87 -0
  22. data/ext/include/libmemcached/memcached.h +304 -0
  23. data/ext/include/libmemcached/memcached.hpp +799 -0
  24. data/ext/include/libmemcached/memcached_configure.h +23 -0
  25. data/ext/include/libmemcached/memcached_constants.h +145 -0
  26. data/ext/include/libmemcached/memcached_exist.h +20 -0
  27. data/ext/include/libmemcached/memcached_get.h +87 -0
  28. data/ext/include/libmemcached/memcached_result.h +59 -0
  29. data/ext/include/libmemcached/memcached_sasl.h +44 -0
  30. data/ext/include/libmemcached/memcached_server.h +93 -0
  31. data/ext/include/libmemcached/memcached_storage.h +107 -0
  32. data/ext/include/libmemcached/memcached_string.h +53 -0
  33. data/ext/include/libmemcached/memcached_touch.h +31 -0
  34. data/ext/include/libmemcached/memcached_types.h +44 -0
  35. data/ext/include/libmemcached/memcached_watchpoint.h +38 -0
  36. data/ext/include/libmemcached/visibility.h +51 -0
  37. data/ext/lib/libmemcached.a +0 -0
  38. data/ext/lib/libmemcached.la +41 -0
  39. data/ext/lib/libmemcached_gem.a +0 -0
  40. data/ext/lib/libmemcached_gem.la +41 -0
  41. data/ext/lib/pkgconfig/libmemcached.pc +10 -0
  42. data/ext/libmemcached-0.32/AUTHORS +7 -0
  43. data/ext/libmemcached-0.32/COPYING +32 -0
  44. data/ext/libmemcached-0.32/ChangeLog +303 -0
  45. data/ext/libmemcached-0.32/INSTALL +302 -0
  46. data/ext/libmemcached-0.32/Makefile +831 -0
  47. data/ext/libmemcached-0.32/Makefile.am +36 -0
  48. data/ext/libmemcached-0.32/Makefile.in +831 -0
  49. data/ext/libmemcached-0.32/NEWS +1 -0
  50. data/ext/libmemcached-0.32/README +33 -0
  51. data/ext/libmemcached-0.32/THANKS +14 -0
  52. data/ext/libmemcached-0.32/TODO +11 -0
  53. data/ext/libmemcached-0.32/aclocal.m4 +1917 -0
  54. data/ext/libmemcached-0.32/clients/Makefile +773 -0
  55. data/ext/libmemcached-0.32/clients/Makefile.am +80 -0
  56. data/ext/libmemcached-0.32/clients/Makefile.in +773 -0
  57. data/ext/libmemcached-0.32/clients/client_options.h +32 -0
  58. data/ext/libmemcached-0.32/clients/execute.c +64 -0
  59. data/ext/libmemcached-0.32/clients/execute.h +5 -0
  60. data/ext/libmemcached-0.32/clients/execute.lo +12 -0
  61. data/ext/libmemcached-0.32/clients/execute.o +0 -0
  62. data/ext/libmemcached-0.32/clients/generator.c +74 -0
  63. data/ext/libmemcached-0.32/clients/generator.h +20 -0
  64. data/ext/libmemcached-0.32/clients/generator.lo +12 -0
  65. data/ext/libmemcached-0.32/clients/generator.o +0 -0
  66. data/ext/libmemcached-0.32/clients/libgenexec.la +41 -0
  67. data/ext/libmemcached-0.32/clients/libutilities.la +41 -0
  68. data/ext/libmemcached-0.32/clients/memcat +0 -0
  69. data/ext/libmemcached-0.32/clients/memcat.c +178 -0
  70. data/ext/libmemcached-0.32/clients/memcat.o +0 -0
  71. data/ext/libmemcached-0.32/clients/memcp +0 -0
  72. data/ext/libmemcached-0.32/clients/memcp.c +251 -0
  73. data/ext/libmemcached-0.32/clients/memcp.o +0 -0
  74. data/ext/libmemcached-0.32/clients/memdump +0 -0
  75. data/ext/libmemcached-0.32/clients/memdump.c +170 -0
  76. data/ext/libmemcached-0.32/clients/memdump.o +0 -0
  77. data/ext/libmemcached-0.32/clients/memerror +0 -0
  78. data/ext/libmemcached-0.32/clients/memerror.c +80 -0
  79. data/ext/libmemcached-0.32/clients/memerror.o +0 -0
  80. data/ext/libmemcached-0.32/clients/memflush +0 -0
  81. data/ext/libmemcached-0.32/clients/memflush.c +143 -0
  82. data/ext/libmemcached-0.32/clients/memflush.o +0 -0
  83. data/ext/libmemcached-0.32/clients/memrm +0 -0
  84. data/ext/libmemcached-0.32/clients/memrm.c +160 -0
  85. data/ext/libmemcached-0.32/clients/memrm.o +0 -0
  86. data/ext/libmemcached-0.32/clients/memslap +0 -0
  87. data/ext/libmemcached-0.32/clients/memslap-memslap.o +0 -0
  88. data/ext/libmemcached-0.32/clients/memslap.c +441 -0
  89. data/ext/libmemcached-0.32/clients/memstat +0 -0
  90. data/ext/libmemcached-0.32/clients/memstat.c +326 -0
  91. data/ext/libmemcached-0.32/clients/memstat.o +0 -0
  92. data/ext/libmemcached-0.32/clients/utilities.c +207 -0
  93. data/ext/libmemcached-0.32/clients/utilities.h +41 -0
  94. data/ext/libmemcached-0.32/clients/utilities.lo +12 -0
  95. data/ext/libmemcached-0.32/clients/utilities.o +0 -0
  96. data/ext/libmemcached-0.32/config.h +253 -0
  97. data/ext/libmemcached-0.32/config.h.in +252 -0
  98. data/ext/libmemcached-0.32/config.log +2440 -0
  99. data/ext/libmemcached-0.32/config.status +2384 -0
  100. data/ext/libmemcached-0.32/config/compile +143 -0
  101. data/ext/libmemcached-0.32/config/config.guess +1561 -0
  102. data/ext/libmemcached-0.32/config/config.rpath +666 -0
  103. data/ext/libmemcached-0.32/config/config.sub +1686 -0
  104. data/ext/libmemcached-0.32/config/depcomp +630 -0
  105. data/ext/libmemcached-0.32/config/install-sh +520 -0
  106. data/ext/libmemcached-0.32/config/ltmain.sh +9636 -0
  107. data/ext/libmemcached-0.32/config/missing +376 -0
  108. data/ext/libmemcached-0.32/configure +23825 -0
  109. data/ext/libmemcached-0.32/configure.ac +122 -0
  110. data/ext/libmemcached-0.32/docs/Makefile +920 -0
  111. data/ext/libmemcached-0.32/docs/Makefile.am +415 -0
  112. data/ext/libmemcached-0.32/docs/Makefile.in +920 -0
  113. data/ext/libmemcached-0.32/docs/libmemcached.3 +229 -0
  114. data/ext/libmemcached-0.32/docs/libmemcached.pod +123 -0
  115. data/ext/libmemcached-0.32/docs/libmemcached_examples.3 +242 -0
  116. data/ext/libmemcached-0.32/docs/libmemcached_examples.pod +115 -0
  117. data/ext/libmemcached-0.32/docs/libmemcachedutil.pod +40 -0
  118. data/ext/libmemcached-0.32/docs/memcached_add.3 +308 -0
  119. data/ext/libmemcached-0.32/docs/memcached_add_by_key.3 +308 -0
  120. data/ext/libmemcached-0.32/docs/memcached_analyze.3 +175 -0
  121. data/ext/libmemcached-0.32/docs/memcached_analyze.pod +52 -0
  122. data/ext/libmemcached-0.32/docs/memcached_append.3 +308 -0
  123. data/ext/libmemcached-0.32/docs/memcached_append_by_key.3 +308 -0
  124. data/ext/libmemcached-0.32/docs/memcached_auto.pod +97 -0
  125. data/ext/libmemcached-0.32/docs/memcached_behavior.pod +224 -0
  126. data/ext/libmemcached-0.32/docs/memcached_behavior_get.3 +317 -0
  127. data/ext/libmemcached-0.32/docs/memcached_behavior_set.3 +317 -0
  128. data/ext/libmemcached-0.32/docs/memcached_callback.pod +123 -0
  129. data/ext/libmemcached-0.32/docs/memcached_callback_get.3 +231 -0
  130. data/ext/libmemcached-0.32/docs/memcached_callback_set.3 +231 -0
  131. data/ext/libmemcached-0.32/docs/memcached_cas.3 +308 -0
  132. data/ext/libmemcached-0.32/docs/memcached_cas_by_key.3 +308 -0
  133. data/ext/libmemcached-0.32/docs/memcached_clone.3 +183 -0
  134. data/ext/libmemcached-0.32/docs/memcached_create.3 +183 -0
  135. data/ext/libmemcached-0.32/docs/memcached_create.pod +61 -0
  136. data/ext/libmemcached-0.32/docs/memcached_decrement.3 +219 -0
  137. data/ext/libmemcached-0.32/docs/memcached_decrement_with_initial.3 +219 -0
  138. data/ext/libmemcached-0.32/docs/memcached_delete.3 +176 -0
  139. data/ext/libmemcached-0.32/docs/memcached_delete.pod +54 -0
  140. data/ext/libmemcached-0.32/docs/memcached_delete_by_key.3 +176 -0
  141. data/ext/libmemcached-0.32/docs/memcached_destroy_sasl_auth_data.3 +184 -0
  142. data/ext/libmemcached-0.32/docs/memcached_dump.3 +175 -0
  143. data/ext/libmemcached-0.32/docs/memcached_dump.pod +53 -0
  144. data/ext/libmemcached-0.32/docs/memcached_fetch.3 +283 -0
  145. data/ext/libmemcached-0.32/docs/memcached_fetch_execute.3 +283 -0
  146. data/ext/libmemcached-0.32/docs/memcached_fetch_result.3 +283 -0
  147. data/ext/libmemcached-0.32/docs/memcached_flush.pod +46 -0
  148. data/ext/libmemcached-0.32/docs/memcached_flush_buffers.3 +164 -0
  149. data/ext/libmemcached-0.32/docs/memcached_flush_buffers.pod +42 -0
  150. data/ext/libmemcached-0.32/docs/memcached_free.3 +183 -0
  151. data/ext/libmemcached-0.32/docs/memcached_generate_hash_value.3 +179 -0
  152. data/ext/libmemcached-0.32/docs/memcached_generate_hash_value.pod +57 -0
  153. data/ext/libmemcached-0.32/docs/memcached_get.3 +283 -0
  154. data/ext/libmemcached-0.32/docs/memcached_get.pod +161 -0
  155. data/ext/libmemcached-0.32/docs/memcached_get_by_key.3 +283 -0
  156. data/ext/libmemcached-0.32/docs/memcached_get_memory_allocators.3 +194 -0
  157. data/ext/libmemcached-0.32/docs/memcached_get_sasl_callbacks.3 +184 -0
  158. data/ext/libmemcached-0.32/docs/memcached_get_user_data.3 +171 -0
  159. data/ext/libmemcached-0.32/docs/memcached_increment.3 +219 -0
  160. data/ext/libmemcached-0.32/docs/memcached_increment_with_initial.3 +219 -0
  161. data/ext/libmemcached-0.32/docs/memcached_lib_version.3 +176 -0
  162. data/ext/libmemcached-0.32/docs/memcached_memory_allocators.pod +73 -0
  163. data/ext/libmemcached-0.32/docs/memcached_mget.3 +283 -0
  164. data/ext/libmemcached-0.32/docs/memcached_mget_by_key.3 +283 -0
  165. data/ext/libmemcached-0.32/docs/memcached_pool.pod +77 -0
  166. data/ext/libmemcached-0.32/docs/memcached_prepend.3 +308 -0
  167. data/ext/libmemcached-0.32/docs/memcached_prepend_by_key.3 +308 -0
  168. data/ext/libmemcached-0.32/docs/memcached_quit.3 +169 -0
  169. data/ext/libmemcached-0.32/docs/memcached_quit.pod +47 -0
  170. data/ext/libmemcached-0.32/docs/memcached_replace.3 +308 -0
  171. data/ext/libmemcached-0.32/docs/memcached_replace_by_key.3 +308 -0
  172. data/ext/libmemcached-0.32/docs/memcached_sasl.pod +63 -0
  173. data/ext/libmemcached-0.32/docs/memcached_server_add.3 +224 -0
  174. data/ext/libmemcached-0.32/docs/memcached_server_count.3 +224 -0
  175. data/ext/libmemcached-0.32/docs/memcached_server_list.3 +224 -0
  176. data/ext/libmemcached-0.32/docs/memcached_server_list_append.3 +196 -0
  177. data/ext/libmemcached-0.32/docs/memcached_server_list_count.3 +196 -0
  178. data/ext/libmemcached-0.32/docs/memcached_server_list_free.3 +196 -0
  179. data/ext/libmemcached-0.32/docs/memcached_server_push.3 +224 -0
  180. data/ext/libmemcached-0.32/docs/memcached_server_st.pod +75 -0
  181. data/ext/libmemcached-0.32/docs/memcached_servers.pod +102 -0
  182. data/ext/libmemcached-0.32/docs/memcached_servers_parse.3 +196 -0
  183. data/ext/libmemcached-0.32/docs/memcached_set.3 +308 -0
  184. data/ext/libmemcached-0.32/docs/memcached_set.pod +187 -0
  185. data/ext/libmemcached-0.32/docs/memcached_set_by_key.3 +308 -0
  186. data/ext/libmemcached-0.32/docs/memcached_set_memory_allocators.3 +194 -0
  187. data/ext/libmemcached-0.32/docs/memcached_set_sasl_auth_data.3 +184 -0
  188. data/ext/libmemcached-0.32/docs/memcached_set_sasl_callbacks.3 +184 -0
  189. data/ext/libmemcached-0.32/docs/memcached_set_user_data.3 +171 -0
  190. data/ext/libmemcached-0.32/docs/memcached_stat.3 +204 -0
  191. data/ext/libmemcached-0.32/docs/memcached_stat_get_keys.3 +204 -0
  192. data/ext/libmemcached-0.32/docs/memcached_stat_get_value.3 +204 -0
  193. data/ext/libmemcached-0.32/docs/memcached_stat_servername.3 +204 -0
  194. data/ext/libmemcached-0.32/docs/memcached_stats.pod +82 -0
  195. data/ext/libmemcached-0.32/docs/memcached_strerror.3 +168 -0
  196. data/ext/libmemcached-0.32/docs/memcached_strerror.pod +46 -0
  197. data/ext/libmemcached-0.32/docs/memcached_user_data.pod +49 -0
  198. data/ext/libmemcached-0.32/docs/memcached_verbosity.3 +163 -0
  199. data/ext/libmemcached-0.32/docs/memcached_verbosity.pod +41 -0
  200. data/ext/libmemcached-0.32/docs/memcached_version.3 +176 -0
  201. data/ext/libmemcached-0.32/docs/memcached_version.pod +56 -0
  202. data/ext/libmemcached-0.32/docs/memcat.1 +161 -0
  203. data/ext/libmemcached-0.32/docs/memcat.pod +37 -0
  204. data/ext/libmemcached-0.32/docs/memcp.1 +164 -0
  205. data/ext/libmemcached-0.32/docs/memcp.pod +40 -0
  206. data/ext/libmemcached-0.32/docs/memdump.1 +155 -0
  207. data/ext/libmemcached-0.32/docs/memdump.pod +31 -0
  208. data/ext/libmemcached-0.32/docs/memerror.1 +154 -0
  209. data/ext/libmemcached-0.32/docs/memerror.pod +30 -0
  210. data/ext/libmemcached-0.32/docs/memflush.1 +159 -0
  211. data/ext/libmemcached-0.32/docs/memflush.pod +35 -0
  212. data/ext/libmemcached-0.32/docs/memrm.1 +158 -0
  213. data/ext/libmemcached-0.32/docs/memrm.pod +34 -0
  214. data/ext/libmemcached-0.32/docs/memslap.1 +157 -0
  215. data/ext/libmemcached-0.32/docs/memslap.pod +33 -0
  216. data/ext/libmemcached-0.32/docs/memstat.1 +159 -0
  217. data/ext/libmemcached-0.32/docs/memstat.pod +35 -0
  218. data/ext/libmemcached-0.32/libmemcached/Makefile +1069 -0
  219. data/ext/libmemcached-0.32/libmemcached/Makefile.am +111 -0
  220. data/ext/libmemcached-0.32/libmemcached/Makefile.in +1069 -0
  221. data/ext/libmemcached-0.32/libmemcached/byteorder.c +31 -0
  222. data/ext/libmemcached-0.32/libmemcached/common.h +189 -0
  223. data/ext/libmemcached-0.32/libmemcached/crc.c +86 -0
  224. data/ext/libmemcached-0.32/libmemcached/hsieh_hash.c +68 -0
  225. data/ext/libmemcached-0.32/libmemcached/jenkins_hash.c +213 -0
  226. data/ext/libmemcached-0.32/libmemcached/libmemcached.la +41 -0
  227. data/ext/libmemcached-0.32/libmemcached/libmemcached.ver +1 -0
  228. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-byteorder.lo +12 -0
  229. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-byteorder.o +0 -0
  230. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-crc.lo +12 -0
  231. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-crc.o +0 -0
  232. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-jenkins_hash.lo +12 -0
  233. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-jenkins_hash.o +0 -0
  234. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-md5.lo +12 -0
  235. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-md5.o +0 -0
  236. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached.lo +12 -0
  237. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached.o +0 -0
  238. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_allocators.lo +12 -0
  239. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_allocators.o +0 -0
  240. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_analyze.lo +12 -0
  241. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_analyze.o +0 -0
  242. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_auto.lo +12 -0
  243. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_auto.o +0 -0
  244. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_behavior.lo +12 -0
  245. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_behavior.o +0 -0
  246. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_connect.lo +12 -0
  247. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_connect.o +0 -0
  248. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_delete.lo +12 -0
  249. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_delete.o +0 -0
  250. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_do.lo +12 -0
  251. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_do.o +0 -0
  252. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_dump.lo +12 -0
  253. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_dump.o +0 -0
  254. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_exist.lo +12 -0
  255. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_exist.o +0 -0
  256. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_fetch.lo +12 -0
  257. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_fetch.o +0 -0
  258. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_flush.lo +12 -0
  259. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_flush.o +0 -0
  260. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_flush_buffers.lo +12 -0
  261. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_flush_buffers.o +0 -0
  262. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_get.lo +12 -0
  263. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_get.o +0 -0
  264. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_hash.lo +12 -0
  265. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_hash.o +0 -0
  266. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_hosts.lo +12 -0
  267. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_hosts.o +0 -0
  268. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_io.lo +12 -0
  269. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_io.o +0 -0
  270. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_key.lo +12 -0
  271. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_key.o +0 -0
  272. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_parse.lo +12 -0
  273. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_parse.o +0 -0
  274. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_purge.lo +12 -0
  275. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_purge.o +0 -0
  276. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_quit.lo +12 -0
  277. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_quit.o +0 -0
  278. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_response.lo +12 -0
  279. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_response.o +0 -0
  280. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_result.lo +12 -0
  281. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_result.o +0 -0
  282. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_sasl.lo +12 -0
  283. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_sasl.o +0 -0
  284. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_server.lo +12 -0
  285. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_server.o +0 -0
  286. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_stats.lo +12 -0
  287. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_stats.o +0 -0
  288. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_storage.lo +12 -0
  289. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_storage.o +0 -0
  290. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_strerror.lo +12 -0
  291. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_strerror.o +0 -0
  292. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_string.lo +12 -0
  293. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_string.o +0 -0
  294. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_touch.lo +12 -0
  295. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_touch.o +0 -0
  296. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_verbosity.lo +12 -0
  297. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_verbosity.o +0 -0
  298. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_version.lo +12 -0
  299. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-memcached_version.o +0 -0
  300. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-murmur_hash.lo +12 -0
  301. data/ext/libmemcached-0.32/libmemcached/libmemcached_la-murmur_hash.o +0 -0
  302. data/ext/libmemcached-0.32/libmemcached/libmemcached_probes.d +30 -0
  303. data/ext/libmemcached-0.32/libmemcached/libmemcached_probes.h +82 -0
  304. data/ext/libmemcached-0.32/libmemcached/libmemcachedcallbacks.la +41 -0
  305. data/ext/libmemcached-0.32/libmemcached/libmemcachedcallbacks_la-memcached_callback.lo +12 -0
  306. data/ext/libmemcached-0.32/libmemcached/libmemcachedcallbacks_la-memcached_callback.o +0 -0
  307. data/ext/libmemcached-0.32/libmemcached/md5.c +354 -0
  308. data/ext/libmemcached-0.32/libmemcached/memcached.c +152 -0
  309. data/ext/libmemcached-0.32/libmemcached/memcached.h +304 -0
  310. data/ext/libmemcached-0.32/libmemcached/memcached.hpp +799 -0
  311. data/ext/libmemcached-0.32/libmemcached/memcached/README.txt +7 -0
  312. data/ext/libmemcached-0.32/libmemcached/memcached/protocol_binary.h +385 -0
  313. data/ext/libmemcached-0.32/libmemcached/memcached_allocators.c +72 -0
  314. data/ext/libmemcached-0.32/libmemcached/memcached_analyze.c +100 -0
  315. data/ext/libmemcached-0.32/libmemcached/memcached_auto.c +207 -0
  316. data/ext/libmemcached-0.32/libmemcached/memcached_behavior.c +285 -0
  317. data/ext/libmemcached-0.32/libmemcached/memcached_callback.c +175 -0
  318. data/ext/libmemcached-0.32/libmemcached/memcached_configure.h +23 -0
  319. data/ext/libmemcached-0.32/libmemcached/memcached_configure.h.in +23 -0
  320. data/ext/libmemcached-0.32/libmemcached/memcached_connect.c +371 -0
  321. data/ext/libmemcached-0.32/libmemcached/memcached_constants.h +145 -0
  322. data/ext/libmemcached-0.32/libmemcached/memcached_delete.c +0 -0
  323. data/ext/libmemcached-0.32/libmemcached/memcached_do.c +70 -0
  324. data/ext/libmemcached-0.32/libmemcached/memcached_dump.c +79 -0
  325. data/ext/libmemcached-0.32/libmemcached/memcached_exist.c +114 -0
  326. data/ext/libmemcached-0.32/libmemcached/memcached_exist.h +20 -0
  327. data/ext/libmemcached-0.32/libmemcached/memcached_fetch.c +102 -0
  328. data/ext/libmemcached-0.32/libmemcached/memcached_flush.c +89 -0
  329. data/ext/libmemcached-0.32/libmemcached/memcached_flush_buffers.c +22 -0
  330. data/ext/libmemcached-0.32/libmemcached/memcached_get.c +494 -0
  331. data/ext/libmemcached-0.32/libmemcached/memcached_get.h +87 -0
  332. data/ext/libmemcached-0.32/libmemcached/memcached_hash.c +252 -0
  333. data/ext/libmemcached-0.32/libmemcached/memcached_hosts.c +510 -0
  334. data/ext/libmemcached-0.32/libmemcached/memcached_internal.h +31 -0
  335. data/ext/libmemcached-0.32/libmemcached/memcached_io.c +575 -0
  336. data/ext/libmemcached-0.32/libmemcached/memcached_io.h +72 -0
  337. data/ext/libmemcached-0.32/libmemcached/memcached_key.c +28 -0
  338. data/ext/libmemcached-0.32/libmemcached/memcached_parse.c +74 -0
  339. data/ext/libmemcached-0.32/libmemcached/memcached_pool.h +38 -0
  340. data/ext/libmemcached-0.32/libmemcached/memcached_purge.c +76 -0
  341. data/ext/libmemcached-0.32/libmemcached/memcached_quit.c +75 -0
  342. data/ext/libmemcached-0.32/libmemcached/memcached_response.c +529 -0
  343. data/ext/libmemcached-0.32/libmemcached/memcached_result.c +57 -0
  344. data/ext/libmemcached-0.32/libmemcached/memcached_result.h +59 -0
  345. data/ext/libmemcached-0.32/libmemcached/memcached_sasl.c +225 -0
  346. data/ext/libmemcached-0.32/libmemcached/memcached_sasl.h +44 -0
  347. data/ext/libmemcached-0.32/libmemcached/memcached_server.c +159 -0
  348. data/ext/libmemcached-0.32/libmemcached/memcached_server.h +93 -0
  349. data/ext/libmemcached-0.32/libmemcached/memcached_stats.c +437 -0
  350. data/ext/libmemcached-0.32/libmemcached/memcached_storage.c +515 -0
  351. data/ext/libmemcached-0.32/libmemcached/memcached_storage.h +107 -0
  352. data/ext/libmemcached-0.32/libmemcached/memcached_strerror.c +92 -0
  353. data/ext/libmemcached-0.32/libmemcached/memcached_string.c +138 -0
  354. data/ext/libmemcached-0.32/libmemcached/memcached_string.h +53 -0
  355. data/ext/libmemcached-0.32/libmemcached/memcached_touch.c +60 -0
  356. data/ext/libmemcached-0.32/libmemcached/memcached_touch.h +31 -0
  357. data/ext/libmemcached-0.32/libmemcached/memcached_types.h +44 -0
  358. data/ext/libmemcached-0.32/libmemcached/memcached_util.h +15 -0
  359. data/ext/libmemcached-0.32/libmemcached/memcached_verbosity.c +36 -0
  360. data/ext/libmemcached-0.32/libmemcached/memcached_version.c +112 -0
  361. data/ext/libmemcached-0.32/libmemcached/memcached_watchpoint.h +38 -0
  362. data/ext/libmemcached-0.32/libmemcached/murmur_hash.c +76 -0
  363. data/ext/libmemcached-0.32/libmemcached/visibility.h +51 -0
  364. data/ext/libmemcached-0.32/libmemcachedutil/Makefile +604 -0
  365. data/ext/libmemcached-0.32/libmemcachedutil/Makefile.am +11 -0
  366. data/ext/libmemcached-0.32/libmemcachedutil/Makefile.in +604 -0
  367. data/ext/libmemcached-0.32/libmemcachedutil/libmemcachedutil.ver +1 -0
  368. data/ext/libmemcached-0.32/libmemcachedutil/memcached_pool.c +170 -0
  369. data/ext/libmemcached-0.32/libtool +10223 -0
  370. data/ext/libmemcached-0.32/m4/ac_cxx_compile_stdcxx_0x.m4 +103 -0
  371. data/ext/libmemcached-0.32/m4/ac_cxx_header_stdcxx_98.m4 +67 -0
  372. data/ext/libmemcached-0.32/m4/acx_pthread.m4 +276 -0
  373. data/ext/libmemcached-0.32/m4/byteorder.m4 +40 -0
  374. data/ext/libmemcached-0.32/m4/deprecated.m4 +17 -0
  375. data/ext/libmemcached-0.32/m4/enable_utillib.m4 +16 -0
  376. data/ext/libmemcached-0.32/m4/extensions.m4 +94 -0
  377. data/ext/libmemcached-0.32/m4/hsieh.m4 +18 -0
  378. data/ext/libmemcached-0.32/m4/lib-prefix.m4 +221 -0
  379. data/ext/libmemcached-0.32/m4/libtool.m4 +7831 -0
  380. data/ext/libmemcached-0.32/m4/ltoptions.m4 +369 -0
  381. data/ext/libmemcached-0.32/m4/ltsugar.m4 +123 -0
  382. data/ext/libmemcached-0.32/m4/ltversion.m4 +23 -0
  383. data/ext/libmemcached-0.32/m4/lt~obsolete.m4 +98 -0
  384. data/ext/libmemcached-0.32/m4/memcached.m4 +30 -0
  385. data/ext/libmemcached-0.32/m4/pandora_64bit.m4 +55 -0
  386. data/ext/libmemcached-0.32/m4/pandora_canonical.m4 +151 -0
  387. data/ext/libmemcached-0.32/m4/pandora_check_compiler_version.m4 +37 -0
  388. data/ext/libmemcached-0.32/m4/pandora_check_cxx_standard.m4 +16 -0
  389. data/ext/libmemcached-0.32/m4/pandora_enable_dtrace.m4 +41 -0
  390. data/ext/libmemcached-0.32/m4/pandora_ensure_gcc_version.m4 +36 -0
  391. data/ext/libmemcached-0.32/m4/pandora_have_better_malloc.m4 +54 -0
  392. data/ext/libmemcached-0.32/m4/pandora_have_sasl.m4 +133 -0
  393. data/ext/libmemcached-0.32/m4/pandora_header_assert.m4 +23 -0
  394. data/ext/libmemcached-0.32/m4/pandora_libtool.m4 +15 -0
  395. data/ext/libmemcached-0.32/m4/pandora_optimize.m4 +79 -0
  396. data/ext/libmemcached-0.32/m4/pandora_shared_ptr.m4 +56 -0
  397. data/ext/libmemcached-0.32/m4/pandora_vc_build.m4 +32 -0
  398. data/ext/libmemcached-0.32/m4/pandora_warnings.m4 +262 -0
  399. data/ext/libmemcached-0.32/m4/pod2man.m4 +7 -0
  400. data/ext/libmemcached-0.32/m4/protocol_binary.m4 +23 -0
  401. data/ext/libmemcached-0.32/m4/setsockopt.m4 +57 -0
  402. data/ext/libmemcached-0.32/m4/visibility.m4 +52 -0
  403. data/ext/libmemcached-0.32/stamp-h1 +1 -0
  404. data/ext/libmemcached-0.32/support/Makefile +487 -0
  405. data/ext/libmemcached-0.32/support/Makefile.am +4 -0
  406. data/ext/libmemcached-0.32/support/Makefile.in +487 -0
  407. data/ext/libmemcached-0.32/support/libmemcached-fc.spec +105 -0
  408. data/ext/libmemcached-0.32/support/libmemcached-fc.spec.in +105 -0
  409. data/ext/libmemcached-0.32/support/libmemcached.pc +10 -0
  410. data/ext/libmemcached-0.32/support/libmemcached.pc.in +10 -0
  411. data/ext/libmemcached-0.32/support/libmemcached.spec +105 -0
  412. data/ext/libmemcached-0.32/support/libmemcached.spec.in +105 -0
  413. data/ext/libmemcached-0.32/support/set_benchmark.sh +5 -0
  414. data/ext/libmemcached-0.32/tests/Makefile +762 -0
  415. data/ext/libmemcached-0.32/tests/Makefile.am +113 -0
  416. data/ext/libmemcached-0.32/tests/Makefile.in +762 -0
  417. data/ext/libmemcached-0.32/tests/atomsmasher +0 -0
  418. data/ext/libmemcached-0.32/tests/atomsmasher.c +245 -0
  419. data/ext/libmemcached-0.32/tests/atomsmasher.o +0 -0
  420. data/ext/libmemcached-0.32/tests/function.c +4893 -0
  421. data/ext/libmemcached-0.32/tests/ketama_test_cases.h +108 -0
  422. data/ext/libmemcached-0.32/tests/libserver.la +41 -0
  423. data/ext/libmemcached-0.32/tests/libtest.la +41 -0
  424. data/ext/libmemcached-0.32/tests/output.cmp +7 -0
  425. data/ext/libmemcached-0.32/tests/output.res +7 -0
  426. data/ext/libmemcached-0.32/tests/output2.res +46 -0
  427. data/ext/libmemcached-0.32/tests/plus.cpp +293 -0
  428. data/ext/libmemcached-0.32/tests/plus.o +0 -0
  429. data/ext/libmemcached-0.32/tests/r/memcat.res +19 -0
  430. data/ext/libmemcached-0.32/tests/r/memcp.res +27 -0
  431. data/ext/libmemcached-0.32/tests/r/memrm.res +19 -0
  432. data/ext/libmemcached-0.32/tests/r/memslap.res +33 -0
  433. data/ext/libmemcached-0.32/tests/r/memstat.res +33 -0
  434. data/ext/libmemcached-0.32/tests/server.c +118 -0
  435. data/ext/libmemcached-0.32/tests/server.h +25 -0
  436. data/ext/libmemcached-0.32/tests/server.lo +12 -0
  437. data/ext/libmemcached-0.32/tests/server.o +0 -0
  438. data/ext/libmemcached-0.32/tests/start.c +16 -0
  439. data/ext/libmemcached-0.32/tests/start.o +0 -0
  440. data/ext/libmemcached-0.32/tests/startservers +0 -0
  441. data/ext/libmemcached-0.32/tests/t/memcat.test +4 -0
  442. data/ext/libmemcached-0.32/tests/t/memcp.test +3 -0
  443. data/ext/libmemcached-0.32/tests/t/memrm.test +3 -0
  444. data/ext/libmemcached-0.32/tests/t/memslap.test +5 -0
  445. data/ext/libmemcached-0.32/tests/t/memstat.test +3 -0
  446. data/ext/libmemcached-0.32/tests/test.c +137 -0
  447. data/ext/libmemcached-0.32/tests/test.h +46 -0
  448. data/ext/libmemcached-0.32/tests/test.lo +12 -0
  449. data/ext/libmemcached-0.32/tests/test.o +0 -0
  450. data/ext/libmemcached-0.32/tests/testapp +0 -0
  451. data/ext/libmemcached-0.32/tests/testapp-function.o +0 -0
  452. data/ext/libmemcached-0.32/tests/testplus +0 -0
  453. data/ext/libmemcached-0.32/tests/udp.c +76 -0
  454. data/ext/libmemcached-0.32/tests/udp.o +0 -0
  455. data/ext/libmemcached-0.32/tests/udptest +0 -0
  456. data/ext/rlibmemcached.bundle +0 -0
  457. data/ext/rlibmemcached.i +249 -0
  458. data/ext/rlibmemcached_wrap.c +13781 -0
  459. data/ext/rlibmemcached_wrap.o +0 -0
  460. data/ext/share/man/man1/memcat.1 +161 -0
  461. data/ext/share/man/man1/memcp.1 +164 -0
  462. data/ext/share/man/man1/memdump.1 +155 -0
  463. data/ext/share/man/man1/memerror.1 +154 -0
  464. data/ext/share/man/man1/memflush.1 +159 -0
  465. data/ext/share/man/man1/memrm.1 +158 -0
  466. data/ext/share/man/man1/memslap.1 +157 -0
  467. data/ext/share/man/man1/memstat.1 +159 -0
  468. data/ext/share/man/man3/libmemcached.3 +229 -0
  469. data/ext/share/man/man3/libmemcached_examples.3 +242 -0
  470. data/ext/share/man/man3/memcached_add.3 +308 -0
  471. data/ext/share/man/man3/memcached_add_by_key.3 +308 -0
  472. data/ext/share/man/man3/memcached_analyze.3 +175 -0
  473. data/ext/share/man/man3/memcached_append.3 +308 -0
  474. data/ext/share/man/man3/memcached_append_by_key.3 +308 -0
  475. data/ext/share/man/man3/memcached_behavior_get.3 +317 -0
  476. data/ext/share/man/man3/memcached_behavior_set.3 +317 -0
  477. data/ext/share/man/man3/memcached_callback_get.3 +231 -0
  478. data/ext/share/man/man3/memcached_callback_set.3 +231 -0
  479. data/ext/share/man/man3/memcached_cas.3 +308 -0
  480. data/ext/share/man/man3/memcached_cas_by_key.3 +308 -0
  481. data/ext/share/man/man3/memcached_clone.3 +183 -0
  482. data/ext/share/man/man3/memcached_create.3 +183 -0
  483. data/ext/share/man/man3/memcached_decrement.3 +219 -0
  484. data/ext/share/man/man3/memcached_decrement_with_initial.3 +219 -0
  485. data/ext/share/man/man3/memcached_delete.3 +176 -0
  486. data/ext/share/man/man3/memcached_delete_by_key.3 +176 -0
  487. data/ext/share/man/man3/memcached_destroy_sasl_auth_data.3 +184 -0
  488. data/ext/share/man/man3/memcached_dump.3 +175 -0
  489. data/ext/share/man/man3/memcached_fetch.3 +283 -0
  490. data/ext/share/man/man3/memcached_fetch_execute.3 +283 -0
  491. data/ext/share/man/man3/memcached_fetch_result.3 +283 -0
  492. data/ext/share/man/man3/memcached_flush_buffers.3 +164 -0
  493. data/ext/share/man/man3/memcached_free.3 +183 -0
  494. data/ext/share/man/man3/memcached_generate_hash_value.3 +179 -0
  495. data/ext/share/man/man3/memcached_get.3 +283 -0
  496. data/ext/share/man/man3/memcached_get_by_key.3 +283 -0
  497. data/ext/share/man/man3/memcached_get_memory_allocators.3 +194 -0
  498. data/ext/share/man/man3/memcached_get_sasl_callbacks.3 +184 -0
  499. data/ext/share/man/man3/memcached_get_user_data.3 +171 -0
  500. data/ext/share/man/man3/memcached_increment.3 +219 -0
  501. data/ext/share/man/man3/memcached_increment_with_initial.3 +219 -0
  502. data/ext/share/man/man3/memcached_lib_version.3 +176 -0
  503. data/ext/share/man/man3/memcached_mget.3 +283 -0
  504. data/ext/share/man/man3/memcached_mget_by_key.3 +283 -0
  505. data/ext/share/man/man3/memcached_prepend.3 +308 -0
  506. data/ext/share/man/man3/memcached_prepend_by_key.3 +308 -0
  507. data/ext/share/man/man3/memcached_quit.3 +169 -0
  508. data/ext/share/man/man3/memcached_replace.3 +308 -0
  509. data/ext/share/man/man3/memcached_replace_by_key.3 +308 -0
  510. data/ext/share/man/man3/memcached_server_add.3 +224 -0
  511. data/ext/share/man/man3/memcached_server_count.3 +224 -0
  512. data/ext/share/man/man3/memcached_server_list.3 +224 -0
  513. data/ext/share/man/man3/memcached_server_list_append.3 +196 -0
  514. data/ext/share/man/man3/memcached_server_list_count.3 +196 -0
  515. data/ext/share/man/man3/memcached_server_list_free.3 +196 -0
  516. data/ext/share/man/man3/memcached_server_push.3 +224 -0
  517. data/ext/share/man/man3/memcached_servers_parse.3 +196 -0
  518. data/ext/share/man/man3/memcached_set.3 +308 -0
  519. data/ext/share/man/man3/memcached_set_by_key.3 +308 -0
  520. data/ext/share/man/man3/memcached_set_memory_allocators.3 +194 -0
  521. data/ext/share/man/man3/memcached_set_sasl_auth_data.3 +184 -0
  522. data/ext/share/man/man3/memcached_set_sasl_callbacks.3 +184 -0
  523. data/ext/share/man/man3/memcached_set_user_data.3 +171 -0
  524. data/ext/share/man/man3/memcached_stat.3 +204 -0
  525. data/ext/share/man/man3/memcached_stat_get_keys.3 +204 -0
  526. data/ext/share/man/man3/memcached_stat_get_value.3 +204 -0
  527. data/ext/share/man/man3/memcached_stat_servername.3 +204 -0
  528. data/ext/share/man/man3/memcached_strerror.3 +168 -0
  529. data/ext/share/man/man3/memcached_verbosity.3 +163 -0
  530. data/ext/share/man/man3/memcached_version.3 +176 -0
  531. data/lib/memcached.rb +32 -0
  532. data/lib/memcached/behaviors.rb +77 -0
  533. data/lib/memcached/exceptions.rb +84 -0
  534. data/lib/memcached/experimental.rb +48 -0
  535. data/lib/memcached/memcached.rb +683 -0
  536. data/lib/memcached/rails.rb +200 -0
  537. data/test/test_helper.rb +19 -0
  538. data/test/unit/binding_test.rb +8 -0
  539. data/test/unit/memcached_experimental_test.rb +274 -0
  540. data/test/unit/memcached_test.rb +1340 -0
  541. data/test/unit/rails_test.rb +282 -0
  542. metadata +658 -0
@@ -0,0 +1 @@
1
+ See Changelog
@@ -0,0 +1,33 @@
1
+ Hi!
2
+
3
+ So what is this? It is a library in C for connecting to memcached servers
4
+ (http://danga.com/memcached/). It is also a collection of utilities designed
5
+ to work with memcached.
6
+
7
+ memcat - Copy the value of a key to standard output
8
+ memflush - Flush the contents of your servers.
9
+ memrm - Remove a key(s) from the server.
10
+ memstat - Dump the stats of your servers to standard output
11
+ memslap - Load generation utility (benchmark!)
12
+
13
+ The utilities are beta quality at this point. The library is in production
14
+ in many locations (upwards to 1000+ nodes).
15
+
16
+ Want to contribute? If you write more then three good patches, then I will
17
+ just ask you to commit directly to the tree. I am happy to have additional
18
+ people work on this project. Please checkout README.FIRST.
19
+
20
+ You will need a C99 compiler in order to compile this library. Currently we
21
+ actively support Linux, MacOSX, FreeBSD, and Solaris. A Windows port is
22
+ currently not supported, but one is listed on the homepage that is supported
23
+ by someone in the community.
24
+
25
+ If you are looking for answers to your questions please check out the
26
+ mailing list at:
27
+ http://lists.tangent.org/
28
+
29
+ Subscription information for the libmemcached mailing list can be found there.
30
+
31
+ Cheers,
32
+ -Brian Aker
33
+ Seattle, WA.
@@ -0,0 +1,14 @@
1
+ (This is not complete, please send email if I have missed someone.)
2
+ Eirik A. Nygaard - IO Patch
3
+ Cal Heldenbrand - Awesome feedback on performance
4
+ Dustin Sallings - Insight into protocol
5
+ Tobias Luetke - Performance Feedback
6
+ Andre Cruz - Help with getting the CRC Hash function to match other connectors
7
+ Brian Pontz - Hsieh hash
8
+ Tim Bunce - Perl Driver work and feedback on API
9
+ Kevin Dalley - Bug Fixes
10
+ Patrick Galbraith - work on C++ interface
11
+ Ross McFarland - Idea for sorting servers.
12
+ Marcelo Fernandez - TCP/IP timeout pieces
13
+ Yin Chen - Ketama support/weighted support
14
+ Monty Taylor - Debian Packages, Cleanup work for configure
@@ -0,0 +1,11 @@
1
+ - Write a shell application (?)
2
+ - Fix version in command line tools
3
+ - Write (more) test cases for all command line tools (!!!)
4
+ - Write some sort of "default" options bit for tools
5
+ - More examples using libraries
6
+ - Doxygen?
7
+ - implement more connection/hash algo
8
+ - implement compression
9
+ - Revisit get() code (look for performance enhancements)
10
+ - Add support for managing servers for clusters.
11
+ - Build embedded version
@@ -0,0 +1,1917 @@
1
+ # generated automatically by aclocal 1.11.1 -*- Autoconf -*-
2
+
3
+ # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
+ # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
5
+ # This file is free software; the Free Software Foundation
6
+ # gives unlimited permission to copy and/or distribute it,
7
+ # with or without modifications, as long as this notice is preserved.
8
+
9
+ # This program is distributed in the hope that it will be useful,
10
+ # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12
+ # PARTICULAR PURPOSE.
13
+
14
+ m4_ifndef([AC_AUTOCONF_VERSION],
15
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16
+ m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
17
+ [m4_warning([this file was generated for autoconf 2.68.
18
+ You have another version of autoconf. It may work, but is not guaranteed to.
19
+ If you have problems, you may need to regenerate the build system entirely.
20
+ To do so, use the procedure documented by the package, typically `autoreconf'.])])
21
+
22
+ # lib-ld.m4 serial 4 (gettext-0.18)
23
+ dnl Copyright (C) 1996-2003, 2009-2010 Free Software Foundation, Inc.
24
+ dnl This file is free software; the Free Software Foundation
25
+ dnl gives unlimited permission to copy and/or distribute it,
26
+ dnl with or without modifications, as long as this notice is preserved.
27
+
28
+ dnl Subroutines of libtool.m4,
29
+ dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision
30
+ dnl with libtool.m4.
31
+
32
+ dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no.
33
+ AC_DEFUN([AC_LIB_PROG_LD_GNU],
34
+ [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], [acl_cv_prog_gnu_ld],
35
+ [# I'd rather use --version here, but apparently some GNU ld's only accept -v.
36
+ case `$LD -v 2>&1 </dev/null` in
37
+ *GNU* | *'with BFD'*)
38
+ acl_cv_prog_gnu_ld=yes ;;
39
+ *)
40
+ acl_cv_prog_gnu_ld=no ;;
41
+ esac])
42
+ with_gnu_ld=$acl_cv_prog_gnu_ld
43
+ ])
44
+
45
+ dnl From libtool-1.4. Sets the variable LD.
46
+ AC_DEFUN([AC_LIB_PROG_LD],
47
+ [AC_ARG_WITH([gnu-ld],
48
+ [ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
49
+ test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
50
+ AC_REQUIRE([AC_PROG_CC])dnl
51
+ AC_REQUIRE([AC_CANONICAL_HOST])dnl
52
+ # Prepare PATH_SEPARATOR.
53
+ # The user is always right.
54
+ if test "${PATH_SEPARATOR+set}" != set; then
55
+ echo "#! /bin/sh" >conf$$.sh
56
+ echo "exit 0" >>conf$$.sh
57
+ chmod +x conf$$.sh
58
+ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
59
+ PATH_SEPARATOR=';'
60
+ else
61
+ PATH_SEPARATOR=:
62
+ fi
63
+ rm -f conf$$.sh
64
+ fi
65
+ ac_prog=ld
66
+ if test "$GCC" = yes; then
67
+ # Check if gcc -print-prog-name=ld gives a path.
68
+ AC_MSG_CHECKING([for ld used by GCC])
69
+ case $host in
70
+ *-*-mingw*)
71
+ # gcc leaves a trailing carriage return which upsets mingw
72
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
73
+ *)
74
+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
75
+ esac
76
+ case $ac_prog in
77
+ # Accept absolute paths.
78
+ [[\\/]* | [A-Za-z]:[\\/]*)]
79
+ [re_direlt='/[^/][^/]*/\.\./']
80
+ # Canonicalize the path of ld
81
+ ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
82
+ while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
83
+ ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
84
+ done
85
+ test -z "$LD" && LD="$ac_prog"
86
+ ;;
87
+ "")
88
+ # If it fails, then pretend we aren't using GCC.
89
+ ac_prog=ld
90
+ ;;
91
+ *)
92
+ # If it is relative, then search for the first ld in PATH.
93
+ with_gnu_ld=unknown
94
+ ;;
95
+ esac
96
+ elif test "$with_gnu_ld" = yes; then
97
+ AC_MSG_CHECKING([for GNU ld])
98
+ else
99
+ AC_MSG_CHECKING([for non-GNU ld])
100
+ fi
101
+ AC_CACHE_VAL([acl_cv_path_LD],
102
+ [if test -z "$LD"; then
103
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
104
+ for ac_dir in $PATH; do
105
+ test -z "$ac_dir" && ac_dir=.
106
+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
107
+ acl_cv_path_LD="$ac_dir/$ac_prog"
108
+ # Check to see if the program is GNU ld. I'd rather use --version,
109
+ # but apparently some GNU ld's only accept -v.
110
+ # Break only if it was the GNU/non-GNU ld that we prefer.
111
+ case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
112
+ *GNU* | *'with BFD'*)
113
+ test "$with_gnu_ld" != no && break ;;
114
+ *)
115
+ test "$with_gnu_ld" != yes && break ;;
116
+ esac
117
+ fi
118
+ done
119
+ IFS="$ac_save_ifs"
120
+ else
121
+ acl_cv_path_LD="$LD" # Let the user override the test with a path.
122
+ fi])
123
+ LD="$acl_cv_path_LD"
124
+ if test -n "$LD"; then
125
+ AC_MSG_RESULT([$LD])
126
+ else
127
+ AC_MSG_RESULT([no])
128
+ fi
129
+ test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
130
+ AC_LIB_PROG_LD_GNU
131
+ ])
132
+
133
+ # lib-link.m4 serial 21 (gettext-0.18)
134
+ dnl Copyright (C) 2001-2010 Free Software Foundation, Inc.
135
+ dnl This file is free software; the Free Software Foundation
136
+ dnl gives unlimited permission to copy and/or distribute it,
137
+ dnl with or without modifications, as long as this notice is preserved.
138
+
139
+ dnl From Bruno Haible.
140
+
141
+ AC_PREREQ([2.54])
142
+
143
+ dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and
144
+ dnl the libraries corresponding to explicit and implicit dependencies.
145
+ dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and
146
+ dnl augments the CPPFLAGS variable.
147
+ dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname
148
+ dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem.
149
+ AC_DEFUN([AC_LIB_LINKFLAGS],
150
+ [
151
+ AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
152
+ AC_REQUIRE([AC_LIB_RPATH])
153
+ pushdef([Name],[translit([$1],[./-], [___])])
154
+ pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
155
+ [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
156
+ AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
157
+ AC_LIB_LINKFLAGS_BODY([$1], [$2])
158
+ ac_cv_lib[]Name[]_libs="$LIB[]NAME"
159
+ ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
160
+ ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
161
+ ac_cv_lib[]Name[]_prefix="$LIB[]NAME[]_PREFIX"
162
+ ])
163
+ LIB[]NAME="$ac_cv_lib[]Name[]_libs"
164
+ LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
165
+ INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
166
+ LIB[]NAME[]_PREFIX="$ac_cv_lib[]Name[]_prefix"
167
+ AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
168
+ AC_SUBST([LIB]NAME)
169
+ AC_SUBST([LTLIB]NAME)
170
+ AC_SUBST([LIB]NAME[_PREFIX])
171
+ dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
172
+ dnl results of this search when this library appears as a dependency.
173
+ HAVE_LIB[]NAME=yes
174
+ popdef([NAME])
175
+ popdef([Name])
176
+ ])
177
+
178
+ dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode, [missing-message])
179
+ dnl searches for libname and the libraries corresponding to explicit and
180
+ dnl implicit dependencies, together with the specified include files and
181
+ dnl the ability to compile and link the specified testcode. The missing-message
182
+ dnl defaults to 'no' and may contain additional hints for the user.
183
+ dnl If found, it sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME}
184
+ dnl and LTLIB${NAME} variables and augments the CPPFLAGS variable, and
185
+ dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs
186
+ dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty.
187
+ dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname
188
+ dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem.
189
+ AC_DEFUN([AC_LIB_HAVE_LINKFLAGS],
190
+ [
191
+ AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
192
+ AC_REQUIRE([AC_LIB_RPATH])
193
+ pushdef([Name],[translit([$1],[./-], [___])])
194
+ pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
195
+ [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
196
+
197
+ dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
198
+ dnl accordingly.
199
+ AC_LIB_LINKFLAGS_BODY([$1], [$2])
200
+
201
+ dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
202
+ dnl because if the user has installed lib[]Name and not disabled its use
203
+ dnl via --without-lib[]Name-prefix, he wants to use it.
204
+ ac_save_CPPFLAGS="$CPPFLAGS"
205
+ AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
206
+
207
+ AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [
208
+ ac_save_LIBS="$LIBS"
209
+ dnl If $LIB[]NAME contains some -l options, add it to the end of LIBS,
210
+ dnl because these -l options might require -L options that are present in
211
+ dnl LIBS. -l options benefit only from the -L options listed before it.
212
+ dnl Otherwise, add it to the front of LIBS, because it may be a static
213
+ dnl library that depends on another static library that is present in LIBS.
214
+ dnl Static libraries benefit only from the static libraries listed after
215
+ dnl it.
216
+ case " $LIB[]NAME" in
217
+ *" -l"*) LIBS="$LIBS $LIB[]NAME" ;;
218
+ *) LIBS="$LIB[]NAME $LIBS" ;;
219
+ esac
220
+ AC_TRY_LINK([$3], [$4],
221
+ [ac_cv_lib[]Name=yes],
222
+ [ac_cv_lib[]Name='m4_if([$5], [], [no], [[$5]])'])
223
+ LIBS="$ac_save_LIBS"
224
+ ])
225
+ if test "$ac_cv_lib[]Name" = yes; then
226
+ HAVE_LIB[]NAME=yes
227
+ AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the lib][$1 library.])
228
+ AC_MSG_CHECKING([how to link with lib[]$1])
229
+ AC_MSG_RESULT([$LIB[]NAME])
230
+ else
231
+ HAVE_LIB[]NAME=no
232
+ dnl If $LIB[]NAME didn't lead to a usable library, we don't need
233
+ dnl $INC[]NAME either.
234
+ CPPFLAGS="$ac_save_CPPFLAGS"
235
+ LIB[]NAME=
236
+ LTLIB[]NAME=
237
+ LIB[]NAME[]_PREFIX=
238
+ fi
239
+ AC_SUBST([HAVE_LIB]NAME)
240
+ AC_SUBST([LIB]NAME)
241
+ AC_SUBST([LTLIB]NAME)
242
+ AC_SUBST([LIB]NAME[_PREFIX])
243
+ popdef([NAME])
244
+ popdef([Name])
245
+ ])
246
+
247
+ dnl Determine the platform dependent parameters needed to use rpath:
248
+ dnl acl_libext,
249
+ dnl acl_shlibext,
250
+ dnl acl_hardcode_libdir_flag_spec,
251
+ dnl acl_hardcode_libdir_separator,
252
+ dnl acl_hardcode_direct,
253
+ dnl acl_hardcode_minus_L.
254
+ AC_DEFUN([AC_LIB_RPATH],
255
+ [
256
+ dnl Tell automake >= 1.10 to complain if config.rpath is missing.
257
+ m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])])
258
+ AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS
259
+ AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld
260
+ AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host
261
+ AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir
262
+ AC_CACHE_CHECK([for shared library run path origin], [acl_cv_rpath], [
263
+ CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
264
+ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
265
+ . ./conftest.sh
266
+ rm -f ./conftest.sh
267
+ acl_cv_rpath=done
268
+ ])
269
+ wl="$acl_cv_wl"
270
+ acl_libext="$acl_cv_libext"
271
+ acl_shlibext="$acl_cv_shlibext"
272
+ acl_libname_spec="$acl_cv_libname_spec"
273
+ acl_library_names_spec="$acl_cv_library_names_spec"
274
+ acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
275
+ acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
276
+ acl_hardcode_direct="$acl_cv_hardcode_direct"
277
+ acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
278
+ dnl Determine whether the user wants rpath handling at all.
279
+ AC_ARG_ENABLE([rpath],
280
+ [ --disable-rpath do not hardcode runtime library paths],
281
+ :, enable_rpath=yes)
282
+ ])
283
+
284
+ dnl AC_LIB_FROMPACKAGE(name, package)
285
+ dnl declares that libname comes from the given package. The configure file
286
+ dnl will then not have a --with-libname-prefix option but a
287
+ dnl --with-package-prefix option. Several libraries can come from the same
288
+ dnl package. This declaration must occur before an AC_LIB_LINKFLAGS or similar
289
+ dnl macro call that searches for libname.
290
+ AC_DEFUN([AC_LIB_FROMPACKAGE],
291
+ [
292
+ pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
293
+ [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
294
+ define([acl_frompackage_]NAME, [$2])
295
+ popdef([NAME])
296
+ pushdef([PACK],[$2])
297
+ pushdef([PACKUP],[translit(PACK,[abcdefghijklmnopqrstuvwxyz./-],
298
+ [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
299
+ define([acl_libsinpackage_]PACKUP,
300
+ m4_ifdef([acl_libsinpackage_]PACKUP, [acl_libsinpackage_]PACKUP[[, ]],)[lib$1])
301
+ popdef([PACKUP])
302
+ popdef([PACK])
303
+ ])
304
+
305
+ dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and
306
+ dnl the libraries corresponding to explicit and implicit dependencies.
307
+ dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables.
308
+ dnl Also, sets the LIB${NAME}_PREFIX variable to nonempty if libname was found
309
+ dnl in ${LIB${NAME}_PREFIX}/$acl_libdirstem.
310
+ AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
311
+ [
312
+ AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
313
+ pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
314
+ [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
315
+ pushdef([PACK],[m4_ifdef([acl_frompackage_]NAME, [acl_frompackage_]NAME, lib[$1])])
316
+ pushdef([PACKUP],[translit(PACK,[abcdefghijklmnopqrstuvwxyz./-],
317
+ [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
318
+ pushdef([PACKLIBS],[m4_ifdef([acl_frompackage_]NAME, [acl_libsinpackage_]PACKUP, lib[$1])])
319
+ dnl Autoconf >= 2.61 supports dots in --with options.
320
+ pushdef([P_A_C_K],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[translit(PACK,[.],[_])],PACK)])
321
+ dnl By default, look in $includedir and $libdir.
322
+ use_additional=yes
323
+ AC_LIB_WITH_FINAL_PREFIX([
324
+ eval additional_includedir=\"$includedir\"
325
+ eval additional_libdir=\"$libdir\"
326
+ ])
327
+ AC_ARG_WITH(P_A_C_K[-prefix],
328
+ [[ --with-]]P_A_C_K[[-prefix[=DIR] search for ]PACKLIBS[ in DIR/include and DIR/lib
329
+ --without-]]P_A_C_K[[-prefix don't search for ]PACKLIBS[ in includedir and libdir]],
330
+ [
331
+ if test "X$withval" = "Xno"; then
332
+ use_additional=no
333
+ else
334
+ if test "X$withval" = "X"; then
335
+ AC_LIB_WITH_FINAL_PREFIX([
336
+ eval additional_includedir=\"$includedir\"
337
+ eval additional_libdir=\"$libdir\"
338
+ ])
339
+ else
340
+ additional_includedir="$withval/include"
341
+ additional_libdir="$withval/$acl_libdirstem"
342
+ if test "$acl_libdirstem2" != "$acl_libdirstem" \
343
+ && ! test -d "$withval/$acl_libdirstem"; then
344
+ additional_libdir="$withval/$acl_libdirstem2"
345
+ fi
346
+ fi
347
+ fi
348
+ ])
349
+ dnl Search the library and its dependencies in $additional_libdir and
350
+ dnl $LDFLAGS. Using breadth-first-seach.
351
+ LIB[]NAME=
352
+ LTLIB[]NAME=
353
+ INC[]NAME=
354
+ LIB[]NAME[]_PREFIX=
355
+ dnl HAVE_LIB${NAME} is an indicator that LIB${NAME}, LTLIB${NAME} have been
356
+ dnl computed. So it has to be reset here.
357
+ HAVE_LIB[]NAME=
358
+ rpathdirs=
359
+ ltrpathdirs=
360
+ names_already_handled=
361
+ names_next_round='$1 $2'
362
+ while test -n "$names_next_round"; do
363
+ names_this_round="$names_next_round"
364
+ names_next_round=
365
+ for name in $names_this_round; do
366
+ already_handled=
367
+ for n in $names_already_handled; do
368
+ if test "$n" = "$name"; then
369
+ already_handled=yes
370
+ break
371
+ fi
372
+ done
373
+ if test -z "$already_handled"; then
374
+ names_already_handled="$names_already_handled $name"
375
+ dnl See if it was already located by an earlier AC_LIB_LINKFLAGS
376
+ dnl or AC_LIB_HAVE_LINKFLAGS call.
377
+ uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
378
+ eval value=\"\$HAVE_LIB$uppername\"
379
+ if test -n "$value"; then
380
+ if test "$value" = yes; then
381
+ eval value=\"\$LIB$uppername\"
382
+ test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
383
+ eval value=\"\$LTLIB$uppername\"
384
+ test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
385
+ else
386
+ dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined
387
+ dnl that this library doesn't exist. So just drop it.
388
+ :
389
+ fi
390
+ else
391
+ dnl Search the library lib$name in $additional_libdir and $LDFLAGS
392
+ dnl and the already constructed $LIBNAME/$LTLIBNAME.
393
+ found_dir=
394
+ found_la=
395
+ found_so=
396
+ found_a=
397
+ eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
398
+ if test -n "$acl_shlibext"; then
399
+ shrext=".$acl_shlibext" # typically: shrext=.so
400
+ else
401
+ shrext=
402
+ fi
403
+ if test $use_additional = yes; then
404
+ dir="$additional_libdir"
405
+ dnl The same code as in the loop below:
406
+ dnl First look for a shared library.
407
+ if test -n "$acl_shlibext"; then
408
+ if test -f "$dir/$libname$shrext"; then
409
+ found_dir="$dir"
410
+ found_so="$dir/$libname$shrext"
411
+ else
412
+ if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
413
+ ver=`(cd "$dir" && \
414
+ for f in "$libname$shrext".*; do echo "$f"; done \
415
+ | sed -e "s,^$libname$shrext\\\\.,," \
416
+ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
417
+ | sed 1q ) 2>/dev/null`
418
+ if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
419
+ found_dir="$dir"
420
+ found_so="$dir/$libname$shrext.$ver"
421
+ fi
422
+ else
423
+ eval library_names=\"$acl_library_names_spec\"
424
+ for f in $library_names; do
425
+ if test -f "$dir/$f"; then
426
+ found_dir="$dir"
427
+ found_so="$dir/$f"
428
+ break
429
+ fi
430
+ done
431
+ fi
432
+ fi
433
+ fi
434
+ dnl Then look for a static library.
435
+ if test "X$found_dir" = "X"; then
436
+ if test -f "$dir/$libname.$acl_libext"; then
437
+ found_dir="$dir"
438
+ found_a="$dir/$libname.$acl_libext"
439
+ fi
440
+ fi
441
+ if test "X$found_dir" != "X"; then
442
+ if test -f "$dir/$libname.la"; then
443
+ found_la="$dir/$libname.la"
444
+ fi
445
+ fi
446
+ fi
447
+ if test "X$found_dir" = "X"; then
448
+ for x in $LDFLAGS $LTLIB[]NAME; do
449
+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
450
+ case "$x" in
451
+ -L*)
452
+ dir=`echo "X$x" | sed -e 's/^X-L//'`
453
+ dnl First look for a shared library.
454
+ if test -n "$acl_shlibext"; then
455
+ if test -f "$dir/$libname$shrext"; then
456
+ found_dir="$dir"
457
+ found_so="$dir/$libname$shrext"
458
+ else
459
+ if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
460
+ ver=`(cd "$dir" && \
461
+ for f in "$libname$shrext".*; do echo "$f"; done \
462
+ | sed -e "s,^$libname$shrext\\\\.,," \
463
+ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
464
+ | sed 1q ) 2>/dev/null`
465
+ if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
466
+ found_dir="$dir"
467
+ found_so="$dir/$libname$shrext.$ver"
468
+ fi
469
+ else
470
+ eval library_names=\"$acl_library_names_spec\"
471
+ for f in $library_names; do
472
+ if test -f "$dir/$f"; then
473
+ found_dir="$dir"
474
+ found_so="$dir/$f"
475
+ break
476
+ fi
477
+ done
478
+ fi
479
+ fi
480
+ fi
481
+ dnl Then look for a static library.
482
+ if test "X$found_dir" = "X"; then
483
+ if test -f "$dir/$libname.$acl_libext"; then
484
+ found_dir="$dir"
485
+ found_a="$dir/$libname.$acl_libext"
486
+ fi
487
+ fi
488
+ if test "X$found_dir" != "X"; then
489
+ if test -f "$dir/$libname.la"; then
490
+ found_la="$dir/$libname.la"
491
+ fi
492
+ fi
493
+ ;;
494
+ esac
495
+ if test "X$found_dir" != "X"; then
496
+ break
497
+ fi
498
+ done
499
+ fi
500
+ if test "X$found_dir" != "X"; then
501
+ dnl Found the library.
502
+ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
503
+ if test "X$found_so" != "X"; then
504
+ dnl Linking with a shared library. We attempt to hardcode its
505
+ dnl directory into the executable's runpath, unless it's the
506
+ dnl standard /usr/lib.
507
+ if test "$enable_rpath" = no \
508
+ || test "X$found_dir" = "X/usr/$acl_libdirstem" \
509
+ || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
510
+ dnl No hardcoding is needed.
511
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
512
+ else
513
+ dnl Use an explicit option to hardcode DIR into the resulting
514
+ dnl binary.
515
+ dnl Potentially add DIR to ltrpathdirs.
516
+ dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
517
+ haveit=
518
+ for x in $ltrpathdirs; do
519
+ if test "X$x" = "X$found_dir"; then
520
+ haveit=yes
521
+ break
522
+ fi
523
+ done
524
+ if test -z "$haveit"; then
525
+ ltrpathdirs="$ltrpathdirs $found_dir"
526
+ fi
527
+ dnl The hardcoding into $LIBNAME is system dependent.
528
+ if test "$acl_hardcode_direct" = yes; then
529
+ dnl Using DIR/libNAME.so during linking hardcodes DIR into the
530
+ dnl resulting binary.
531
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
532
+ else
533
+ if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
534
+ dnl Use an explicit option to hardcode DIR into the resulting
535
+ dnl binary.
536
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
537
+ dnl Potentially add DIR to rpathdirs.
538
+ dnl The rpathdirs will be appended to $LIBNAME at the end.
539
+ haveit=
540
+ for x in $rpathdirs; do
541
+ if test "X$x" = "X$found_dir"; then
542
+ haveit=yes
543
+ break
544
+ fi
545
+ done
546
+ if test -z "$haveit"; then
547
+ rpathdirs="$rpathdirs $found_dir"
548
+ fi
549
+ else
550
+ dnl Rely on "-L$found_dir".
551
+ dnl But don't add it if it's already contained in the LDFLAGS
552
+ dnl or the already constructed $LIBNAME
553
+ haveit=
554
+ for x in $LDFLAGS $LIB[]NAME; do
555
+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
556
+ if test "X$x" = "X-L$found_dir"; then
557
+ haveit=yes
558
+ break
559
+ fi
560
+ done
561
+ if test -z "$haveit"; then
562
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
563
+ fi
564
+ if test "$acl_hardcode_minus_L" != no; then
565
+ dnl FIXME: Not sure whether we should use
566
+ dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
567
+ dnl here.
568
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
569
+ else
570
+ dnl We cannot use $acl_hardcode_runpath_var and LD_RUN_PATH
571
+ dnl here, because this doesn't fit in flags passed to the
572
+ dnl compiler. So give up. No hardcoding. This affects only
573
+ dnl very old systems.
574
+ dnl FIXME: Not sure whether we should use
575
+ dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
576
+ dnl here.
577
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
578
+ fi
579
+ fi
580
+ fi
581
+ fi
582
+ else
583
+ if test "X$found_a" != "X"; then
584
+ dnl Linking with a static library.
585
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
586
+ else
587
+ dnl We shouldn't come here, but anyway it's good to have a
588
+ dnl fallback.
589
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
590
+ fi
591
+ fi
592
+ dnl Assume the include files are nearby.
593
+ additional_includedir=
594
+ case "$found_dir" in
595
+ */$acl_libdirstem | */$acl_libdirstem/)
596
+ basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
597
+ if test "$name" = '$1'; then
598
+ LIB[]NAME[]_PREFIX="$basedir"
599
+ fi
600
+ additional_includedir="$basedir/include"
601
+ ;;
602
+ */$acl_libdirstem2 | */$acl_libdirstem2/)
603
+ basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
604
+ if test "$name" = '$1'; then
605
+ LIB[]NAME[]_PREFIX="$basedir"
606
+ fi
607
+ additional_includedir="$basedir/include"
608
+ ;;
609
+ esac
610
+ if test "X$additional_includedir" != "X"; then
611
+ dnl Potentially add $additional_includedir to $INCNAME.
612
+ dnl But don't add it
613
+ dnl 1. if it's the standard /usr/include,
614
+ dnl 2. if it's /usr/local/include and we are using GCC on Linux,
615
+ dnl 3. if it's already present in $CPPFLAGS or the already
616
+ dnl constructed $INCNAME,
617
+ dnl 4. if it doesn't exist as a directory.
618
+ if test "X$additional_includedir" != "X/usr/include"; then
619
+ haveit=
620
+ if test "X$additional_includedir" = "X/usr/local/include"; then
621
+ if test -n "$GCC"; then
622
+ case $host_os in
623
+ linux* | gnu* | k*bsd*-gnu) haveit=yes;;
624
+ esac
625
+ fi
626
+ fi
627
+ if test -z "$haveit"; then
628
+ for x in $CPPFLAGS $INC[]NAME; do
629
+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
630
+ if test "X$x" = "X-I$additional_includedir"; then
631
+ haveit=yes
632
+ break
633
+ fi
634
+ done
635
+ if test -z "$haveit"; then
636
+ if test -d "$additional_includedir"; then
637
+ dnl Really add $additional_includedir to $INCNAME.
638
+ INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
639
+ fi
640
+ fi
641
+ fi
642
+ fi
643
+ fi
644
+ dnl Look for dependencies.
645
+ if test -n "$found_la"; then
646
+ dnl Read the .la file. It defines the variables
647
+ dnl dlname, library_names, old_library, dependency_libs, current,
648
+ dnl age, revision, installed, dlopen, dlpreopen, libdir.
649
+ save_libdir="$libdir"
650
+ case "$found_la" in
651
+ */* | *\\*) . "$found_la" ;;
652
+ *) . "./$found_la" ;;
653
+ esac
654
+ libdir="$save_libdir"
655
+ dnl We use only dependency_libs.
656
+ for dep in $dependency_libs; do
657
+ case "$dep" in
658
+ -L*)
659
+ additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
660
+ dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME.
661
+ dnl But don't add it
662
+ dnl 1. if it's the standard /usr/lib,
663
+ dnl 2. if it's /usr/local/lib and we are using GCC on Linux,
664
+ dnl 3. if it's already present in $LDFLAGS or the already
665
+ dnl constructed $LIBNAME,
666
+ dnl 4. if it doesn't exist as a directory.
667
+ if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
668
+ && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
669
+ haveit=
670
+ if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
671
+ || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
672
+ if test -n "$GCC"; then
673
+ case $host_os in
674
+ linux* | gnu* | k*bsd*-gnu) haveit=yes;;
675
+ esac
676
+ fi
677
+ fi
678
+ if test -z "$haveit"; then
679
+ haveit=
680
+ for x in $LDFLAGS $LIB[]NAME; do
681
+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
682
+ if test "X$x" = "X-L$additional_libdir"; then
683
+ haveit=yes
684
+ break
685
+ fi
686
+ done
687
+ if test -z "$haveit"; then
688
+ if test -d "$additional_libdir"; then
689
+ dnl Really add $additional_libdir to $LIBNAME.
690
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
691
+ fi
692
+ fi
693
+ haveit=
694
+ for x in $LDFLAGS $LTLIB[]NAME; do
695
+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
696
+ if test "X$x" = "X-L$additional_libdir"; then
697
+ haveit=yes
698
+ break
699
+ fi
700
+ done
701
+ if test -z "$haveit"; then
702
+ if test -d "$additional_libdir"; then
703
+ dnl Really add $additional_libdir to $LTLIBNAME.
704
+ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
705
+ fi
706
+ fi
707
+ fi
708
+ fi
709
+ ;;
710
+ -R*)
711
+ dir=`echo "X$dep" | sed -e 's/^X-R//'`
712
+ if test "$enable_rpath" != no; then
713
+ dnl Potentially add DIR to rpathdirs.
714
+ dnl The rpathdirs will be appended to $LIBNAME at the end.
715
+ haveit=
716
+ for x in $rpathdirs; do
717
+ if test "X$x" = "X$dir"; then
718
+ haveit=yes
719
+ break
720
+ fi
721
+ done
722
+ if test -z "$haveit"; then
723
+ rpathdirs="$rpathdirs $dir"
724
+ fi
725
+ dnl Potentially add DIR to ltrpathdirs.
726
+ dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
727
+ haveit=
728
+ for x in $ltrpathdirs; do
729
+ if test "X$x" = "X$dir"; then
730
+ haveit=yes
731
+ break
732
+ fi
733
+ done
734
+ if test -z "$haveit"; then
735
+ ltrpathdirs="$ltrpathdirs $dir"
736
+ fi
737
+ fi
738
+ ;;
739
+ -l*)
740
+ dnl Handle this in the next round.
741
+ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
742
+ ;;
743
+ *.la)
744
+ dnl Handle this in the next round. Throw away the .la's
745
+ dnl directory; it is already contained in a preceding -L
746
+ dnl option.
747
+ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
748
+ ;;
749
+ *)
750
+ dnl Most likely an immediate library name.
751
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
752
+ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
753
+ ;;
754
+ esac
755
+ done
756
+ fi
757
+ else
758
+ dnl Didn't find the library; assume it is in the system directories
759
+ dnl known to the linker and runtime loader. (All the system
760
+ dnl directories known to the linker should also be known to the
761
+ dnl runtime loader, otherwise the system is severely misconfigured.)
762
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
763
+ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
764
+ fi
765
+ fi
766
+ fi
767
+ done
768
+ done
769
+ if test "X$rpathdirs" != "X"; then
770
+ if test -n "$acl_hardcode_libdir_separator"; then
771
+ dnl Weird platform: only the last -rpath option counts, the user must
772
+ dnl pass all path elements in one option. We can arrange that for a
773
+ dnl single library, but not when more than one $LIBNAMEs are used.
774
+ alldirs=
775
+ for found_dir in $rpathdirs; do
776
+ alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
777
+ done
778
+ dnl Note: acl_hardcode_libdir_flag_spec uses $libdir and $wl.
779
+ acl_save_libdir="$libdir"
780
+ libdir="$alldirs"
781
+ eval flag=\"$acl_hardcode_libdir_flag_spec\"
782
+ libdir="$acl_save_libdir"
783
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
784
+ else
785
+ dnl The -rpath options are cumulative.
786
+ for found_dir in $rpathdirs; do
787
+ acl_save_libdir="$libdir"
788
+ libdir="$found_dir"
789
+ eval flag=\"$acl_hardcode_libdir_flag_spec\"
790
+ libdir="$acl_save_libdir"
791
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
792
+ done
793
+ fi
794
+ fi
795
+ if test "X$ltrpathdirs" != "X"; then
796
+ dnl When using libtool, the option that works for both libraries and
797
+ dnl executables is -R. The -R options are cumulative.
798
+ for found_dir in $ltrpathdirs; do
799
+ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
800
+ done
801
+ fi
802
+ popdef([P_A_C_K])
803
+ popdef([PACKLIBS])
804
+ popdef([PACKUP])
805
+ popdef([PACK])
806
+ popdef([NAME])
807
+ ])
808
+
809
+ dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR,
810
+ dnl unless already present in VAR.
811
+ dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes
812
+ dnl contains two or three consecutive elements that belong together.
813
+ AC_DEFUN([AC_LIB_APPENDTOVAR],
814
+ [
815
+ for element in [$2]; do
816
+ haveit=
817
+ for x in $[$1]; do
818
+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
819
+ if test "X$x" = "X$element"; then
820
+ haveit=yes
821
+ break
822
+ fi
823
+ done
824
+ if test -z "$haveit"; then
825
+ [$1]="${[$1]}${[$1]:+ }$element"
826
+ fi
827
+ done
828
+ ])
829
+
830
+ dnl For those cases where a variable contains several -L and -l options
831
+ dnl referring to unknown libraries and directories, this macro determines the
832
+ dnl necessary additional linker options for the runtime path.
833
+ dnl AC_LIB_LINKFLAGS_FROM_LIBS([LDADDVAR], [LIBSVALUE], [USE-LIBTOOL])
834
+ dnl sets LDADDVAR to linker options needed together with LIBSVALUE.
835
+ dnl If USE-LIBTOOL evaluates to non-empty, linking with libtool is assumed,
836
+ dnl otherwise linking without libtool is assumed.
837
+ AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS],
838
+ [
839
+ AC_REQUIRE([AC_LIB_RPATH])
840
+ AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
841
+ $1=
842
+ if test "$enable_rpath" != no; then
843
+ if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
844
+ dnl Use an explicit option to hardcode directories into the resulting
845
+ dnl binary.
846
+ rpathdirs=
847
+ next=
848
+ for opt in $2; do
849
+ if test -n "$next"; then
850
+ dir="$next"
851
+ dnl No need to hardcode the standard /usr/lib.
852
+ if test "X$dir" != "X/usr/$acl_libdirstem" \
853
+ && test "X$dir" != "X/usr/$acl_libdirstem2"; then
854
+ rpathdirs="$rpathdirs $dir"
855
+ fi
856
+ next=
857
+ else
858
+ case $opt in
859
+ -L) next=yes ;;
860
+ -L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'`
861
+ dnl No need to hardcode the standard /usr/lib.
862
+ if test "X$dir" != "X/usr/$acl_libdirstem" \
863
+ && test "X$dir" != "X/usr/$acl_libdirstem2"; then
864
+ rpathdirs="$rpathdirs $dir"
865
+ fi
866
+ next= ;;
867
+ *) next= ;;
868
+ esac
869
+ fi
870
+ done
871
+ if test "X$rpathdirs" != "X"; then
872
+ if test -n ""$3""; then
873
+ dnl libtool is used for linking. Use -R options.
874
+ for dir in $rpathdirs; do
875
+ $1="${$1}${$1:+ }-R$dir"
876
+ done
877
+ else
878
+ dnl The linker is used for linking directly.
879
+ if test -n "$acl_hardcode_libdir_separator"; then
880
+ dnl Weird platform: only the last -rpath option counts, the user
881
+ dnl must pass all path elements in one option.
882
+ alldirs=
883
+ for dir in $rpathdirs; do
884
+ alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$dir"
885
+ done
886
+ acl_save_libdir="$libdir"
887
+ libdir="$alldirs"
888
+ eval flag=\"$acl_hardcode_libdir_flag_spec\"
889
+ libdir="$acl_save_libdir"
890
+ $1="$flag"
891
+ else
892
+ dnl The -rpath options are cumulative.
893
+ for dir in $rpathdirs; do
894
+ acl_save_libdir="$libdir"
895
+ libdir="$dir"
896
+ eval flag=\"$acl_hardcode_libdir_flag_spec\"
897
+ libdir="$acl_save_libdir"
898
+ $1="${$1}${$1:+ }$flag"
899
+ done
900
+ fi
901
+ fi
902
+ fi
903
+ fi
904
+ fi
905
+ AC_SUBST([$1])
906
+ ])
907
+
908
+ # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
909
+ #
910
+ # This file is free software; the Free Software Foundation
911
+ # gives unlimited permission to copy and/or distribute it,
912
+ # with or without modifications, as long as this notice is preserved.
913
+
914
+ # AM_AUTOMAKE_VERSION(VERSION)
915
+ # ----------------------------
916
+ # Automake X.Y traces this macro to ensure aclocal.m4 has been
917
+ # generated from the m4 files accompanying Automake X.Y.
918
+ # (This private macro should not be called outside this file.)
919
+ AC_DEFUN([AM_AUTOMAKE_VERSION],
920
+ [am__api_version='1.11'
921
+ dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
922
+ dnl require some minimum version. Point them to the right macro.
923
+ m4_if([$1], [1.11.1], [],
924
+ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
925
+ ])
926
+
927
+ # _AM_AUTOCONF_VERSION(VERSION)
928
+ # -----------------------------
929
+ # aclocal traces this macro to find the Autoconf version.
930
+ # This is a private macro too. Using m4_define simplifies
931
+ # the logic in aclocal, which can simply ignore this definition.
932
+ m4_define([_AM_AUTOCONF_VERSION], [])
933
+
934
+ # AM_SET_CURRENT_AUTOMAKE_VERSION
935
+ # -------------------------------
936
+ # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
937
+ # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
938
+ AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
939
+ [AM_AUTOMAKE_VERSION([1.11.1])dnl
940
+ m4_ifndef([AC_AUTOCONF_VERSION],
941
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
942
+ _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
943
+
944
+ # AM_AUX_DIR_EXPAND -*- Autoconf -*-
945
+
946
+ # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
947
+ #
948
+ # This file is free software; the Free Software Foundation
949
+ # gives unlimited permission to copy and/or distribute it,
950
+ # with or without modifications, as long as this notice is preserved.
951
+
952
+ # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
953
+ # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
954
+ # `$srcdir', `$srcdir/..', or `$srcdir/../..'.
955
+ #
956
+ # Of course, Automake must honor this variable whenever it calls a
957
+ # tool from the auxiliary directory. The problem is that $srcdir (and
958
+ # therefore $ac_aux_dir as well) can be either absolute or relative,
959
+ # depending on how configure is run. This is pretty annoying, since
960
+ # it makes $ac_aux_dir quite unusable in subdirectories: in the top
961
+ # source directory, any form will work fine, but in subdirectories a
962
+ # relative path needs to be adjusted first.
963
+ #
964
+ # $ac_aux_dir/missing
965
+ # fails when called from a subdirectory if $ac_aux_dir is relative
966
+ # $top_srcdir/$ac_aux_dir/missing
967
+ # fails if $ac_aux_dir is absolute,
968
+ # fails when called from a subdirectory in a VPATH build with
969
+ # a relative $ac_aux_dir
970
+ #
971
+ # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
972
+ # are both prefixed by $srcdir. In an in-source build this is usually
973
+ # harmless because $srcdir is `.', but things will broke when you
974
+ # start a VPATH build or use an absolute $srcdir.
975
+ #
976
+ # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
977
+ # iff we strip the leading $srcdir from $ac_aux_dir. That would be:
978
+ # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
979
+ # and then we would define $MISSING as
980
+ # MISSING="\${SHELL} $am_aux_dir/missing"
981
+ # This will work as long as MISSING is not called from configure, because
982
+ # unfortunately $(top_srcdir) has no meaning in configure.
983
+ # However there are other variables, like CC, which are often used in
984
+ # configure, and could therefore not use this "fixed" $ac_aux_dir.
985
+ #
986
+ # Another solution, used here, is to always expand $ac_aux_dir to an
987
+ # absolute PATH. The drawback is that using absolute paths prevent a
988
+ # configured tree to be moved without reconfiguration.
989
+
990
+ AC_DEFUN([AM_AUX_DIR_EXPAND],
991
+ [dnl Rely on autoconf to set up CDPATH properly.
992
+ AC_PREREQ([2.50])dnl
993
+ # expand $ac_aux_dir to an absolute path
994
+ am_aux_dir=`cd $ac_aux_dir && pwd`
995
+ ])
996
+
997
+ # AM_CONDITIONAL -*- Autoconf -*-
998
+
999
+ # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
1000
+ # Free Software Foundation, Inc.
1001
+ #
1002
+ # This file is free software; the Free Software Foundation
1003
+ # gives unlimited permission to copy and/or distribute it,
1004
+ # with or without modifications, as long as this notice is preserved.
1005
+
1006
+ # serial 9
1007
+
1008
+ # AM_CONDITIONAL(NAME, SHELL-CONDITION)
1009
+ # -------------------------------------
1010
+ # Define a conditional.
1011
+ AC_DEFUN([AM_CONDITIONAL],
1012
+ [AC_PREREQ(2.52)dnl
1013
+ ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
1014
+ [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
1015
+ AC_SUBST([$1_TRUE])dnl
1016
+ AC_SUBST([$1_FALSE])dnl
1017
+ _AM_SUBST_NOTMAKE([$1_TRUE])dnl
1018
+ _AM_SUBST_NOTMAKE([$1_FALSE])dnl
1019
+ m4_define([_AM_COND_VALUE_$1], [$2])dnl
1020
+ if $2; then
1021
+ $1_TRUE=
1022
+ $1_FALSE='#'
1023
+ else
1024
+ $1_TRUE='#'
1025
+ $1_FALSE=
1026
+ fi
1027
+ AC_CONFIG_COMMANDS_PRE(
1028
+ [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
1029
+ AC_MSG_ERROR([[conditional "$1" was never defined.
1030
+ Usually this means the macro was only invoked conditionally.]])
1031
+ fi])])
1032
+
1033
+ # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
1034
+ # Free Software Foundation, Inc.
1035
+ #
1036
+ # This file is free software; the Free Software Foundation
1037
+ # gives unlimited permission to copy and/or distribute it,
1038
+ # with or without modifications, as long as this notice is preserved.
1039
+
1040
+ # serial 10
1041
+
1042
+ # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
1043
+ # written in clear, in which case automake, when reading aclocal.m4,
1044
+ # will think it sees a *use*, and therefore will trigger all it's
1045
+ # C support machinery. Also note that it means that autoscan, seeing
1046
+ # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
1047
+
1048
+
1049
+ # _AM_DEPENDENCIES(NAME)
1050
+ # ----------------------
1051
+ # See how the compiler implements dependency checking.
1052
+ # NAME is "CC", "CXX", "GCJ", or "OBJC".
1053
+ # We try a few techniques and use that to set a single cache variable.
1054
+ #
1055
+ # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
1056
+ # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
1057
+ # dependency, and given that the user is not expected to run this macro,
1058
+ # just rely on AC_PROG_CC.
1059
+ AC_DEFUN([_AM_DEPENDENCIES],
1060
+ [AC_REQUIRE([AM_SET_DEPDIR])dnl
1061
+ AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
1062
+ AC_REQUIRE([AM_MAKE_INCLUDE])dnl
1063
+ AC_REQUIRE([AM_DEP_TRACK])dnl
1064
+
1065
+ ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
1066
+ [$1], CXX, [depcc="$CXX" am_compiler_list=],
1067
+ [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
1068
+ [$1], UPC, [depcc="$UPC" am_compiler_list=],
1069
+ [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
1070
+ [depcc="$$1" am_compiler_list=])
1071
+
1072
+ AC_CACHE_CHECK([dependency style of $depcc],
1073
+ [am_cv_$1_dependencies_compiler_type],
1074
+ [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1075
+ # We make a subdir and do the tests there. Otherwise we can end up
1076
+ # making bogus files that we don't know about and never remove. For
1077
+ # instance it was reported that on HP-UX the gcc test will end up
1078
+ # making a dummy file named `D' -- because `-MD' means `put the output
1079
+ # in D'.
1080
+ mkdir conftest.dir
1081
+ # Copy depcomp to subdir because otherwise we won't find it if we're
1082
+ # using a relative directory.
1083
+ cp "$am_depcomp" conftest.dir
1084
+ cd conftest.dir
1085
+ # We will build objects and dependencies in a subdirectory because
1086
+ # it helps to detect inapplicable dependency modes. For instance
1087
+ # both Tru64's cc and ICC support -MD to output dependencies as a
1088
+ # side effect of compilation, but ICC will put the dependencies in
1089
+ # the current directory while Tru64 will put them in the object
1090
+ # directory.
1091
+ mkdir sub
1092
+
1093
+ am_cv_$1_dependencies_compiler_type=none
1094
+ if test "$am_compiler_list" = ""; then
1095
+ am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
1096
+ fi
1097
+ am__universal=false
1098
+ m4_case([$1], [CC],
1099
+ [case " $depcc " in #(
1100
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
1101
+ esac],
1102
+ [CXX],
1103
+ [case " $depcc " in #(
1104
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
1105
+ esac])
1106
+
1107
+ for depmode in $am_compiler_list; do
1108
+ # Setup a source with many dependencies, because some compilers
1109
+ # like to wrap large dependency lists on column 80 (with \), and
1110
+ # we should not choose a depcomp mode which is confused by this.
1111
+ #
1112
+ # We need to recreate these files for each test, as the compiler may
1113
+ # overwrite some of them when testing with obscure command lines.
1114
+ # This happens at least with the AIX C compiler.
1115
+ : > sub/conftest.c
1116
+ for i in 1 2 3 4 5 6; do
1117
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
1118
+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1119
+ # Solaris 8's {/usr,}/bin/sh.
1120
+ touch sub/conftst$i.h
1121
+ done
1122
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1123
+
1124
+ # We check with `-c' and `-o' for the sake of the "dashmstdout"
1125
+ # mode. It turns out that the SunPro C++ compiler does not properly
1126
+ # handle `-M -o', and we need to detect this. Also, some Intel
1127
+ # versions had trouble with output in subdirs
1128
+ am__obj=sub/conftest.${OBJEXT-o}
1129
+ am__minus_obj="-o $am__obj"
1130
+ case $depmode in
1131
+ gcc)
1132
+ # This depmode causes a compiler race in universal mode.
1133
+ test "$am__universal" = false || continue
1134
+ ;;
1135
+ nosideeffect)
1136
+ # after this tag, mechanisms are not by side-effect, so they'll
1137
+ # only be used when explicitly requested
1138
+ if test "x$enable_dependency_tracking" = xyes; then
1139
+ continue
1140
+ else
1141
+ break
1142
+ fi
1143
+ ;;
1144
+ msvisualcpp | msvcmsys)
1145
+ # This compiler won't grok `-c -o', but also, the minuso test has
1146
+ # not run yet. These depmodes are late enough in the game, and
1147
+ # so weak that their functioning should not be impacted.
1148
+ am__obj=conftest.${OBJEXT-o}
1149
+ am__minus_obj=
1150
+ ;;
1151
+ none) break ;;
1152
+ esac
1153
+ if depmode=$depmode \
1154
+ source=sub/conftest.c object=$am__obj \
1155
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1156
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1157
+ >/dev/null 2>conftest.err &&
1158
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1159
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1160
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1161
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1162
+ # icc doesn't choke on unknown options, it will just issue warnings
1163
+ # or remarks (even with -Werror). So we grep stderr for any message
1164
+ # that says an option was ignored or not supported.
1165
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
1166
+ # icc: Command line warning: ignoring option '-M'; no argument required
1167
+ # The diagnosis changed in icc 8.0:
1168
+ # icc: Command line remark: option '-MP' not supported
1169
+ if (grep 'ignoring option' conftest.err ||
1170
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1171
+ am_cv_$1_dependencies_compiler_type=$depmode
1172
+ break
1173
+ fi
1174
+ fi
1175
+ done
1176
+
1177
+ cd ..
1178
+ rm -rf conftest.dir
1179
+ else
1180
+ am_cv_$1_dependencies_compiler_type=none
1181
+ fi
1182
+ ])
1183
+ AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
1184
+ AM_CONDITIONAL([am__fastdep$1], [
1185
+ test "x$enable_dependency_tracking" != xno \
1186
+ && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
1187
+ ])
1188
+
1189
+
1190
+ # AM_SET_DEPDIR
1191
+ # -------------
1192
+ # Choose a directory name for dependency files.
1193
+ # This macro is AC_REQUIREd in _AM_DEPENDENCIES
1194
+ AC_DEFUN([AM_SET_DEPDIR],
1195
+ [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1196
+ AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
1197
+ ])
1198
+
1199
+
1200
+ # AM_DEP_TRACK
1201
+ # ------------
1202
+ AC_DEFUN([AM_DEP_TRACK],
1203
+ [AC_ARG_ENABLE(dependency-tracking,
1204
+ [ --disable-dependency-tracking speeds up one-time build
1205
+ --enable-dependency-tracking do not reject slow dependency extractors])
1206
+ if test "x$enable_dependency_tracking" != xno; then
1207
+ am_depcomp="$ac_aux_dir/depcomp"
1208
+ AMDEPBACKSLASH='\'
1209
+ fi
1210
+ AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
1211
+ AC_SUBST([AMDEPBACKSLASH])dnl
1212
+ _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
1213
+ ])
1214
+
1215
+ # Generate code to set up dependency tracking. -*- Autoconf -*-
1216
+
1217
+ # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
1218
+ # Free Software Foundation, Inc.
1219
+ #
1220
+ # This file is free software; the Free Software Foundation
1221
+ # gives unlimited permission to copy and/or distribute it,
1222
+ # with or without modifications, as long as this notice is preserved.
1223
+
1224
+ #serial 5
1225
+
1226
+ # _AM_OUTPUT_DEPENDENCY_COMMANDS
1227
+ # ------------------------------
1228
+ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
1229
+ [{
1230
+ # Autoconf 2.62 quotes --file arguments for eval, but not when files
1231
+ # are listed without --file. Let's play safe and only enable the eval
1232
+ # if we detect the quoting.
1233
+ case $CONFIG_FILES in
1234
+ *\'*) eval set x "$CONFIG_FILES" ;;
1235
+ *) set x $CONFIG_FILES ;;
1236
+ esac
1237
+ shift
1238
+ for mf
1239
+ do
1240
+ # Strip MF so we end up with the name of the file.
1241
+ mf=`echo "$mf" | sed -e 's/:.*$//'`
1242
+ # Check whether this is an Automake generated Makefile or not.
1243
+ # We used to match only the files named `Makefile.in', but
1244
+ # some people rename them; so instead we look at the file content.
1245
+ # Grep'ing the first line is not enough: some people post-process
1246
+ # each Makefile.in and add a new line on top of each file to say so.
1247
+ # Grep'ing the whole file is not good either: AIX grep has a line
1248
+ # limit of 2048, but all sed's we know have understand at least 4000.
1249
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
1250
+ dirpart=`AS_DIRNAME("$mf")`
1251
+ else
1252
+ continue
1253
+ fi
1254
+ # Extract the definition of DEPDIR, am__include, and am__quote
1255
+ # from the Makefile without running `make'.
1256
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1257
+ test -z "$DEPDIR" && continue
1258
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
1259
+ test -z "am__include" && continue
1260
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1261
+ # When using ansi2knr, U may be empty or an underscore; expand it
1262
+ U=`sed -n 's/^U = //p' < "$mf"`
1263
+ # Find all dependency output files, they are included files with
1264
+ # $(DEPDIR) in their names. We invoke sed twice because it is the
1265
+ # simplest approach to changing $(DEPDIR) to its actual value in the
1266
+ # expansion.
1267
+ for file in `sed -n "
1268
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1269
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
1270
+ # Make sure the directory exists.
1271
+ test -f "$dirpart/$file" && continue
1272
+ fdir=`AS_DIRNAME(["$file"])`
1273
+ AS_MKDIR_P([$dirpart/$fdir])
1274
+ # echo "creating $dirpart/$file"
1275
+ echo '# dummy' > "$dirpart/$file"
1276
+ done
1277
+ done
1278
+ }
1279
+ ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
1280
+
1281
+
1282
+ # AM_OUTPUT_DEPENDENCY_COMMANDS
1283
+ # -----------------------------
1284
+ # This macro should only be invoked once -- use via AC_REQUIRE.
1285
+ #
1286
+ # This code is only required when automatic dependency tracking
1287
+ # is enabled. FIXME. This creates each `.P' file that we will
1288
+ # need in order to bootstrap the dependency handling code.
1289
+ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
1290
+ [AC_CONFIG_COMMANDS([depfiles],
1291
+ [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
1292
+ [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
1293
+ ])
1294
+
1295
+ # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
1296
+ # Free Software Foundation, Inc.
1297
+ #
1298
+ # This file is free software; the Free Software Foundation
1299
+ # gives unlimited permission to copy and/or distribute it,
1300
+ # with or without modifications, as long as this notice is preserved.
1301
+
1302
+ # serial 8
1303
+
1304
+ # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
1305
+ AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
1306
+
1307
+ # Do all the work for Automake. -*- Autoconf -*-
1308
+
1309
+ # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
1310
+ # 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
1311
+ #
1312
+ # This file is free software; the Free Software Foundation
1313
+ # gives unlimited permission to copy and/or distribute it,
1314
+ # with or without modifications, as long as this notice is preserved.
1315
+
1316
+ # serial 16
1317
+
1318
+ # This macro actually does too much. Some checks are only needed if
1319
+ # your package does certain things. But this isn't really a big deal.
1320
+
1321
+ # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
1322
+ # AM_INIT_AUTOMAKE([OPTIONS])
1323
+ # -----------------------------------------------
1324
+ # The call with PACKAGE and VERSION arguments is the old style
1325
+ # call (pre autoconf-2.50), which is being phased out. PACKAGE
1326
+ # and VERSION should now be passed to AC_INIT and removed from
1327
+ # the call to AM_INIT_AUTOMAKE.
1328
+ # We support both call styles for the transition. After
1329
+ # the next Automake release, Autoconf can make the AC_INIT
1330
+ # arguments mandatory, and then we can depend on a new Autoconf
1331
+ # release and drop the old call support.
1332
+ AC_DEFUN([AM_INIT_AUTOMAKE],
1333
+ [AC_PREREQ([2.62])dnl
1334
+ dnl Autoconf wants to disallow AM_ names. We explicitly allow
1335
+ dnl the ones we care about.
1336
+ m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
1337
+ AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
1338
+ AC_REQUIRE([AC_PROG_INSTALL])dnl
1339
+ if test "`cd $srcdir && pwd`" != "`pwd`"; then
1340
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
1341
+ # is not polluted with repeated "-I."
1342
+ AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
1343
+ # test to see if srcdir already configured
1344
+ if test -f $srcdir/config.status; then
1345
+ AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
1346
+ fi
1347
+ fi
1348
+
1349
+ # test whether we have cygpath
1350
+ if test -z "$CYGPATH_W"; then
1351
+ if (cygpath --version) >/dev/null 2>/dev/null; then
1352
+ CYGPATH_W='cygpath -w'
1353
+ else
1354
+ CYGPATH_W=echo
1355
+ fi
1356
+ fi
1357
+ AC_SUBST([CYGPATH_W])
1358
+
1359
+ # Define the identity of the package.
1360
+ dnl Distinguish between old-style and new-style calls.
1361
+ m4_ifval([$2],
1362
+ [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
1363
+ AC_SUBST([PACKAGE], [$1])dnl
1364
+ AC_SUBST([VERSION], [$2])],
1365
+ [_AM_SET_OPTIONS([$1])dnl
1366
+ dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
1367
+ m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
1368
+ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
1369
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
1370
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
1371
+
1372
+ _AM_IF_OPTION([no-define],,
1373
+ [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
1374
+ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
1375
+
1376
+ # Some tools Automake needs.
1377
+ AC_REQUIRE([AM_SANITY_CHECK])dnl
1378
+ AC_REQUIRE([AC_ARG_PROGRAM])dnl
1379
+ AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
1380
+ AM_MISSING_PROG(AUTOCONF, autoconf)
1381
+ AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
1382
+ AM_MISSING_PROG(AUTOHEADER, autoheader)
1383
+ AM_MISSING_PROG(MAKEINFO, makeinfo)
1384
+ AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1385
+ AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
1386
+ AC_REQUIRE([AM_PROG_MKDIR_P])dnl
1387
+ # We need awk for the "check" target. The system "awk" is bad on
1388
+ # some platforms.
1389
+ AC_REQUIRE([AC_PROG_AWK])dnl
1390
+ AC_REQUIRE([AC_PROG_MAKE_SET])dnl
1391
+ AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1392
+ _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
1393
+ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
1394
+ [_AM_PROG_TAR([v7])])])
1395
+ _AM_IF_OPTION([no-dependencies],,
1396
+ [AC_PROVIDE_IFELSE([AC_PROG_CC],
1397
+ [_AM_DEPENDENCIES(CC)],
1398
+ [define([AC_PROG_CC],
1399
+ defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
1400
+ AC_PROVIDE_IFELSE([AC_PROG_CXX],
1401
+ [_AM_DEPENDENCIES(CXX)],
1402
+ [define([AC_PROG_CXX],
1403
+ defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
1404
+ AC_PROVIDE_IFELSE([AC_PROG_OBJC],
1405
+ [_AM_DEPENDENCIES(OBJC)],
1406
+ [define([AC_PROG_OBJC],
1407
+ defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
1408
+ ])
1409
+ _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
1410
+ dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
1411
+ dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
1412
+ dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
1413
+ AC_CONFIG_COMMANDS_PRE(dnl
1414
+ [m4_provide_if([_AM_COMPILER_EXEEXT],
1415
+ [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
1416
+ ])
1417
+
1418
+ dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
1419
+ dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
1420
+ dnl mangled by Autoconf and run in a shell conditional statement.
1421
+ m4_define([_AC_COMPILER_EXEEXT],
1422
+ m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
1423
+
1424
+
1425
+ # When config.status generates a header, we must update the stamp-h file.
1426
+ # This file resides in the same directory as the config header
1427
+ # that is generated. The stamp files are numbered to have different names.
1428
+
1429
+ # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
1430
+ # loop where config.status creates the headers, so we can generate
1431
+ # our stamp files there.
1432
+ AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
1433
+ [# Compute $1's index in $config_headers.
1434
+ _am_arg=$1
1435
+ _am_stamp_count=1
1436
+ for _am_header in $config_headers :; do
1437
+ case $_am_header in
1438
+ $_am_arg | $_am_arg:* )
1439
+ break ;;
1440
+ * )
1441
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1442
+ esac
1443
+ done
1444
+ echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
1445
+
1446
+ # Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
1447
+ #
1448
+ # This file is free software; the Free Software Foundation
1449
+ # gives unlimited permission to copy and/or distribute it,
1450
+ # with or without modifications, as long as this notice is preserved.
1451
+
1452
+ # AM_PROG_INSTALL_SH
1453
+ # ------------------
1454
+ # Define $install_sh.
1455
+ AC_DEFUN([AM_PROG_INSTALL_SH],
1456
+ [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1457
+ if test x"${install_sh}" != xset; then
1458
+ case $am_aux_dir in
1459
+ *\ * | *\ *)
1460
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1461
+ *)
1462
+ install_sh="\${SHELL} $am_aux_dir/install-sh"
1463
+ esac
1464
+ fi
1465
+ AC_SUBST(install_sh)])
1466
+
1467
+ # Copyright (C) 2003, 2005 Free Software Foundation, Inc.
1468
+ #
1469
+ # This file is free software; the Free Software Foundation
1470
+ # gives unlimited permission to copy and/or distribute it,
1471
+ # with or without modifications, as long as this notice is preserved.
1472
+
1473
+ # serial 2
1474
+
1475
+ # Check whether the underlying file-system supports filenames
1476
+ # with a leading dot. For instance MS-DOS doesn't.
1477
+ AC_DEFUN([AM_SET_LEADING_DOT],
1478
+ [rm -rf .tst 2>/dev/null
1479
+ mkdir .tst 2>/dev/null
1480
+ if test -d .tst; then
1481
+ am__leading_dot=.
1482
+ else
1483
+ am__leading_dot=_
1484
+ fi
1485
+ rmdir .tst 2>/dev/null
1486
+ AC_SUBST([am__leading_dot])])
1487
+
1488
+ # Check to see how 'make' treats includes. -*- Autoconf -*-
1489
+
1490
+ # Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
1491
+ #
1492
+ # This file is free software; the Free Software Foundation
1493
+ # gives unlimited permission to copy and/or distribute it,
1494
+ # with or without modifications, as long as this notice is preserved.
1495
+
1496
+ # serial 4
1497
+
1498
+ # AM_MAKE_INCLUDE()
1499
+ # -----------------
1500
+ # Check to see how make treats includes.
1501
+ AC_DEFUN([AM_MAKE_INCLUDE],
1502
+ [am_make=${MAKE-make}
1503
+ cat > confinc << 'END'
1504
+ am__doit:
1505
+ @echo this is the am__doit target
1506
+ .PHONY: am__doit
1507
+ END
1508
+ # If we don't find an include directive, just comment out the code.
1509
+ AC_MSG_CHECKING([for style of include used by $am_make])
1510
+ am__include="#"
1511
+ am__quote=
1512
+ _am_result=none
1513
+ # First try GNU make style include.
1514
+ echo "include confinc" > confmf
1515
+ # Ignore all kinds of additional output from `make'.
1516
+ case `$am_make -s -f confmf 2> /dev/null` in #(
1517
+ *the\ am__doit\ target*)
1518
+ am__include=include
1519
+ am__quote=
1520
+ _am_result=GNU
1521
+ ;;
1522
+ esac
1523
+ # Now try BSD make style include.
1524
+ if test "$am__include" = "#"; then
1525
+ echo '.include "confinc"' > confmf
1526
+ case `$am_make -s -f confmf 2> /dev/null` in #(
1527
+ *the\ am__doit\ target*)
1528
+ am__include=.include
1529
+ am__quote="\""
1530
+ _am_result=BSD
1531
+ ;;
1532
+ esac
1533
+ fi
1534
+ AC_SUBST([am__include])
1535
+ AC_SUBST([am__quote])
1536
+ AC_MSG_RESULT([$_am_result])
1537
+ rm -f confinc confmf
1538
+ ])
1539
+
1540
+ # Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008
1541
+ # Free Software Foundation, Inc.
1542
+ #
1543
+ # This file is free software; the Free Software Foundation
1544
+ # gives unlimited permission to copy and/or distribute it,
1545
+ # with or without modifications, as long as this notice is preserved.
1546
+
1547
+ # serial 6
1548
+
1549
+ # AM_PROG_CC_C_O
1550
+ # --------------
1551
+ # Like AC_PROG_CC_C_O, but changed for automake.
1552
+ AC_DEFUN([AM_PROG_CC_C_O],
1553
+ [AC_REQUIRE([AC_PROG_CC_C_O])dnl
1554
+ AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1555
+ AC_REQUIRE_AUX_FILE([compile])dnl
1556
+ # FIXME: we rely on the cache variable name because
1557
+ # there is no other way.
1558
+ set dummy $CC
1559
+ am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
1560
+ eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
1561
+ if test "$am_t" != yes; then
1562
+ # Losing compiler, so override with the script.
1563
+ # FIXME: It is wrong to rewrite CC.
1564
+ # But if we don't then we get into trouble of one sort or another.
1565
+ # A longer-term fix would be to have automake use am__CC in this case,
1566
+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
1567
+ CC="$am_aux_dir/compile $CC"
1568
+ fi
1569
+ dnl Make sure AC_PROG_CC is never called again, or it will override our
1570
+ dnl setting of CC.
1571
+ m4_define([AC_PROG_CC],
1572
+ [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
1573
+ ])
1574
+
1575
+ # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
1576
+
1577
+ # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
1578
+ # Free Software Foundation, Inc.
1579
+ #
1580
+ # This file is free software; the Free Software Foundation
1581
+ # gives unlimited permission to copy and/or distribute it,
1582
+ # with or without modifications, as long as this notice is preserved.
1583
+
1584
+ # serial 6
1585
+
1586
+ # AM_MISSING_PROG(NAME, PROGRAM)
1587
+ # ------------------------------
1588
+ AC_DEFUN([AM_MISSING_PROG],
1589
+ [AC_REQUIRE([AM_MISSING_HAS_RUN])
1590
+ $1=${$1-"${am_missing_run}$2"}
1591
+ AC_SUBST($1)])
1592
+
1593
+
1594
+ # AM_MISSING_HAS_RUN
1595
+ # ------------------
1596
+ # Define MISSING if not defined so far and test if it supports --run.
1597
+ # If it does, set am_missing_run to use it, otherwise, to nothing.
1598
+ AC_DEFUN([AM_MISSING_HAS_RUN],
1599
+ [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1600
+ AC_REQUIRE_AUX_FILE([missing])dnl
1601
+ if test x"${MISSING+set}" != xset; then
1602
+ case $am_aux_dir in
1603
+ *\ * | *\ *)
1604
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1605
+ *)
1606
+ MISSING="\${SHELL} $am_aux_dir/missing" ;;
1607
+ esac
1608
+ fi
1609
+ # Use eval to expand $SHELL
1610
+ if eval "$MISSING --run true"; then
1611
+ am_missing_run="$MISSING --run "
1612
+ else
1613
+ am_missing_run=
1614
+ AC_MSG_WARN([`missing' script is too old or missing])
1615
+ fi
1616
+ ])
1617
+
1618
+ # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1619
+ #
1620
+ # This file is free software; the Free Software Foundation
1621
+ # gives unlimited permission to copy and/or distribute it,
1622
+ # with or without modifications, as long as this notice is preserved.
1623
+
1624
+ # AM_PROG_MKDIR_P
1625
+ # ---------------
1626
+ # Check for `mkdir -p'.
1627
+ AC_DEFUN([AM_PROG_MKDIR_P],
1628
+ [AC_PREREQ([2.60])dnl
1629
+ AC_REQUIRE([AC_PROG_MKDIR_P])dnl
1630
+ dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
1631
+ dnl while keeping a definition of mkdir_p for backward compatibility.
1632
+ dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
1633
+ dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
1634
+ dnl Makefile.ins that do not define MKDIR_P, so we do our own
1635
+ dnl adjustment using top_builddir (which is defined more often than
1636
+ dnl MKDIR_P).
1637
+ AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
1638
+ case $mkdir_p in
1639
+ [[\\/$]]* | ?:[[\\/]]*) ;;
1640
+ */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1641
+ esac
1642
+ ])
1643
+
1644
+ # Helper functions for option handling. -*- Autoconf -*-
1645
+
1646
+ # Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
1647
+ #
1648
+ # This file is free software; the Free Software Foundation
1649
+ # gives unlimited permission to copy and/or distribute it,
1650
+ # with or without modifications, as long as this notice is preserved.
1651
+
1652
+ # serial 4
1653
+
1654
+ # _AM_MANGLE_OPTION(NAME)
1655
+ # -----------------------
1656
+ AC_DEFUN([_AM_MANGLE_OPTION],
1657
+ [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1658
+
1659
+ # _AM_SET_OPTION(NAME)
1660
+ # ------------------------------
1661
+ # Set option NAME. Presently that only means defining a flag for this option.
1662
+ AC_DEFUN([_AM_SET_OPTION],
1663
+ [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
1664
+
1665
+ # _AM_SET_OPTIONS(OPTIONS)
1666
+ # ----------------------------------
1667
+ # OPTIONS is a space-separated list of Automake options.
1668
+ AC_DEFUN([_AM_SET_OPTIONS],
1669
+ [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1670
+
1671
+ # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
1672
+ # -------------------------------------------
1673
+ # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
1674
+ AC_DEFUN([_AM_IF_OPTION],
1675
+ [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1676
+
1677
+ # Check to make sure that the build environment is sane. -*- Autoconf -*-
1678
+
1679
+ # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
1680
+ # Free Software Foundation, Inc.
1681
+ #
1682
+ # This file is free software; the Free Software Foundation
1683
+ # gives unlimited permission to copy and/or distribute it,
1684
+ # with or without modifications, as long as this notice is preserved.
1685
+
1686
+ # serial 5
1687
+
1688
+ # AM_SANITY_CHECK
1689
+ # ---------------
1690
+ AC_DEFUN([AM_SANITY_CHECK],
1691
+ [AC_MSG_CHECKING([whether build environment is sane])
1692
+ # Just in case
1693
+ sleep 1
1694
+ echo timestamp > conftest.file
1695
+ # Reject unsafe characters in $srcdir or the absolute working directory
1696
+ # name. Accept space and tab only in the latter.
1697
+ am_lf='
1698
+ '
1699
+ case `pwd` in
1700
+ *[[\\\"\#\$\&\'\`$am_lf]]*)
1701
+ AC_MSG_ERROR([unsafe absolute working directory name]);;
1702
+ esac
1703
+ case $srcdir in
1704
+ *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
1705
+ AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
1706
+ esac
1707
+
1708
+ # Do `set' in a subshell so we don't clobber the current shell's
1709
+ # arguments. Must try -L first in case configure is actually a
1710
+ # symlink; some systems play weird games with the mod time of symlinks
1711
+ # (eg FreeBSD returns the mod time of the symlink's containing
1712
+ # directory).
1713
+ if (
1714
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1715
+ if test "$[*]" = "X"; then
1716
+ # -L didn't work.
1717
+ set X `ls -t "$srcdir/configure" conftest.file`
1718
+ fi
1719
+ rm -f conftest.file
1720
+ if test "$[*]" != "X $srcdir/configure conftest.file" \
1721
+ && test "$[*]" != "X conftest.file $srcdir/configure"; then
1722
+
1723
+ # If neither matched, then we have a broken ls. This can happen
1724
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
1725
+ # broken ls alias from the environment. This has actually
1726
+ # happened. Such a system could not be considered "sane".
1727
+ AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
1728
+ alias in your environment])
1729
+ fi
1730
+
1731
+ test "$[2]" = conftest.file
1732
+ )
1733
+ then
1734
+ # Ok.
1735
+ :
1736
+ else
1737
+ AC_MSG_ERROR([newly created file is older than distributed files!
1738
+ Check your system clock])
1739
+ fi
1740
+ AC_MSG_RESULT(yes)])
1741
+
1742
+ # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
1743
+ #
1744
+ # This file is free software; the Free Software Foundation
1745
+ # gives unlimited permission to copy and/or distribute it,
1746
+ # with or without modifications, as long as this notice is preserved.
1747
+
1748
+ # AM_PROG_INSTALL_STRIP
1749
+ # ---------------------
1750
+ # One issue with vendor `install' (even GNU) is that you can't
1751
+ # specify the program used to strip binaries. This is especially
1752
+ # annoying in cross-compiling environments, where the build's strip
1753
+ # is unlikely to handle the host's binaries.
1754
+ # Fortunately install-sh will honor a STRIPPROG variable, so we
1755
+ # always use install-sh in `make install-strip', and initialize
1756
+ # STRIPPROG with the value of the STRIP variable (set by the user).
1757
+ AC_DEFUN([AM_PROG_INSTALL_STRIP],
1758
+ [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1759
+ # Installed binaries are usually stripped using `strip' when the user
1760
+ # run `make install-strip'. However `strip' might not be the right
1761
+ # tool to use in cross-compilation environments, therefore Automake
1762
+ # will honor the `STRIP' environment variable to overrule this program.
1763
+ dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
1764
+ if test "$cross_compiling" != no; then
1765
+ AC_CHECK_TOOL([STRIP], [strip], :)
1766
+ fi
1767
+ INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1768
+ AC_SUBST([INSTALL_STRIP_PROGRAM])])
1769
+
1770
+ # Copyright (C) 2006, 2008 Free Software Foundation, Inc.
1771
+ #
1772
+ # This file is free software; the Free Software Foundation
1773
+ # gives unlimited permission to copy and/or distribute it,
1774
+ # with or without modifications, as long as this notice is preserved.
1775
+
1776
+ # serial 2
1777
+
1778
+ # _AM_SUBST_NOTMAKE(VARIABLE)
1779
+ # ---------------------------
1780
+ # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
1781
+ # This macro is traced by Automake.
1782
+ AC_DEFUN([_AM_SUBST_NOTMAKE])
1783
+
1784
+ # AM_SUBST_NOTMAKE(VARIABLE)
1785
+ # ---------------------------
1786
+ # Public sister of _AM_SUBST_NOTMAKE.
1787
+ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1788
+
1789
+ # Check how to create a tarball. -*- Autoconf -*-
1790
+
1791
+ # Copyright (C) 2004, 2005 Free Software Foundation, Inc.
1792
+ #
1793
+ # This file is free software; the Free Software Foundation
1794
+ # gives unlimited permission to copy and/or distribute it,
1795
+ # with or without modifications, as long as this notice is preserved.
1796
+
1797
+ # serial 2
1798
+
1799
+ # _AM_PROG_TAR(FORMAT)
1800
+ # --------------------
1801
+ # Check how to create a tarball in format FORMAT.
1802
+ # FORMAT should be one of `v7', `ustar', or `pax'.
1803
+ #
1804
+ # Substitute a variable $(am__tar) that is a command
1805
+ # writing to stdout a FORMAT-tarball containing the directory
1806
+ # $tardir.
1807
+ # tardir=directory && $(am__tar) > result.tar
1808
+ #
1809
+ # Substitute a variable $(am__untar) that extract such
1810
+ # a tarball read from stdin.
1811
+ # $(am__untar) < result.tar
1812
+ AC_DEFUN([_AM_PROG_TAR],
1813
+ [# Always define AMTAR for backward compatibility.
1814
+ AM_MISSING_PROG([AMTAR], [tar])
1815
+ m4_if([$1], [v7],
1816
+ [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
1817
+ [m4_case([$1], [ustar],, [pax],,
1818
+ [m4_fatal([Unknown tar format])])
1819
+ AC_MSG_CHECKING([how to create a $1 tar archive])
1820
+ # Loop over all known methods to create a tar archive until one works.
1821
+ _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
1822
+ _am_tools=${am_cv_prog_tar_$1-$_am_tools}
1823
+ # Do not fold the above two line into one, because Tru64 sh and
1824
+ # Solaris sh will not grok spaces in the rhs of `-'.
1825
+ for _am_tool in $_am_tools
1826
+ do
1827
+ case $_am_tool in
1828
+ gnutar)
1829
+ for _am_tar in tar gnutar gtar;
1830
+ do
1831
+ AM_RUN_LOG([$_am_tar --version]) && break
1832
+ done
1833
+ am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1834
+ am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1835
+ am__untar="$_am_tar -xf -"
1836
+ ;;
1837
+ plaintar)
1838
+ # Must skip GNU tar: if it does not support --format= it doesn't create
1839
+ # ustar tarball either.
1840
+ (tar --version) >/dev/null 2>&1 && continue
1841
+ am__tar='tar chf - "$$tardir"'
1842
+ am__tar_='tar chf - "$tardir"'
1843
+ am__untar='tar xf -'
1844
+ ;;
1845
+ pax)
1846
+ am__tar='pax -L -x $1 -w "$$tardir"'
1847
+ am__tar_='pax -L -x $1 -w "$tardir"'
1848
+ am__untar='pax -r'
1849
+ ;;
1850
+ cpio)
1851
+ am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1852
+ am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1853
+ am__untar='cpio -i -H $1 -d'
1854
+ ;;
1855
+ none)
1856
+ am__tar=false
1857
+ am__tar_=false
1858
+ am__untar=false
1859
+ ;;
1860
+ esac
1861
+
1862
+ # If the value was cached, stop now. We just wanted to have am__tar
1863
+ # and am__untar set.
1864
+ test -n "${am_cv_prog_tar_$1}" && break
1865
+
1866
+ # tar/untar a dummy directory, and stop if the command works
1867
+ rm -rf conftest.dir
1868
+ mkdir conftest.dir
1869
+ echo GrepMe > conftest.dir/file
1870
+ AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1871
+ rm -rf conftest.dir
1872
+ if test -s conftest.tar; then
1873
+ AM_RUN_LOG([$am__untar <conftest.tar])
1874
+ grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1875
+ fi
1876
+ done
1877
+ rm -rf conftest.dir
1878
+
1879
+ AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1880
+ AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1881
+ AC_SUBST([am__tar])
1882
+ AC_SUBST([am__untar])
1883
+ ]) # _AM_PROG_TAR
1884
+
1885
+ m4_include([m4/ac_cxx_compile_stdcxx_0x.m4])
1886
+ m4_include([m4/ac_cxx_header_stdcxx_98.m4])
1887
+ m4_include([m4/acx_pthread.m4])
1888
+ m4_include([m4/byteorder.m4])
1889
+ m4_include([m4/deprecated.m4])
1890
+ m4_include([m4/enable_utillib.m4])
1891
+ m4_include([m4/extensions.m4])
1892
+ m4_include([m4/hsieh.m4])
1893
+ m4_include([m4/lib-prefix.m4])
1894
+ m4_include([m4/libtool.m4])
1895
+ m4_include([m4/ltoptions.m4])
1896
+ m4_include([m4/ltsugar.m4])
1897
+ m4_include([m4/ltversion.m4])
1898
+ m4_include([m4/lt~obsolete.m4])
1899
+ m4_include([m4/memcached.m4])
1900
+ m4_include([m4/pandora_64bit.m4])
1901
+ m4_include([m4/pandora_canonical.m4])
1902
+ m4_include([m4/pandora_check_compiler_version.m4])
1903
+ m4_include([m4/pandora_check_cxx_standard.m4])
1904
+ m4_include([m4/pandora_enable_dtrace.m4])
1905
+ m4_include([m4/pandora_ensure_gcc_version.m4])
1906
+ m4_include([m4/pandora_have_better_malloc.m4])
1907
+ m4_include([m4/pandora_have_sasl.m4])
1908
+ m4_include([m4/pandora_header_assert.m4])
1909
+ m4_include([m4/pandora_libtool.m4])
1910
+ m4_include([m4/pandora_optimize.m4])
1911
+ m4_include([m4/pandora_shared_ptr.m4])
1912
+ m4_include([m4/pandora_vc_build.m4])
1913
+ m4_include([m4/pandora_warnings.m4])
1914
+ m4_include([m4/pod2man.m4])
1915
+ m4_include([m4/protocol_binary.m4])
1916
+ m4_include([m4/setsockopt.m4])
1917
+ m4_include([m4/visibility.m4])