X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=configure.ac;h=8264aff2451fb6edc2b1a23f1e9403c195e1cd1b;hb=42a7cc99572d9cf161e9db04f31e123b5431df10;hp=5d392ca3aef731f79a0c3f9ddd94501846192cc5;hpb=c9f472b091b351b206d34b9fa37e28b6d1e4202c;p=m6w6%2Flibmemcached diff --git a/configure.ac b/configure.ac index 5d392ca3..8264aff2 100644 --- a/configure.ac +++ b/configure.ac @@ -1,12 +1,13 @@ AC_INIT(src/memcat.c) AC_CONFIG_AUX_DIR(config) AM_CONFIG_HEADER(include/libmemcached_config.h) +AC_CANONICAL_SYSTEM MEMCACHED_LIBRARY_NAME=libmemcached #release versioning MEMCACHED_MAJOR_VERSION=0 -MEMCACHED_MINOR_VERSION=8 +MEMCACHED_MINOR_VERSION=14 MEMCACHED_MICRO_VERSION=0 #API version @@ -14,7 +15,7 @@ MEMCACHED_API_VERSION=1.0 AC_SUBST(MEMCACHED_API_VERSION) #shared library versioning -MEMCACHED_LIBRARY_VERSION=1:0:0 +MEMCACHED_LIBRARY_VERSION=2:0:0 # | | | # +------+ | +---+ # | | | @@ -36,7 +37,7 @@ MEMCACHED_RELEASE=$MEMCACHED_MAJOR_VERSION.$MEMCACHED_MINOR_VERSION AC_SUBST(MEMCACHED_RELEASE) AC_SUBST(MEMCACHED_VERSION) -VERSION=$MEMCACHED_VERSION +VERSION=$MEMCACHED_RELEASE AM_INIT_AUTOMAKE($PACKAGE, $VERSION, no-define) @@ -67,6 +68,7 @@ else fi AC_C_CONST +AC_HEADER_TIME AC_TYPE_SIZE_T -AC_CHECK_HEADERS(limits.h syslimits.h) -AC_OUTPUT(Makefile src/Makefile tests/Makefile docs/Makefile lib/Makefile include/Makefile support/Makefile support/libmemcached.pc) +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)