summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 84aa7ec)
raw | patch | inline | side by side (parent: 84aa7ec)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 28 Aug 2003 21:48:53 +0000 (21:48 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 28 Aug 2003 21:48:53 +0000 (21:48 +0000) |
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index afe8e4d0298370ff7d8b5428651651d42148718e..bbed6da35c940ded82375f051af5c9e6242e4e18 100644 (file)
--- a/configure.ac
+++ b/configure.ac
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