aboutsummaryrefslogtreecommitdiff
path: root/bfd/configure.in
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-03-04 01:16:53 +0000
committerAlan Modra <amodra@gmail.com>2002-03-04 01:16:53 +0000
commitbb2a49f24718e0d5cb66144f31ac7e4ed3929fa7 (patch)
tree028b4904d60f5fdcbd8edcbe9bbd82ac72f2c96b /bfd/configure.in
parent6e9980f54df6cf81d20788b616b9e474b41f82d5 (diff)
downloadgdb-bb2a49f24718e0d5cb66144f31ac7e4ed3929fa7.zip
gdb-bb2a49f24718e0d5cb66144f31ac7e4ed3929fa7.tar.gz
gdb-bb2a49f24718e0d5cb66144f31ac7e4ed3929fa7.tar.bz2
* configure.in (WIN32LIBADD): Don't eval PICFLAG assignment.
* configure: Regenerate.
Diffstat (limited to 'bfd/configure.in')
-rw-r--r--bfd/configure.in9
1 files changed, 4 insertions, 5 deletions
diff --git a/bfd/configure.in b/bfd/configure.in
index c8e633b..a00ad5b 100644
--- a/bfd/configure.in
+++ b/bfd/configure.in
@@ -424,11 +424,10 @@ case "${host}" in
fi
;;
*)
- PICFLAG=
- changequote(,)dnl
- eval `grep "^[ ]*PICFLAG[ ]*=" ../libiberty/Makefile | sed -e "s/[ ]*//g"`
- changequote([,])dnl
- if test -n "$PICFLAG"; then
+changequote(,)dnl
+ x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | tail -1`
+changequote([,])dnl
+ if test -n "$x"; then
WIN32LIBADD="-L../libiberty/pic -liberty"
fi
;;