X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=configure.ac;h=2b0ac0a3960e2e7c5d82056b38f9d10ade6e8fbe;hb=3645e647825396693c46a4de5d9e45dfde54dabd;hp=5fc2c6c73c5e186cbbeaadda3f6df2200290b336;hpb=b77f874c7d7ff386d01eeedb44c14d3003354bae;p=awesomized%2Flibmemcached diff --git a/configure.ac b/configure.ac index 5fc2c6c7..2b0ac0a3 100644 --- a/configure.ac +++ b/configure.ac @@ -52,17 +52,23 @@ AC_SUBST(MEMCACHED_LIBRARY_VERSION) HASHKIT_LIBRARY_VERSION=1:0:0 AC_SUBST(HASHKIT_LIBRARY_VERSION) -LT_INIT +LT_PREREQ([2.2]) +LT_INIT() +LT_LANG([C++]) +LT_LANG([C]) +gl_VISIBILITY + m4_include([m4/memcached.m4]) m4_include([m4/memcached_sasl.m4]) +m4_include([m4/gearmand.m4]) AM_CONDITIONAL(BUILDING_LIBMEMCACHED, true) AM_CONDITIONAL(HAVE_LIBMEMCACHED, false) -AC_SUBST(_WITH_LIBMEMCACHED_SUPPORT, ["_WITH_LIBMEMCACHED_SUPPORT 1"]) +AC_DEFINE([HAVE_LIBMEMCACHED], [1], [Enables libmemcached Support]) AM_CONDITIONAL(BUILDING_GEARMAN, false) AM_CONDITIONAL(HAVE_LIBGEARMAN, false) -AC_SUBST(_WITH_LIBGEARMAN_SUPPORT, ["_WITH_LIBGEARMAN_SUPPORT 0"]) +AC_DEFINE([HAVE_LIBGEARMAN], [0], [Enables libgearman Support]) AC_SEARCH_LIBS(getopt_long, gnugetopt) AC_SEARCH_LIBS(gethostbyname, nsl) @@ -79,7 +85,7 @@ case "$target_os" in esac dnl Specialty checks -ACX_PTHREAD +AX_PTHREAD CONFIG_EXTRA DETECT_BYTEORDER ENABLE_UTILLIB