libmemcached/libmemcached.la
libmemcached/libmemcached_config.h
libmemcached/libmemcached_config.h.in
+libmemcached/memcached_configure.h
libmemcached/md5.lo
libmemcached/memcached.lo
libmemcached/memcached_analyze.lo
sinclude(m4/setsockopt.m4)
sinclude(m4/hsieh.m4)
sinclude(m4/util.m4)
+sinclude(m4/deprecated.m4)
dnl This is likely subverted by vpath builds. How do we find the original
dnl source dir in the configure step of a vpath build?
tests/Makefile
docs/Makefile
libmemcached/Makefile
+ libmemcached/memcached_configure.h
libmemcachedutil/Makefile
support/Makefile
support/libmemcached.pc
-EXTRA_DIST = libmemcached_probes.d memcached/README.txt libmemcached.ver
+EXTRA_DIST = libmemcached_probes.d memcached/README.txt libmemcached.ver \
+ memcached_configure.h.in
BUILT_SOURCES= @DTRACE_HEADER@
#ifdef MEMCACHED_INTERNAL
#include <libmemcached/libmemcached_config.h>
#endif
+#include <libmemcached/memcached_configure.h>
#include <libmemcached/memcached_constants.h>
#include <libmemcached/memcached_types.h>
#include <libmemcached/memcached_watchpoint.h>
--- /dev/null
+/*
+ * Summary: Preprocessor symbols set from configure we need install-time
+ *
+ * Copy: See Copyright for the status of this software.
+ *
+ * Author: Trond Norbye
+ */
+
+#ifndef MEMCACHED_CONFIGURE_H
+#define MEMCACHED_CONFIGURE_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+@DEPRECATED@
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* MEMCACHED_CONFIGURE_H */
--- /dev/null
+dnl ---------------------------------------------------------------------------
+dnl Macro: deprecated
+dnl ---------------------------------------------------------------------------
+AC_ARG_ENABLE([deprecated],
+ [AS_HELP_STRING([--enable-deprecated],
+ [Enable deprecated interface @<:@default=off@:>@])],
+ [ac_enable_deprecated="$enableval"],
+ [ac_enable_deprecated="no"])
+
+if test "x$ac_enable_deprecated" = "xyes"
+then
+ DEPRECATED="#define MEMCACHED_ENABLE_DEPRECATED 1"
+fi
+
+AC_SUBST(DEPRECATED)
+dnl ---------------------------------------------------------------------------
+dnl End Macro: deprecated
+dnl ---------------------------------------------------------------------------