X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=configure.in;h=d8a27e754cd5cb56220fddbe4640a12edfc2b132;hb=9460822de0482683f76ebcaf17c0e1ed5cee0000;hp=3466c45bde2ad284d2130d0ff29f83c197cd96b8;hpb=3bc985e40ca1f7cd9871b2dfb70583d8eabd4776;p=rrdtool.git diff --git a/configure.in b/configure.in index 3466c45..d8a27e7 100644 --- a/configure.in +++ b/configure.in @@ -148,12 +148,14 @@ 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'` +ZLIB_CFLAGS=$CFLAGS dnl it seems that hpux chockes on -fPIC for some reason case $target_os in *hpux*) - CLFAGS=`echo $CFLAGS|sed -e 's/-fPIC/-fpic/g'` + ZLIB_CFLAGS=`echo $CFLAGS|sed -e 's/-fPIC/-fpic/g'` ;; esac +AC_SUBST(ZLIB_CFLAGS) dnl Checks for library functions. AC_FUNC_STRFTIME