Portability patches from Kevin Dalley for Freebsd 4.0.
[awesomized/libmemcached] / configure.ac
index 76c28ede510e74b23e025771fb02d594cfdc2516..f052f5f02b35d04d2e613d341919a5197f3d34d4 100644 (file)
@@ -15,7 +15,7 @@ MEMCACHED_API_VERSION=1.0
 AC_SUBST(MEMCACHED_API_VERSION)
 
 #shared library versioning
-MEMCACHED_LIBRARY_VERSION=1:2:0
+MEMCACHED_LIBRARY_VERSION=2:2:1
 #                         | | |
 #                  +------+ | +---+
 #                  |        |     |
@@ -68,5 +68,7 @@ else
 fi
 
 AC_C_CONST
+AC_HEADER_TIME
 AC_TYPE_SIZE_T
+AC_SEARCH_LIBS(getopt_long, gnugetopt)
 AC_OUTPUT(Makefile src/Makefile tests/Makefile docs/Makefile lib/Makefile include/Makefile support/Makefile support/libmemcached.pc support/libmemcached.spec)