summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7fa6c92)
raw | patch | inline | side by side (parent: 7fa6c92)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Fri, 2 Mar 2001 22:48:39 +0000 (22:48 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Fri, 2 Mar 2001 22:48:39 +0000 (22:48 +0000) |
program/configure.in | patch | blob | history | |
program/libraries/zlib-1.1.3/Makefile.am | patch | blob | history |
diff --git a/program/configure.in b/program/configure.in
index 3466c45bde2ad284d2130d0ff29f83c197cd96b8..d8a27e754cd5cb56220fddbe4640a12edfc2b132 100644 (file)
--- a/program/configure.in
+++ b/program/configure.in
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
index 457db90e28cf3d9670f60d2d49eb18678c1f1a4e..6eda278d61687e2c832a5ad02584acc28f209404 100644 (file)
EXTRA_DIST= ChangeLog FAQ INDEX README README.rrdtool algorithm.txt zlib.dsp zlib.dsw zlib.3
+CFLAGS = $(ZLIB_CFLAGS)
+
noinst_LTLIBRARIES = librrd_z.la
librrd_z_la_SOURCES = \