X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=configure.ac;h=d6557f5ee43ab8540afc87c9b4fbb6bf2cb8894b;hb=48fb6edebc0e55ad793c40eff8b7a1e7880c9ca8;hp=c21395a335410f5069f70e1ec5e285fcaab856ba;hpb=a1fe8fd19bb4f558150e52c0624869667b739877;p=rrdtool.git diff --git a/configure.ac b/configure.ac index c21395a..d6557f5 100644 --- a/configure.ac +++ b/configure.ac @@ -137,11 +137,11 @@ char *strchr (), *strrchr (); dnl Define library subdirectory names here. -CGI_LIB_DIR=libraries/cgilib-0.4 -FREETYPE_LIB_DIR=libraries/freetype-2.0.5 -ART_LIB_DIR=libraries/libart_lgpl-2.3.7 -PNG_LIB_DIR=libraries/libpng-1.2.0 -ZLIB_LIB_DIR=libraries/zlib-1.1.3 +CGI_LIB_DIR=cgilib-0.4 +FREETYPE_LIB_DIR=freetype-2.0.5 +ART_LIB_DIR=libart_lgpl-2.3.7 +PNG_LIB_DIR=libpng-1.2.0 +ZLIB_LIB_DIR=zlib-1.1.4 dnl substitute them in all the files listed in AC_OUTPUT AC_SUBST(CGI_LIB_DIR) @@ -151,6 +151,12 @@ AC_SUBST(FREETYPE_LIB_DIR) AC_SUBST(ZLIB_LIB_DIR) AC_SUBST(PERLFLAGS) +INCLUDED_LIB(cgi,cgiInit) +INCLUDED_LIB(art_lgpl,art_vpath_add_point) +INCLUDED_LIB(png,png_access_version_number) +INCLUDED_LIB(freetype,FT_Init_FreeType) +INCLUDED_LIB(z,zlibVersion) + dnl Check for Perl. AC_PATH_PROG(PERL, perl, no) if test "x$PERL" = "xno"; then @@ -224,7 +230,7 @@ AC_PROG_LIBTOOL dnl Checks for header files. AC_HEADER_STDC -AC_CHECK_HEADERS(fcntl.h fp_class.h malloc.h unistd.h ieeefp.h math.h sys/time.h sys/times.h sys/param.h sys/resource.h float.h) +AC_CHECK_HEADERS(fcntl.h time.h locale.h fp_class.h malloc.h unistd.h ieeefp.h math.h sys/time.h sys/times.h sys/param.h sys/resource.h float.h) dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST @@ -272,7 +278,7 @@ AC_FUNC_VPRINTF dnl for each function found we get a definition in config.h dnl of the form HAVE_FUNCTION -AC_CHECK_FUNCS(strerror snprintf vsnprintf fpclass class fp_class isnan memmove strchr mktime getrusage gettimeofday) +AC_CHECK_FUNCS(tzset setlocale strerror snprintf vsnprintf fpclass class fp_class isnan memmove strchr mktime getrusage gettimeofday) dnl HP-UX 11.00 does not have finite but does have isfinite as a macro AC_CHECK_FUNCS(fpclassify, , @@ -439,8 +445,9 @@ AC_CONFIG_FILES([examples/shared-demo.pl \ libraries/cgilib-0.4/Makefile \ libraries/libart_lgpl-2.3.7/Makefile \ libraries/libpng-1.2.0/Makefile \ - libraries/zlib-1.1.3/Makefile \ + libraries/zlib-1.1.4/Makefile \ libraries/freetype-2.0.5/Makefile \ + libraries/afm/Makefile \ src/Makefile \ bindings/Makefile \ bindings/tcl/Makefile \