X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=configure.ac;h=bbed6da35c940ded82375f051af5c9e6242e4e18;hb=087ab4a457489d797e3d25c978a2682ea8cf512e;hp=7b7155e9813f67f5f4654308e251d2e1358aa6a2;hpb=c495962e877c1b02e632329bae902088801aad3c;p=rrdtool.git diff --git a/configure.ac b/configure.ac index 7b7155e..bbed6da 100644 --- a/configure.ac +++ b/configure.ac @@ -261,7 +261,7 @@ if test "x$GCC" = "xyes"; then fi dnl add pic flag in any case this makes sure all our code is relocatable -CFLAGS="$CFLAGS "`grep pic_flag= libtool | sed -e 's/.*pic_flag=//' -e 's/"//g'` +CFLAGS="$CFLAGS "`grep pic_flag= libtool | head -1|sed -e 's/.*pic_flag=//' -e 's/"//g'` ZLIB_CFLAGS=$CFLAGS dnl it seems that hpux chockes on -fPIC for some reason @@ -279,7 +279,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(tzset opendir readdir chdir chroot getuid setlocale strerror snprintf vsnprintf fpclass class fp_class isnan memmove strchr mktime getrusage gettimeofday) +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) dnl HP-UX 11.00 does not have finite but does have isfinite as a macro AC_CHECK_FUNCS(fpclassify, ,