X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=configure.ac;h=8482501635b22fec404b073f305f7df71da6f409;hb=1c19a4c8f01e04124caefc3394c19e00a4c5d78e;hp=763cf365b06ffa24b5e3daaa1d40dd39cdbc80d6;hpb=361a0fd38d7adf95847508f54c0bde9b3f98662e;p=rrdtool.git diff --git a/configure.ac b/configure.ac index 763cf36..8482501 100644 --- a/configure.ac +++ b/configure.ac @@ -6,7 +6,16 @@ dnl dnl Inspiration from http://autoconf-archive.cryp.to dnl tell automake the this script is for rrdtool +dnl the official version number is +dnl a.b.c AC_INIT([rrdtool],[1.2.8]) +dnl for testing a numberical version number comes handy +dnl the released version are +dnl a.bccc +dnl the devl versions will be something like +dnl a.b999yymmddhh +NUMVERS=1.2008 +AC_SUBST(NUMVERS) AC_CANONICAL_TARGET AM_INIT_AUTOMAKE AC_CONFIG_HEADERS([config.h]) @@ -166,10 +175,6 @@ AC_STRUCT_TM dnl Checks for libraries. AC_CHECK_FUNC(acos, , AC_CHECK_LIB(m, acos)) -dnl Use libiconv if we have one but fall back to libc otherwhise -AC_CHECK_LIB(iconv, iconv_open, , [ - AC_CHECK_FUNC(iconv_open,,) - ]) dnl add pic flag in any case this makes sure all our code is relocatable eval `./libtool --config | grep pic_flag` @@ -184,7 +189,7 @@ AC_C_BIGENDIAN dnl for each function found we get a definition in config.h dnl of the form HAVE_FUNCTION -AC_CHECK_FUNCS(tzset opendir readdir chdir chroot getuid setlocale strerror strerror_r snprintf vsnprintf fpclass class fp_class isnan memmove strchr mktime getrusage gettimeofday) +AC_CHECK_FUNCS(tzset mbstowcs opendir readdir chdir chroot getuid setlocale strerror strerror_r snprintf vsnprintf fpclass class fp_class isnan memmove strchr mktime getrusage gettimeofday) dnl Use mmap in rrd_update instead of seek+write AC_ARG_ENABLE([mmap],