libtool has 3 lines of pic_flag= so configure.ac's:
CFLAGS="$CFLAGS "`grep pic_flag= libtool | sed -e 's/.*pic_flag=//' -e 's/"//g'`
Gets newlines in it. I've patched it to:
Index: program/configure.ac
===================================================================
RCS file: /usr/cvs/rrdtool/program/configure.ac,v
retrieving revision 1.13
diff -U3 -r1.13 configure.ac
--- program/configure.ac 13 Feb 2003 07:05:27 -0000 1.13
+++ program/configure.ac 28 Aug 2003 14:14:38 -0000
@@ -261,7 +261,7 @@
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
its not gracefull but it might help some.
-Chris
--
[EMAIL PROTECTED] Chris Turbeville NTT/VERIO
Send mail with subject "send PGP Key" for PGP 6.5.2 Public key
--
Unsubscribe mailto:[EMAIL PROTECTED]
Help mailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi