[rrd-developers] CVS problem with Solaris9 and libtool

Chris Turbeville turbo at verio.net
Thu Aug 28 16:15:53 MEST 2003

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 @@
 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'`
 dnl it seems that hpux chockes on -fPIC for some reason

its not gracefull but it might help some.
cturbeville at verio.net           Chris Turbeville                       NTT/VERIO
       Send mail with subject "send PGP Key" for PGP 6.5.2 Public key

Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the rrd-developers mailing list