nutcracker 0.2.4.1 → 0.2.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. data/README.md +28 -10
  2. data/Rakefile +5 -19
  3. data/bin/nutcracker +6 -1
  4. data/ext/nutcracker/ChangeLog +9 -0
  5. data/ext/nutcracker/Makefile.in +54 -29
  6. data/ext/nutcracker/README.md +13 -11
  7. data/ext/nutcracker/aclocal.m4 +46 -26
  8. data/ext/nutcracker/config/config.guess +209 -240
  9. data/ext/nutcracker/config/config.sub +157 -70
  10. data/ext/nutcracker/config/depcomp +66 -8
  11. data/ext/nutcracker/config/install-sh +18 -11
  12. data/ext/nutcracker/config/ltmain.sh +2632 -1384
  13. data/ext/nutcracker/config/missing +4 -49
  14. data/ext/nutcracker/configure +2866 -2118
  15. data/ext/nutcracker/configure.ac +1 -1
  16. data/ext/nutcracker/contrib/Makefile.in +17 -10
  17. data/ext/nutcracker/m4/libtool.m4 +1437 -812
  18. data/ext/nutcracker/m4/ltoptions.m4 +24 -8
  19. data/ext/nutcracker/m4/ltversion.m4 +6 -6
  20. data/ext/nutcracker/m4/lt~obsolete.m4 +9 -3
  21. data/ext/nutcracker/notes/recommendation.md +21 -2
  22. data/ext/nutcracker/notes/redis.md +9 -9
  23. data/ext/nutcracker/scripts/redis-check.sh +9 -0
  24. data/ext/nutcracker/src/Makefile.in +18 -11
  25. data/ext/nutcracker/src/hashkit/Makefile.am +1 -0
  26. data/ext/nutcracker/src/hashkit/Makefile.in +23 -13
  27. data/ext/nutcracker/src/hashkit/nc_crc16.c +66 -0
  28. data/ext/nutcracker/src/hashkit/nc_hashkit.h +2 -0
  29. data/ext/nutcracker/src/hashkit/nc_modula.c +18 -6
  30. data/ext/nutcracker/src/nc_conf.c +14 -35
  31. data/ext/nutcracker/src/nc_conf.h +1 -1
  32. data/ext/nutcracker/src/nc_message.h +2 -0
  33. data/ext/nutcracker/src/nc_server.c +9 -7
  34. data/ext/nutcracker/src/proto/Makefile.in +16 -9
  35. data/ext/nutcracker/src/proto/nc_redis.c +17 -4
  36. data/lib/nutcracker/version.rb +1 -1
  37. data/lib/nutcracker.rb +60 -2
  38. metadata +3 -2
@@ -1,10 +1,10 @@
1
1
  #! /bin/sh
2
2
  # Common stub for a few missing GNU programs while installing.
3
3
 
4
- scriptversion=2009-04-28.21; # UTC
4
+ scriptversion=2012-01-06.13; # UTC
5
5
 
6
6
  # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
7
- # 2008, 2009 Free Software Foundation, Inc.
7
+ # 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
8
8
  # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
9
9
 
10
10
  # This program is free software; you can redistribute it and/or modify
@@ -84,7 +84,6 @@ Supported PROGRAM values:
84
84
  help2man touch the output file
85
85
  lex create \`lex.yy.c', if possible, from existing .c
86
86
  makeinfo touch the output file
87
- tar try tar, gnutar, gtar, then tar without non-portable flags
88
87
  yacc create \`y.tab.[ch]', if possible, from existing .[ch]
89
88
 
90
89
  Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
@@ -122,15 +121,6 @@ case $1 in
122
121
  # Not GNU programs, they don't have --version.
123
122
  ;;
124
123
 
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
124
  *)
135
125
  if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
136
126
  # We have it, but it failed.
@@ -226,7 +216,7 @@ WARNING: \`$1' $msg. You should only need it if
226
216
  \`Bison' from any GNU archive site."
227
217
  rm -f y.tab.c y.tab.h
228
218
  if test $# -ne 1; then
229
- eval LASTARG="\${$#}"
219
+ eval LASTARG=\${$#}
230
220
  case $LASTARG in
231
221
  *.y)
232
222
  SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
@@ -256,7 +246,7 @@ WARNING: \`$1' is $msg. You should only need it if
256
246
  \`Flex' from any GNU archive site."
257
247
  rm -f lex.yy.c
258
248
  if test $# -ne 1; then
259
- eval LASTARG="\${$#}"
249
+ eval LASTARG=\${$#}
260
250
  case $LASTARG in
261
251
  *.l)
262
252
  SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
@@ -318,41 +308,6 @@ WARNING: \`$1' is $msg. You should only need it if
318
308
  touch $file
319
309
  ;;
320
310
 
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
311
  *)
357
312
  echo 1>&2 "\
358
313
  WARNING: \`$1' is needed, and is $msg.