From 287801be4c5cae39d48cab3a0f4c8235d3ae363d Mon Sep 17 00:00:00 2001 From: Trond Norbye Date: Fri, 13 Mar 2009 11:24:51 +0100 Subject: [PATCH] The clients and test programs should not be compiled with MEMCACHED_INTERNAL defined --- configure.ac | 1 - libmemcached/Makefile.am | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 515502f1..03f9f58c 100644 --- a/configure.ac +++ b/configure.ac @@ -66,7 +66,6 @@ sinclude(config/memcached.m4) sinclude(config/setsockopt.m4) # We only support GCC and Sun's forte at the moment -CFLAGS="-DMEMCACHED_INTERNAL $CFLAGS" if test "$GCC" = "yes" then #CFLAGS="-W -std=iso9899:1999 -Wall -Wextra -Wstrict-aliasing -pedantic -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -O3 $CFLAGS" diff --git a/libmemcached/Makefile.am b/libmemcached/Makefile.am index 8e5f85c5..74a5bbe2 100644 --- a/libmemcached/Makefile.am +++ b/libmemcached/Makefile.am @@ -67,6 +67,7 @@ if BUILD_BYTEORDER libmemcached_la_SOURCES += byteorder.c endif +AM_CFLAGS = -DMEMCACHED_INTERNAL libmemcached_la_DEPENDENCIES = @DTRACE_OBJ@ libmemcached_la_LIBADD = @DTRACE_OBJ@ libmemcached_la_LDFLAGS = -version-info $(MEMCACHED_LIBRARY_VERSION) -- 2.30.2