From: Yin Chen Date: Thu, 7 Aug 2008 04:00:43 +0000 (+0800) Subject: Add the LDFLAGS for -lm(floorf) X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=d976a805cfca54ab9f49896d24a54f385949b3cd;p=m6w6%2Flibmemcached Add the LDFLAGS for -lm(floorf) --- diff --git a/configure.ac b/configure.ac index a168929a..f6dd9b63 100644 --- a/configure.ac +++ b/configure.ac @@ -1,11 +1,6 @@ AC_INIT(clients/memcat.c) AC_CONFIG_AUX_DIR(config) -AM_CONFIG_HEADER(libmemcached/libmemcached_config.h) -AC_CANONICAL_SYSTEM - -MEMCACHED_LIBRARY_NAME=libmemcached - -#release versioning +AM_CONFIG_HEADER(libmemcached/libmemcached_config.h) AC_CANONICAL_SYSTEM MEMCACHED_LIBRARY_NAME=libmemcached #release versioning MEMCACHED_MAJOR_VERSION=0 MEMCACHED_MINOR_VERSION=22 MEMCACHED_MICRO_VERSION=0 @@ -69,6 +64,7 @@ else DTRACEFLAGS="$DTRACEFLAGS" fi +LDFLAGS="-lm" AC_C_CONST AC_HEADER_TIME AC_TYPE_SIZE_T