From: Tobias Oetiker Date: Thu, 28 Aug 2003 21:48:53 +0000 (+0000) Subject: make sure we get only 1 flag -- Chris Turbeville X-Git-Tag: 1.2rc1~122 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7d63565f9bd019cfe09b2e20a2d99cc90fda4e38;p=thirdparty%2Frrdtool-1.x.git make sure we get only 1 flag -- Chris Turbeville git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@212 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/configure.ac b/configure.ac index afe8e4d0..bbed6da3 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