From: Trond Norbye Date: Fri, 13 Mar 2009 10:24:51 +0000 (+0100) Subject: The clients and test programs should not be compiled with MEMCACHED_INTERNAL defined X-Git-Tag: 0.27~14 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=287801be4c5cae39d48cab3a0f4c8235d3ae363d;p=m6w6%2Flibmemcached The clients and test programs should not be compiled with MEMCACHED_INTERNAL defined --- 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)