Fixes condition where we were not correctly setting weighted vs not.
[m6w6/libmemcached] / configure.ac
index 89eeb23cc3d52e417f77a2d8d63c57654dfcbe55..588e1f6123df924f7f98e8f32082a95f32d702a0 100644 (file)
@@ -7,7 +7,7 @@
 # Use and distribution licensed under the BSD license.  See
 # the COPYING file in this directory for full text.
 
-AC_INIT([libmemcached],[1.0.7],[http://libmemcached.org/])
+AC_INIT([libmemcached],[1.0.8],[http://libmemcached.org/])
 
 AC_CONFIG_AUX_DIR(config)
 
@@ -293,6 +293,9 @@ fi
 
 AC_C_ENDIAN
 
+AX_CHECK_SOCK_CLOEXEC([AC_DEFINE([HAVE_SOCK_CLOEXEC], [1], [Check for SOCK_CLOEXEC.])],
+                       [AC_DEFINE([HAVE_SOCK_CLOEXEC], [0], [Check for SOCK_CLOEXEC.])])
+
 AC_CONFIG_FILES([
   Makefile
   docs/conf.py