Add the LDFLAGS for -lm(floorf)
authorYin Chen <subdragon@gmail.com>
Thu, 7 Aug 2008 04:00:43 +0000 (12:00 +0800)
committerYin Chen <subdragon@gmail.com>
Thu, 7 Aug 2008 04:00:43 +0000 (12:00 +0800)
configure.ac

index a168929ae455519106d31e730a7a4a6e5e0ee9e9..f6dd9b63b4df6742ad53d3fc52bea93a268b40f8 100644 (file)
@@ -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