vinted-memcached 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (210) hide show
  1. checksums.yaml +7 -0
  2. data/BENCHMARKS +142 -0
  3. data/CHANGELOG +176 -0
  4. data/Gemfile +11 -0
  5. data/Gemfile.lock +45 -0
  6. data/LICENSE +184 -0
  7. data/Manifest +209 -0
  8. data/README.rdoc +124 -0
  9. data/Rakefile +134 -0
  10. data/TODO +1 -0
  11. data/ext/extconf-make.rb +25 -0
  12. data/ext/extconf.rb +78 -0
  13. data/ext/libmemcached-0.32/AUTHORS +7 -0
  14. data/ext/libmemcached-0.32/COPYING +32 -0
  15. data/ext/libmemcached-0.32/ChangeLog +303 -0
  16. data/ext/libmemcached-0.32/INSTALL +302 -0
  17. data/ext/libmemcached-0.32/Makefile.am +36 -0
  18. data/ext/libmemcached-0.32/Makefile.in +911 -0
  19. data/ext/libmemcached-0.32/NEWS +1 -0
  20. data/ext/libmemcached-0.32/README +33 -0
  21. data/ext/libmemcached-0.32/THANKS +14 -0
  22. data/ext/libmemcached-0.32/TODO +11 -0
  23. data/ext/libmemcached-0.32/aclocal.m4 +2108 -0
  24. data/ext/libmemcached-0.32/clients/Makefile.am +80 -0
  25. data/ext/libmemcached-0.32/clients/Makefile.in +773 -0
  26. data/ext/libmemcached-0.32/clients/client_options.h +32 -0
  27. data/ext/libmemcached-0.32/clients/execute.c +64 -0
  28. data/ext/libmemcached-0.32/clients/execute.h +5 -0
  29. data/ext/libmemcached-0.32/clients/generator.c +74 -0
  30. data/ext/libmemcached-0.32/clients/generator.h +20 -0
  31. data/ext/libmemcached-0.32/clients/memcat.c +178 -0
  32. data/ext/libmemcached-0.32/clients/memcp.c +251 -0
  33. data/ext/libmemcached-0.32/clients/memdump.c +170 -0
  34. data/ext/libmemcached-0.32/clients/memerror.c +80 -0
  35. data/ext/libmemcached-0.32/clients/memflush.c +143 -0
  36. data/ext/libmemcached-0.32/clients/memrm.c +160 -0
  37. data/ext/libmemcached-0.32/clients/memslap.c +441 -0
  38. data/ext/libmemcached-0.32/clients/memstat.c +326 -0
  39. data/ext/libmemcached-0.32/clients/utilities.c +207 -0
  40. data/ext/libmemcached-0.32/clients/utilities.h +41 -0
  41. data/ext/libmemcached-0.32/config/compile +143 -0
  42. data/ext/libmemcached-0.32/config/config.guess +1561 -0
  43. data/ext/libmemcached-0.32/config/config.rpath +666 -0
  44. data/ext/libmemcached-0.32/config/config.sub +1686 -0
  45. data/ext/libmemcached-0.32/config/depcomp +630 -0
  46. data/ext/libmemcached-0.32/config/install-sh +520 -0
  47. data/ext/libmemcached-0.32/config/ltmain.sh +9636 -0
  48. data/ext/libmemcached-0.32/config/missing +376 -0
  49. data/ext/libmemcached-0.32/config.h.in +254 -0
  50. data/ext/libmemcached-0.32/configure +23843 -0
  51. data/ext/libmemcached-0.32/configure.ac +120 -0
  52. data/ext/libmemcached-0.32/libmemcached/Makefile.am +111 -0
  53. data/ext/libmemcached-0.32/libmemcached/Makefile.in +1069 -0
  54. data/ext/libmemcached-0.32/libmemcached/byteorder.c +31 -0
  55. data/ext/libmemcached-0.32/libmemcached/common.h +189 -0
  56. data/ext/libmemcached-0.32/libmemcached/crc.c +86 -0
  57. data/ext/libmemcached-0.32/libmemcached/hsieh_hash.c +68 -0
  58. data/ext/libmemcached-0.32/libmemcached/jenkins_hash.c +213 -0
  59. data/ext/libmemcached-0.32/libmemcached/libmemcached.ver +1 -0
  60. data/ext/libmemcached-0.32/libmemcached/libmemcached_probes.d +30 -0
  61. data/ext/libmemcached-0.32/libmemcached/libmemcached_probes.h +82 -0
  62. data/ext/libmemcached-0.32/libmemcached/md5.c +354 -0
  63. data/ext/libmemcached-0.32/libmemcached/memcached/README.txt +7 -0
  64. data/ext/libmemcached-0.32/libmemcached/memcached/protocol_binary.h +385 -0
  65. data/ext/libmemcached-0.32/libmemcached/memcached.c +153 -0
  66. data/ext/libmemcached-0.32/libmemcached/memcached.h +305 -0
  67. data/ext/libmemcached-0.32/libmemcached/memcached.hpp +799 -0
  68. data/ext/libmemcached-0.32/libmemcached/memcached_allocators.c +72 -0
  69. data/ext/libmemcached-0.32/libmemcached/memcached_analyze.c +100 -0
  70. data/ext/libmemcached-0.32/libmemcached/memcached_auto.c +207 -0
  71. data/ext/libmemcached-0.32/libmemcached/memcached_behavior.c +290 -0
  72. data/ext/libmemcached-0.32/libmemcached/memcached_callback.c +175 -0
  73. data/ext/libmemcached-0.32/libmemcached/memcached_configure.h.in +23 -0
  74. data/ext/libmemcached-0.32/libmemcached/memcached_connect.c +371 -0
  75. data/ext/libmemcached-0.32/libmemcached/memcached_constants.h +146 -0
  76. data/ext/libmemcached-0.32/libmemcached/memcached_delete.c +0 -0
  77. data/ext/libmemcached-0.32/libmemcached/memcached_do.c +72 -0
  78. data/ext/libmemcached-0.32/libmemcached/memcached_dump.c +79 -0
  79. data/ext/libmemcached-0.32/libmemcached/memcached_exist.c +114 -0
  80. data/ext/libmemcached-0.32/libmemcached/memcached_exist.h +20 -0
  81. data/ext/libmemcached-0.32/libmemcached/memcached_fetch.c +102 -0
  82. data/ext/libmemcached-0.32/libmemcached/memcached_flush.c +89 -0
  83. data/ext/libmemcached-0.32/libmemcached/memcached_flush_buffers.c +23 -0
  84. data/ext/libmemcached-0.32/libmemcached/memcached_get.c +494 -0
  85. data/ext/libmemcached-0.32/libmemcached/memcached_get.h +87 -0
  86. data/ext/libmemcached-0.32/libmemcached/memcached_hash.c +252 -0
  87. data/ext/libmemcached-0.32/libmemcached/memcached_hosts.c +510 -0
  88. data/ext/libmemcached-0.32/libmemcached/memcached_internal.h +31 -0
  89. data/ext/libmemcached-0.32/libmemcached/memcached_io.c +594 -0
  90. data/ext/libmemcached-0.32/libmemcached/memcached_io.h +72 -0
  91. data/ext/libmemcached-0.32/libmemcached/memcached_key.c +28 -0
  92. data/ext/libmemcached-0.32/libmemcached/memcached_parse.c +74 -0
  93. data/ext/libmemcached-0.32/libmemcached/memcached_pool.h +38 -0
  94. data/ext/libmemcached-0.32/libmemcached/memcached_purge.c +76 -0
  95. data/ext/libmemcached-0.32/libmemcached/memcached_quit.c +75 -0
  96. data/ext/libmemcached-0.32/libmemcached/memcached_response.c +529 -0
  97. data/ext/libmemcached-0.32/libmemcached/memcached_result.c +57 -0
  98. data/ext/libmemcached-0.32/libmemcached/memcached_result.h +59 -0
  99. data/ext/libmemcached-0.32/libmemcached/memcached_sasl.c +225 -0
  100. data/ext/libmemcached-0.32/libmemcached/memcached_sasl.h +44 -0
  101. data/ext/libmemcached-0.32/libmemcached/memcached_server.c +159 -0
  102. data/ext/libmemcached-0.32/libmemcached/memcached_server.h +93 -0
  103. data/ext/libmemcached-0.32/libmemcached/memcached_stats.c +437 -0
  104. data/ext/libmemcached-0.32/libmemcached/memcached_storage.c +514 -0
  105. data/ext/libmemcached-0.32/libmemcached/memcached_storage.h +107 -0
  106. data/ext/libmemcached-0.32/libmemcached/memcached_strerror.c +92 -0
  107. data/ext/libmemcached-0.32/libmemcached/memcached_string.c +138 -0
  108. data/ext/libmemcached-0.32/libmemcached/memcached_string.h +53 -0
  109. data/ext/libmemcached-0.32/libmemcached/memcached_touch.c +60 -0
  110. data/ext/libmemcached-0.32/libmemcached/memcached_touch.h +31 -0
  111. data/ext/libmemcached-0.32/libmemcached/memcached_types.h +44 -0
  112. data/ext/libmemcached-0.32/libmemcached/memcached_util.h +15 -0
  113. data/ext/libmemcached-0.32/libmemcached/memcached_verbosity.c +36 -0
  114. data/ext/libmemcached-0.32/libmemcached/memcached_version.c +112 -0
  115. data/ext/libmemcached-0.32/libmemcached/memcached_watchpoint.h +38 -0
  116. data/ext/libmemcached-0.32/libmemcached/murmur_hash.c +76 -0
  117. data/ext/libmemcached-0.32/libmemcached/visibility.h +51 -0
  118. data/ext/libmemcached-0.32/libmemcachedutil/Makefile.am +11 -0
  119. data/ext/libmemcached-0.32/libmemcachedutil/Makefile.in +604 -0
  120. data/ext/libmemcached-0.32/libmemcachedutil/libmemcachedutil.ver +1 -0
  121. data/ext/libmemcached-0.32/libmemcachedutil/memcached_pool.c +170 -0
  122. data/ext/libmemcached-0.32/m4/ac_cxx_compile_stdcxx_0x.m4 +103 -0
  123. data/ext/libmemcached-0.32/m4/ac_cxx_header_stdcxx_98.m4 +67 -0
  124. data/ext/libmemcached-0.32/m4/acx_pthread.m4 +276 -0
  125. data/ext/libmemcached-0.32/m4/byteorder.m4 +40 -0
  126. data/ext/libmemcached-0.32/m4/deprecated.m4 +17 -0
  127. data/ext/libmemcached-0.32/m4/enable_utillib.m4 +16 -0
  128. data/ext/libmemcached-0.32/m4/extensions.m4 +94 -0
  129. data/ext/libmemcached-0.32/m4/hsieh.m4 +18 -0
  130. data/ext/libmemcached-0.32/m4/lib-prefix.m4 +221 -0
  131. data/ext/libmemcached-0.32/m4/libtool.m4 +7831 -0
  132. data/ext/libmemcached-0.32/m4/ltoptions.m4 +369 -0
  133. data/ext/libmemcached-0.32/m4/ltsugar.m4 +123 -0
  134. data/ext/libmemcached-0.32/m4/ltversion.m4 +23 -0
  135. data/ext/libmemcached-0.32/m4/lt~obsolete.m4 +98 -0
  136. data/ext/libmemcached-0.32/m4/memcached.m4 +30 -0
  137. data/ext/libmemcached-0.32/m4/pandora_64bit.m4 +55 -0
  138. data/ext/libmemcached-0.32/m4/pandora_canonical.m4 +151 -0
  139. data/ext/libmemcached-0.32/m4/pandora_check_compiler_version.m4 +37 -0
  140. data/ext/libmemcached-0.32/m4/pandora_check_cxx_standard.m4 +16 -0
  141. data/ext/libmemcached-0.32/m4/pandora_enable_dtrace.m4 +41 -0
  142. data/ext/libmemcached-0.32/m4/pandora_ensure_gcc_version.m4 +36 -0
  143. data/ext/libmemcached-0.32/m4/pandora_have_better_malloc.m4 +54 -0
  144. data/ext/libmemcached-0.32/m4/pandora_have_sasl.m4 +133 -0
  145. data/ext/libmemcached-0.32/m4/pandora_header_assert.m4 +23 -0
  146. data/ext/libmemcached-0.32/m4/pandora_libtool.m4 +15 -0
  147. data/ext/libmemcached-0.32/m4/pandora_optimize.m4 +79 -0
  148. data/ext/libmemcached-0.32/m4/pandora_shared_ptr.m4 +56 -0
  149. data/ext/libmemcached-0.32/m4/pandora_vc_build.m4 +32 -0
  150. data/ext/libmemcached-0.32/m4/pandora_warnings.m4 +262 -0
  151. data/ext/libmemcached-0.32/m4/pod2man.m4 +7 -0
  152. data/ext/libmemcached-0.32/m4/protocol_binary.m4 +23 -0
  153. data/ext/libmemcached-0.32/m4/setsockopt.m4 +57 -0
  154. data/ext/libmemcached-0.32/m4/visibility.m4 +52 -0
  155. data/ext/libmemcached-0.32/support/Makefile.am +4 -0
  156. data/ext/libmemcached-0.32/support/Makefile.in +487 -0
  157. data/ext/libmemcached-0.32/support/libmemcached-fc.spec.in +105 -0
  158. data/ext/libmemcached-0.32/support/libmemcached.pc.in +10 -0
  159. data/ext/libmemcached-0.32/support/libmemcached.spec +105 -0
  160. data/ext/libmemcached-0.32/support/libmemcached.spec.in +105 -0
  161. data/ext/libmemcached-0.32/support/set_benchmark.sh +5 -0
  162. data/ext/libmemcached-0.32/tests/Makefile.am +113 -0
  163. data/ext/libmemcached-0.32/tests/Makefile.in +762 -0
  164. data/ext/libmemcached-0.32/tests/atomsmasher.c +245 -0
  165. data/ext/libmemcached-0.32/tests/function.c +4904 -0
  166. data/ext/libmemcached-0.32/tests/ketama_test_cases.h +108 -0
  167. data/ext/libmemcached-0.32/tests/output.cmp +7 -0
  168. data/ext/libmemcached-0.32/tests/output.res +7 -0
  169. data/ext/libmemcached-0.32/tests/output2.res +46 -0
  170. data/ext/libmemcached-0.32/tests/plus.cpp +293 -0
  171. data/ext/libmemcached-0.32/tests/r/memcat.res +19 -0
  172. data/ext/libmemcached-0.32/tests/r/memcp.res +27 -0
  173. data/ext/libmemcached-0.32/tests/r/memrm.res +19 -0
  174. data/ext/libmemcached-0.32/tests/r/memslap.res +33 -0
  175. data/ext/libmemcached-0.32/tests/r/memstat.res +33 -0
  176. data/ext/libmemcached-0.32/tests/server.c +118 -0
  177. data/ext/libmemcached-0.32/tests/server.h +25 -0
  178. data/ext/libmemcached-0.32/tests/start.c +16 -0
  179. data/ext/libmemcached-0.32/tests/t/memcat.test +4 -0
  180. data/ext/libmemcached-0.32/tests/t/memcp.test +3 -0
  181. data/ext/libmemcached-0.32/tests/t/memrm.test +3 -0
  182. data/ext/libmemcached-0.32/tests/t/memslap.test +5 -0
  183. data/ext/libmemcached-0.32/tests/t/memstat.test +3 -0
  184. data/ext/libmemcached-0.32/tests/test.c +137 -0
  185. data/ext/libmemcached-0.32/tests/test.h +46 -0
  186. data/ext/libmemcached-0.32/tests/udp.c +76 -0
  187. data/ext/rlibmemcached.i +258 -0
  188. data/ext/rlibmemcached_wrap.c +13917 -0
  189. data/lib/memcached/auth.rb +16 -0
  190. data/lib/memcached/behaviors.rb +78 -0
  191. data/lib/memcached/exceptions.rb +84 -0
  192. data/lib/memcached/experimental.rb +48 -0
  193. data/lib/memcached/marshal_codec.rb +10 -0
  194. data/lib/memcached/memcached.rb +732 -0
  195. data/lib/memcached/rails.rb +250 -0
  196. data/lib/memcached.rb +33 -0
  197. data/memcached.gemspec +0 -0
  198. data/test/profile/benchmark.rb +280 -0
  199. data/test/profile/c_profiler.rb +14 -0
  200. data/test/profile/exercise.rb +185 -0
  201. data/test/profile/rb_profiler.rb +21 -0
  202. data/test/profile/valgrind.rb +10 -0
  203. data/test/setup.rb +30 -0
  204. data/test/teardown.rb +0 -0
  205. data/test/test_helper.rb +18 -0
  206. data/test/unit/binding_test.rb +8 -0
  207. data/test/unit/memcached_experimental_test.rb +272 -0
  208. data/test/unit/memcached_test.rb +1487 -0
  209. data/test/unit/rails_test.rb +330 -0
  210. metadata +336 -0
@@ -0,0 +1,376 @@
1
+ #! /bin/sh
2
+ # Common stub for a few missing GNU programs while installing.
3
+
4
+ scriptversion=2009-04-28.21; # UTC
5
+
6
+ # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
7
+ # 2008, 2009 Free Software Foundation, Inc.
8
+ # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
9
+
10
+ # This program is free software; you can redistribute it and/or modify
11
+ # it under the terms of the GNU General Public License as published by
12
+ # the Free Software Foundation; either version 2, or (at your option)
13
+ # any later version.
14
+
15
+ # This program is distributed in the hope that it will be useful,
16
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
17
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
+ # GNU General Public License for more details.
19
+
20
+ # You should have received a copy of the GNU General Public License
21
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
22
+
23
+ # As a special exception to the GNU General Public License, if you
24
+ # distribute this file as part of a program that contains a
25
+ # configuration script generated by Autoconf, you may include it under
26
+ # the same distribution terms that you use for the rest of that program.
27
+
28
+ if test $# -eq 0; then
29
+ echo 1>&2 "Try \`$0 --help' for more information"
30
+ exit 1
31
+ fi
32
+
33
+ run=:
34
+ sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
35
+ sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
36
+
37
+ # In the cases where this matters, `missing' is being run in the
38
+ # srcdir already.
39
+ if test -f configure.ac; then
40
+ configure_ac=configure.ac
41
+ else
42
+ configure_ac=configure.in
43
+ fi
44
+
45
+ msg="missing on your system"
46
+
47
+ case $1 in
48
+ --run)
49
+ # Try to run requested program, and just exit if it succeeds.
50
+ run=
51
+ shift
52
+ "$@" && exit 0
53
+ # Exit code 63 means version mismatch. This often happens
54
+ # when the user try to use an ancient version of a tool on
55
+ # a file that requires a minimum version. In this case we
56
+ # we should proceed has if the program had been absent, or
57
+ # if --run hadn't been passed.
58
+ if test $? = 63; then
59
+ run=:
60
+ msg="probably too old"
61
+ fi
62
+ ;;
63
+
64
+ -h|--h|--he|--hel|--help)
65
+ echo "\
66
+ $0 [OPTION]... PROGRAM [ARGUMENT]...
67
+
68
+ Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
69
+ error status if there is no known handling for PROGRAM.
70
+
71
+ Options:
72
+ -h, --help display this help and exit
73
+ -v, --version output version information and exit
74
+ --run try to run the given command, and emulate it if it fails
75
+
76
+ Supported PROGRAM values:
77
+ aclocal touch file \`aclocal.m4'
78
+ autoconf touch file \`configure'
79
+ autoheader touch file \`config.h.in'
80
+ autom4te touch the output file, or create a stub one
81
+ automake touch all \`Makefile.in' files
82
+ bison create \`y.tab.[ch]', if possible, from existing .[ch]
83
+ flex create \`lex.yy.c', if possible, from existing .c
84
+ help2man touch the output file
85
+ lex create \`lex.yy.c', if possible, from existing .c
86
+ makeinfo touch the output file
87
+ tar try tar, gnutar, gtar, then tar without non-portable flags
88
+ yacc create \`y.tab.[ch]', if possible, from existing .[ch]
89
+
90
+ Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
91
+ \`g' are ignored when checking the name.
92
+
93
+ Send bug reports to <bug-automake@gnu.org>."
94
+ exit $?
95
+ ;;
96
+
97
+ -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
98
+ echo "missing $scriptversion (GNU Automake)"
99
+ exit $?
100
+ ;;
101
+
102
+ -*)
103
+ echo 1>&2 "$0: Unknown \`$1' option"
104
+ echo 1>&2 "Try \`$0 --help' for more information"
105
+ exit 1
106
+ ;;
107
+
108
+ esac
109
+
110
+ # normalize program name to check for.
111
+ program=`echo "$1" | sed '
112
+ s/^gnu-//; t
113
+ s/^gnu//; t
114
+ s/^g//; t'`
115
+
116
+ # Now exit if we have it, but it failed. Also exit now if we
117
+ # don't have it and --version was passed (most likely to detect
118
+ # the program). This is about non-GNU programs, so use $1 not
119
+ # $program.
120
+ case $1 in
121
+ lex*|yacc*)
122
+ # Not GNU programs, they don't have --version.
123
+ ;;
124
+
125
+ tar*)
126
+ if test -n "$run"; then
127
+ echo 1>&2 "ERROR: \`tar' requires --run"
128
+ exit 1
129
+ elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
130
+ exit 1
131
+ fi
132
+ ;;
133
+
134
+ *)
135
+ if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
136
+ # We have it, but it failed.
137
+ exit 1
138
+ elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
139
+ # Could not run --version or --help. This is probably someone
140
+ # running `$TOOL --version' or `$TOOL --help' to check whether
141
+ # $TOOL exists and not knowing $TOOL uses missing.
142
+ exit 1
143
+ fi
144
+ ;;
145
+ esac
146
+
147
+ # If it does not exist, or fails to run (possibly an outdated version),
148
+ # try to emulate it.
149
+ case $program in
150
+ aclocal*)
151
+ echo 1>&2 "\
152
+ WARNING: \`$1' is $msg. You should only need it if
153
+ you modified \`acinclude.m4' or \`${configure_ac}'. You might want
154
+ to install the \`Automake' and \`Perl' packages. Grab them from
155
+ any GNU archive site."
156
+ touch aclocal.m4
157
+ ;;
158
+
159
+ autoconf*)
160
+ echo 1>&2 "\
161
+ WARNING: \`$1' is $msg. You should only need it if
162
+ you modified \`${configure_ac}'. You might want to install the
163
+ \`Autoconf' and \`GNU m4' packages. Grab them from any GNU
164
+ archive site."
165
+ touch configure
166
+ ;;
167
+
168
+ autoheader*)
169
+ echo 1>&2 "\
170
+ WARNING: \`$1' is $msg. You should only need it if
171
+ you modified \`acconfig.h' or \`${configure_ac}'. You might want
172
+ to install the \`Autoconf' and \`GNU m4' packages. Grab them
173
+ from any GNU archive site."
174
+ files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
175
+ test -z "$files" && files="config.h"
176
+ touch_files=
177
+ for f in $files; do
178
+ case $f in
179
+ *:*) touch_files="$touch_files "`echo "$f" |
180
+ sed -e 's/^[^:]*://' -e 's/:.*//'`;;
181
+ *) touch_files="$touch_files $f.in";;
182
+ esac
183
+ done
184
+ touch $touch_files
185
+ ;;
186
+
187
+ automake*)
188
+ echo 1>&2 "\
189
+ WARNING: \`$1' is $msg. You should only need it if
190
+ you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
191
+ You might want to install the \`Automake' and \`Perl' packages.
192
+ Grab them from any GNU archive site."
193
+ find . -type f -name Makefile.am -print |
194
+ sed 's/\.am$/.in/' |
195
+ while read f; do touch "$f"; done
196
+ ;;
197
+
198
+ autom4te*)
199
+ echo 1>&2 "\
200
+ WARNING: \`$1' is needed, but is $msg.
201
+ You might have modified some files without having the
202
+ proper tools for further handling them.
203
+ You can get \`$1' as part of \`Autoconf' from any GNU
204
+ archive site."
205
+
206
+ file=`echo "$*" | sed -n "$sed_output"`
207
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
208
+ if test -f "$file"; then
209
+ touch $file
210
+ else
211
+ test -z "$file" || exec >$file
212
+ echo "#! /bin/sh"
213
+ echo "# Created by GNU Automake missing as a replacement of"
214
+ echo "# $ $@"
215
+ echo "exit 0"
216
+ chmod +x $file
217
+ exit 1
218
+ fi
219
+ ;;
220
+
221
+ bison*|yacc*)
222
+ echo 1>&2 "\
223
+ WARNING: \`$1' $msg. You should only need it if
224
+ you modified a \`.y' file. You may need the \`Bison' package
225
+ in order for those modifications to take effect. You can get
226
+ \`Bison' from any GNU archive site."
227
+ rm -f y.tab.c y.tab.h
228
+ if test $# -ne 1; then
229
+ eval LASTARG="\${$#}"
230
+ case $LASTARG in
231
+ *.y)
232
+ SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
233
+ if test -f "$SRCFILE"; then
234
+ cp "$SRCFILE" y.tab.c
235
+ fi
236
+ SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
237
+ if test -f "$SRCFILE"; then
238
+ cp "$SRCFILE" y.tab.h
239
+ fi
240
+ ;;
241
+ esac
242
+ fi
243
+ if test ! -f y.tab.h; then
244
+ echo >y.tab.h
245
+ fi
246
+ if test ! -f y.tab.c; then
247
+ echo 'main() { return 0; }' >y.tab.c
248
+ fi
249
+ ;;
250
+
251
+ lex*|flex*)
252
+ echo 1>&2 "\
253
+ WARNING: \`$1' is $msg. You should only need it if
254
+ you modified a \`.l' file. You may need the \`Flex' package
255
+ in order for those modifications to take effect. You can get
256
+ \`Flex' from any GNU archive site."
257
+ rm -f lex.yy.c
258
+ if test $# -ne 1; then
259
+ eval LASTARG="\${$#}"
260
+ case $LASTARG in
261
+ *.l)
262
+ SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
263
+ if test -f "$SRCFILE"; then
264
+ cp "$SRCFILE" lex.yy.c
265
+ fi
266
+ ;;
267
+ esac
268
+ fi
269
+ if test ! -f lex.yy.c; then
270
+ echo 'main() { return 0; }' >lex.yy.c
271
+ fi
272
+ ;;
273
+
274
+ help2man*)
275
+ echo 1>&2 "\
276
+ WARNING: \`$1' is $msg. You should only need it if
277
+ you modified a dependency of a manual page. You may need the
278
+ \`Help2man' package in order for those modifications to take
279
+ effect. You can get \`Help2man' from any GNU archive site."
280
+
281
+ file=`echo "$*" | sed -n "$sed_output"`
282
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
283
+ if test -f "$file"; then
284
+ touch $file
285
+ else
286
+ test -z "$file" || exec >$file
287
+ echo ".ab help2man is required to generate this page"
288
+ exit $?
289
+ fi
290
+ ;;
291
+
292
+ makeinfo*)
293
+ echo 1>&2 "\
294
+ WARNING: \`$1' is $msg. You should only need it if
295
+ you modified a \`.texi' or \`.texinfo' file, or any other file
296
+ indirectly affecting the aspect of the manual. The spurious
297
+ call might also be the consequence of using a buggy \`make' (AIX,
298
+ DU, IRIX). You might want to install the \`Texinfo' package or
299
+ the \`GNU make' package. Grab either from any GNU archive site."
300
+ # The file to touch is that specified with -o ...
301
+ file=`echo "$*" | sed -n "$sed_output"`
302
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
303
+ if test -z "$file"; then
304
+ # ... or it is the one specified with @setfilename ...
305
+ infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
306
+ file=`sed -n '
307
+ /^@setfilename/{
308
+ s/.* \([^ ]*\) *$/\1/
309
+ p
310
+ q
311
+ }' $infile`
312
+ # ... or it is derived from the source name (dir/f.texi becomes f.info)
313
+ test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
314
+ fi
315
+ # If the file does not exist, the user really needs makeinfo;
316
+ # let's fail without touching anything.
317
+ test -f $file || exit 1
318
+ touch $file
319
+ ;;
320
+
321
+ tar*)
322
+ shift
323
+
324
+ # We have already tried tar in the generic part.
325
+ # Look for gnutar/gtar before invocation to avoid ugly error
326
+ # messages.
327
+ if (gnutar --version > /dev/null 2>&1); then
328
+ gnutar "$@" && exit 0
329
+ fi
330
+ if (gtar --version > /dev/null 2>&1); then
331
+ gtar "$@" && exit 0
332
+ fi
333
+ firstarg="$1"
334
+ if shift; then
335
+ case $firstarg in
336
+ *o*)
337
+ firstarg=`echo "$firstarg" | sed s/o//`
338
+ tar "$firstarg" "$@" && exit 0
339
+ ;;
340
+ esac
341
+ case $firstarg in
342
+ *h*)
343
+ firstarg=`echo "$firstarg" | sed s/h//`
344
+ tar "$firstarg" "$@" && exit 0
345
+ ;;
346
+ esac
347
+ fi
348
+
349
+ echo 1>&2 "\
350
+ WARNING: I can't seem to be able to run \`tar' with the given arguments.
351
+ You may want to install GNU tar or Free paxutils, or check the
352
+ command line arguments."
353
+ exit 1
354
+ ;;
355
+
356
+ *)
357
+ echo 1>&2 "\
358
+ WARNING: \`$1' is needed, and is $msg.
359
+ You might have modified some files without having the
360
+ proper tools for further handling them. Check the \`README' file,
361
+ it often tells you about the needed prerequisites for installing
362
+ this package. You may also peek at any GNU archive site, in case
363
+ some other package would contain this missing \`$1' program."
364
+ exit 1
365
+ ;;
366
+ esac
367
+
368
+ exit 0
369
+
370
+ # Local variables:
371
+ # eval: (add-hook 'write-file-hooks 'time-stamp)
372
+ # time-stamp-start: "scriptversion="
373
+ # time-stamp-format: "%:y-%02m-%02d.%02H"
374
+ # time-stamp-time-zone: "UTC"
375
+ # time-stamp-end: "; # UTC"
376
+ # End:
@@ -0,0 +1,254 @@
1
+ /* config.h.in. Generated from configure.ac by autoheader. */
2
+
3
+ /* Define if building universal (internal helper macro) */
4
+ #undef AC_APPLE_UNIVERSAL_BUILD
5
+
6
+ /* Enable big endian byteorder */
7
+ #undef BYTEORDER_BIG_ENDIAN
8
+
9
+ /* Enable little endian byteorder */
10
+ #undef BYTEORDER_LITTLE_ENDIAN
11
+
12
+ /* Define to 1 if you have the <assert.h> header file. */
13
+ #undef HAVE_ASSERT_H
14
+
15
+ /* Define to 1 if you have the <boost/shared_ptr.hpp> header file. */
16
+ #undef HAVE_BOOST_SHARED_PTR_HPP
17
+
18
+ /* Define to 1 if you have the <dlfcn.h> header file. */
19
+ #undef HAVE_DLFCN_H
20
+
21
+ /* Enables DTRACE Support */
22
+ #undef HAVE_DTRACE
23
+
24
+ /* Enables hsieh hashing support */
25
+ #undef HAVE_HSIEH_HASH
26
+
27
+ /* Have ntohll */
28
+ #undef HAVE_HTONLL
29
+
30
+ /* Define to 1 if you have the <inttypes.h> header file. */
31
+ #undef HAVE_INTTYPES_H
32
+
33
+ /* Define to 1 if you have the `c_p' library (-lc_p). */
34
+ #undef HAVE_LIBC_P
35
+
36
+ /* Enables libmemcachedutil Support */
37
+ #undef HAVE_LIBMEMCACHEDUTIL
38
+
39
+ /* Define to 1 if you have the `mtmalloc' library (-lmtmalloc). */
40
+ #undef HAVE_LIBMTMALLOC
41
+
42
+ /* Define if you have the libsasl library. */
43
+ #undef HAVE_LIBSASL
44
+
45
+ /* Define if you have the libsasl2 library. */
46
+ #undef HAVE_LIBSASL2
47
+
48
+ /* Define to 1 if you have the `tcmalloc' library (-ltcmalloc). */
49
+ #undef HAVE_LIBTCMALLOC
50
+
51
+ /* Define to 1 if you have the `tcmalloc-minimal' library
52
+ (-ltcmalloc-minimal). */
53
+ #undef HAVE_LIBTCMALLOC_MINIMAL
54
+
55
+ /* Define to 1 if you have the `umem' library (-lumem). */
56
+ #undef HAVE_LIBUMEM
57
+
58
+ /* Define to 1 if your system has a GNU libc compatible `malloc' function, and
59
+ to 0 otherwise. */
60
+ #undef HAVE_MALLOC
61
+
62
+ /* Define to 1 if you have the <memory> header file. */
63
+ #undef HAVE_MEMORY
64
+
65
+ /* Define to 1 if you have the <memory.h> header file. */
66
+ #undef HAVE_MEMORY_H
67
+
68
+ /* Define if you have POSIX threads libraries and header files. */
69
+ #undef HAVE_PTHREAD
70
+
71
+ /* Define to 1 if you have a working SO_RCVTIMEO */
72
+ #undef HAVE_RCVTIMEO
73
+
74
+ /* Define to 1 if your system has a GNU libc compatible `realloc' function,
75
+ and to 0 otherwise. */
76
+ #undef HAVE_REALLOC
77
+
78
+ /* Define to 1 if you have a working SO_SNDTIMEO */
79
+ #undef HAVE_SNDTIMEO
80
+
81
+ /* Define if g++ supports C++0x features. */
82
+ #undef HAVE_STDCXX_0X
83
+
84
+ /* Define to 1 if you have the <stdint.h> header file. */
85
+ #undef HAVE_STDINT_H
86
+
87
+ /* Define to 1 if you have the <stdlib.h> header file. */
88
+ #undef HAVE_STDLIB_H
89
+
90
+ /* Define to 1 if you have the <strings.h> header file. */
91
+ #undef HAVE_STRINGS_H
92
+
93
+ /* Define to 1 if you have the <string.h> header file. */
94
+ #undef HAVE_STRING_H
95
+
96
+ /* Define to 1 if you have the <sys/stat.h> header file. */
97
+ #undef HAVE_SYS_STAT_H
98
+
99
+ /* Define to 1 if you have the <sys/types.h> header file. */
100
+ #undef HAVE_SYS_TYPES_H
101
+
102
+ /* Define to 1 if you have the <tr1/memory> header file. */
103
+ #undef HAVE_TR1_MEMORY
104
+
105
+ /* Define to 1 if you have the <unistd.h> header file. */
106
+ #undef HAVE_UNISTD_H
107
+
108
+ /* Define to 1 or 0, depending whether the compiler supports simple visibility
109
+ declarations. */
110
+ #undef HAVE_VISIBILITY
111
+
112
+ /* Define to the sub-directory in which libtool stores uninstalled libraries.
113
+ */
114
+ #undef LT_OBJDIR
115
+
116
+ /* Name of the memcached binary used in make test */
117
+ #undef MEMCACHED_BINARY
118
+
119
+ /* Define to 1 if assertions should be disabled. */
120
+ #undef NDEBUG
121
+
122
+ /* Name of package */
123
+ #undef PACKAGE
124
+
125
+ /* Define to the address where bug reports for this package should be sent. */
126
+ #undef PACKAGE_BUGREPORT
127
+
128
+ /* Define to the full name of this package. */
129
+ #undef PACKAGE_NAME
130
+
131
+ /* Define to the full name and version of this package. */
132
+ #undef PACKAGE_STRING
133
+
134
+ /* Define to the one symbol short name of this package. */
135
+ #undef PACKAGE_TARNAME
136
+
137
+ /* Define to the home page for this package. */
138
+ #undef PACKAGE_URL
139
+
140
+ /* Define to the version of this package. */
141
+ #undef PACKAGE_VERSION
142
+
143
+ /* Define to necessary symbol if this constant uses a non-standard name on
144
+ your system. */
145
+ #undef PTHREAD_CREATE_JOINABLE
146
+
147
+ /* The namespace in which SHARED_PTR can be found */
148
+ #undef SHARED_PTR_NAMESPACE
149
+
150
+ /* Define if ISO C++ 1998 header files are present. */
151
+ #undef STDCXX_98_HEADERS
152
+
153
+ /* Define to 1 if you have the ANSI C header files. */
154
+ #undef STDC_HEADERS
155
+
156
+ /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
157
+ #undef TIME_WITH_SYS_TIME
158
+
159
+ /* Version number of package */
160
+ #undef VERSION
161
+
162
+ /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
163
+ significant byte first (like Motorola and SPARC, unlike Intel). */
164
+ #if defined AC_APPLE_UNIVERSAL_BUILD
165
+ # if defined __BIG_ENDIAN__
166
+ # define WORDS_BIGENDIAN 1
167
+ # endif
168
+ #else
169
+ # ifndef WORDS_BIGENDIAN
170
+ # undef WORDS_BIGENDIAN
171
+ # endif
172
+ #endif
173
+
174
+ /* Enable large inode numbers on Mac OS X 10.5. */
175
+ #ifndef _DARWIN_USE_64_BIT_INODE
176
+ # define _DARWIN_USE_64_BIT_INODE 1
177
+ #endif
178
+
179
+ /* Number of bits in a file offset, on hosts where this is settable. */
180
+ #undef _FILE_OFFSET_BITS
181
+
182
+ /* Define for large files, on AIX-style hosts. */
183
+ #undef _LARGE_FILES
184
+
185
+ /* Define to 1 if on MINIX. */
186
+ #undef _MINIX
187
+
188
+ /* Define to 2 if the system does not provide POSIX.1 features except with
189
+ this defined. */
190
+ #undef _POSIX_1_SOURCE
191
+
192
+ /* Define to 1 if you need to in order for `stat' and other things to work. */
193
+ #undef _POSIX_SOURCE
194
+
195
+ /* Define to 500 only on HP-UX. */
196
+ #undef _XOPEN_SOURCE
197
+
198
+ /* Enable extensions on AIX 3, Interix. */
199
+ #ifndef _ALL_SOURCE
200
+ # undef _ALL_SOURCE
201
+ #endif
202
+ /* Enable GNU extensions on systems that have them. */
203
+ #ifndef _GNU_SOURCE
204
+ # undef _GNU_SOURCE
205
+ #endif
206
+ /* Enable threading extensions on Solaris. */
207
+ #ifndef _POSIX_PTHREAD_SEMANTICS
208
+ # undef _POSIX_PTHREAD_SEMANTICS
209
+ #endif
210
+ /* Enable extensions on HP NonStop. */
211
+ #ifndef _TANDEM_SOURCE
212
+ # undef _TANDEM_SOURCE
213
+ #endif
214
+ /* Enable general extensions on Solaris. */
215
+ #ifndef __EXTENSIONS__
216
+ # undef __EXTENSIONS__
217
+ #endif
218
+
219
+
220
+ /* Define to empty if `const' does not conform to ANSI C. */
221
+ #undef const
222
+
223
+ /* Define to `__inline__' or `__inline' if that's what the C compiler
224
+ calls it, or to nothing if 'inline' is not supported under any name. */
225
+ #ifndef __cplusplus
226
+ #undef inline
227
+ #endif
228
+
229
+ /* Define to rpl_malloc if the replacement function should be used. */
230
+ #undef malloc
231
+
232
+ /* Define to rpl_realloc if the replacement function should be used. */
233
+ #undef realloc
234
+
235
+ /* Define to the equivalent of the C99 'restrict' keyword, or to
236
+ nothing if this is not supported. Do not define if restrict is
237
+ supported directly. */
238
+ #undef restrict
239
+ /* Work around a bug in Sun C++: it does not support _Restrict or
240
+ __restrict__, even though the corresponding Sun C compiler ends up with
241
+ "#define restrict _Restrict" or "#define restrict __restrict__" in the
242
+ previous line. Perhaps some future version of Sun C++ will work with
243
+ restrict; if so, hopefully it defines __RESTRICT like Sun C does. */
244
+ #if defined __SUNPRO_CC && !defined __RESTRICT
245
+ # define _Restrict
246
+ # define __restrict__
247
+ #endif
248
+
249
+ /* Define to `unsigned int' if <sys/types.h> does not define. */
250
+ #undef size_t
251
+
252
+ /* Define to empty if the keyword `volatile' does not work. Warning: valid
253
+ code using `volatile' can become incorrect without. Disable with care. */
254
+ #undef volatile