diff options
Diffstat (limited to 'bfd/configure.in')
-rw-r--r-- | bfd/configure.in | 9 |
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 ;; |