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,7 +1,8 @@
1
- # generated automatically by aclocal 1.11 -*- Autoconf -*-
1
+ # generated automatically by aclocal 1.11.3 -*- Autoconf -*-
2
2
 
3
3
  # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
- # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
4
+ # 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
5
+ # Inc.
5
6
  # This file is free software; the Free Software Foundation
6
7
  # gives unlimited permission to copy and/or distribute it,
7
8
  # with or without modifications, as long as this notice is preserved.
@@ -13,18 +14,21 @@
13
14
 
14
15
  m4_ifndef([AC_AUTOCONF_VERSION],
15
16
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16
- m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.64],,
17
- [m4_warning([this file was generated for autoconf 2.64.
17
+ m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
18
+ [m4_warning([this file was generated for autoconf 2.68.
18
19
  You have another version of autoconf. It may work, but is not guaranteed to.
19
20
  If you have problems, you may need to regenerate the build system entirely.
20
21
  To do so, use the procedure documented by the package, typically `autoreconf'.])])
21
22
 
22
- # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
23
+ # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
24
+ # Foundation, Inc.
23
25
  #
24
26
  # This file is free software; the Free Software Foundation
25
27
  # gives unlimited permission to copy and/or distribute it,
26
28
  # with or without modifications, as long as this notice is preserved.
27
29
 
30
+ # serial 1
31
+
28
32
  # AM_AUTOMAKE_VERSION(VERSION)
29
33
  # ----------------------------
30
34
  # Automake X.Y traces this macro to ensure aclocal.m4 has been
@@ -34,7 +38,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION],
34
38
  [am__api_version='1.11'
35
39
  dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
36
40
  dnl require some minimum version. Point them to the right macro.
37
- m4_if([$1], [1.11], [],
41
+ m4_if([$1], [1.11.3], [],
38
42
  [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
39
43
  ])
40
44
 
@@ -50,19 +54,21 @@ m4_define([_AM_AUTOCONF_VERSION], [])
50
54
  # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
51
55
  # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
52
56
  AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
53
- [AM_AUTOMAKE_VERSION([1.11])dnl
57
+ [AM_AUTOMAKE_VERSION([1.11.3])dnl
54
58
  m4_ifndef([AC_AUTOCONF_VERSION],
55
59
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
56
60
  _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
57
61
 
58
62
  # AM_AUX_DIR_EXPAND -*- Autoconf -*-
59
63
 
60
- # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
64
+ # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
61
65
  #
62
66
  # This file is free software; the Free Software Foundation
63
67
  # gives unlimited permission to copy and/or distribute it,
64
68
  # with or without modifications, as long as this notice is preserved.
65
69
 
70
+ # serial 1
71
+
66
72
  # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
67
73
  # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
68
74
  # `$srcdir', `$srcdir/..', or `$srcdir/../..'.
@@ -144,14 +150,14 @@ AC_CONFIG_COMMANDS_PRE(
144
150
  Usually this means the macro was only invoked conditionally.]])
145
151
  fi])])
146
152
 
147
- # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
148
- # Free Software Foundation, Inc.
153
+ # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
154
+ # 2010, 2011 Free Software Foundation, Inc.
149
155
  #
150
156
  # This file is free software; the Free Software Foundation
151
157
  # gives unlimited permission to copy and/or distribute it,
152
158
  # with or without modifications, as long as this notice is preserved.
153
159
 
154
- # serial 10
160
+ # serial 12
155
161
 
156
162
  # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
157
163
  # written in clear, in which case automake, when reading aclocal.m4,
@@ -191,6 +197,7 @@ AC_CACHE_CHECK([dependency style of $depcc],
191
197
  # instance it was reported that on HP-UX the gcc test will end up
192
198
  # making a dummy file named `D' -- because `-MD' means `put the output
193
199
  # in D'.
200
+ rm -rf conftest.dir
194
201
  mkdir conftest.dir
195
202
  # Copy depcomp to subdir because otherwise we won't find it if we're
196
203
  # using a relative directory.
@@ -255,7 +262,7 @@ AC_CACHE_CHECK([dependency style of $depcc],
255
262
  break
256
263
  fi
257
264
  ;;
258
- msvisualcpp | msvcmsys)
265
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
259
266
  # This compiler won't grok `-c -o', but also, the minuso test has
260
267
  # not run yet. These depmodes are late enough in the game, and
261
268
  # so weak that their functioning should not be impacted.
@@ -320,10 +327,13 @@ AC_DEFUN([AM_DEP_TRACK],
320
327
  if test "x$enable_dependency_tracking" != xno; then
321
328
  am_depcomp="$ac_aux_dir/depcomp"
322
329
  AMDEPBACKSLASH='\'
330
+ am__nodep='_no'
323
331
  fi
324
332
  AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
325
333
  AC_SUBST([AMDEPBACKSLASH])dnl
326
334
  _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
335
+ AC_SUBST([am__nodep])dnl
336
+ _AM_SUBST_NOTMAKE([am__nodep])dnl
327
337
  ])
328
338
 
329
339
  # Generate code to set up dependency tracking. -*- Autoconf -*-
@@ -545,12 +555,15 @@ for _am_header in $config_headers :; do
545
555
  done
546
556
  echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
547
557
 
548
- # Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
558
+ # Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
559
+ # Inc.
549
560
  #
550
561
  # This file is free software; the Free Software Foundation
551
562
  # gives unlimited permission to copy and/or distribute it,
552
563
  # with or without modifications, as long as this notice is preserved.
553
564
 
565
+ # serial 1
566
+
554
567
  # AM_PROG_INSTALL_SH
555
568
  # ------------------
556
569
  # Define $install_sh.
@@ -682,12 +695,15 @@ else
682
695
  fi
683
696
  ])
684
697
 
685
- # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
698
+ # Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
699
+ # Inc.
686
700
  #
687
701
  # This file is free software; the Free Software Foundation
688
702
  # gives unlimited permission to copy and/or distribute it,
689
703
  # with or without modifications, as long as this notice is preserved.
690
704
 
705
+ # serial 1
706
+
691
707
  # AM_PROG_MKDIR_P
692
708
  # ---------------
693
709
  # Check for `mkdir -p'.
@@ -710,13 +726,14 @@ esac
710
726
 
711
727
  # Helper functions for option handling. -*- Autoconf -*-
712
728
 
713
- # Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
729
+ # Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
730
+ # Foundation, Inc.
714
731
  #
715
732
  # This file is free software; the Free Software Foundation
716
733
  # gives unlimited permission to copy and/or distribute it,
717
734
  # with or without modifications, as long as this notice is preserved.
718
735
 
719
- # serial 4
736
+ # serial 5
720
737
 
721
738
  # _AM_MANGLE_OPTION(NAME)
722
739
  # -----------------------
@@ -724,13 +741,13 @@ AC_DEFUN([_AM_MANGLE_OPTION],
724
741
  [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
725
742
 
726
743
  # _AM_SET_OPTION(NAME)
727
- # ------------------------------
744
+ # --------------------
728
745
  # Set option NAME. Presently that only means defining a flag for this option.
729
746
  AC_DEFUN([_AM_SET_OPTION],
730
747
  [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
731
748
 
732
749
  # _AM_SET_OPTIONS(OPTIONS)
733
- # ----------------------------------
750
+ # ------------------------
734
751
  # OPTIONS is a space-separated list of Automake options.
735
752
  AC_DEFUN([_AM_SET_OPTIONS],
736
753
  [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
@@ -806,12 +823,14 @@ Check your system clock])
806
823
  fi
807
824
  AC_MSG_RESULT(yes)])
808
825
 
809
- # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
826
+ # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
810
827
  #
811
828
  # This file is free software; the Free Software Foundation
812
829
  # gives unlimited permission to copy and/or distribute it,
813
830
  # with or without modifications, as long as this notice is preserved.
814
831
 
832
+ # serial 1
833
+
815
834
  # AM_PROG_INSTALL_STRIP
816
835
  # ---------------------
817
836
  # One issue with vendor `install' (even GNU) is that you can't
@@ -834,13 +853,13 @@ fi
834
853
  INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
835
854
  AC_SUBST([INSTALL_STRIP_PROGRAM])])
836
855
 
837
- # Copyright (C) 2006, 2008 Free Software Foundation, Inc.
856
+ # Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
838
857
  #
839
858
  # This file is free software; the Free Software Foundation
840
859
  # gives unlimited permission to copy and/or distribute it,
841
860
  # with or without modifications, as long as this notice is preserved.
842
861
 
843
- # serial 2
862
+ # serial 3
844
863
 
845
864
  # _AM_SUBST_NOTMAKE(VARIABLE)
846
865
  # ---------------------------
@@ -849,13 +868,13 @@ AC_SUBST([INSTALL_STRIP_PROGRAM])])
849
868
  AC_DEFUN([_AM_SUBST_NOTMAKE])
850
869
 
851
870
  # AM_SUBST_NOTMAKE(VARIABLE)
852
- # ---------------------------
871
+ # --------------------------
853
872
  # Public sister of _AM_SUBST_NOTMAKE.
854
873
  AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
855
874
 
856
875
  # Check how to create a tarball. -*- Autoconf -*-
857
876
 
858
- # Copyright (C) 2004, 2005 Free Software Foundation, Inc.
877
+ # Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
859
878
  #
860
879
  # This file is free software; the Free Software Foundation
861
880
  # gives unlimited permission to copy and/or distribute it,
@@ -877,10 +896,11 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
877
896
  # a tarball read from stdin.
878
897
  # $(am__untar) < result.tar
879
898
  AC_DEFUN([_AM_PROG_TAR],
880
- [# Always define AMTAR for backward compatibility.
881
- AM_MISSING_PROG([AMTAR], [tar])
899
+ [# Always define AMTAR for backward compatibility. Yes, it's still used
900
+ # in the wild :-( We should find a proper way to deprecate it ...
901
+ AC_SUBST([AMTAR], ['$${TAR-tar}'])
882
902
  m4_if([$1], [v7],
883
- [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
903
+ [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
884
904
  [m4_case([$1], [ustar],, [pax],,
885
905
  [m4_fatal([Unknown tar format])])
886
906
  AC_MSG_CHECKING([how to create a $1 tar archive])