[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug fix for F77_LIBRARY_LDFLAGS
From: |
Denis Barbier |
Subject: |
Re: bug fix for F77_LIBRARY_LDFLAGS |
Date: |
Mon, 10 Dec 2001 11:58:51 +0100 |
User-agent: |
Mutt/1.2.5i |
On Sat, Dec 08, 2001 at 05:50:30PM -0500, Steven G. Johnson wrote:
> Hi, below is a fix for a problem reported by Denis Barbier some time ago:
>
> http://sources.redhat.com/ml/autoconf/2000-12/msg00233.html
[...]
> +ac_f77_v_output="$ac_f77_v_output `echo $ac_f77_v_output | egrep '^ *LPATH
> is:' | sed 's,: */, -L/,g'`"
Hi Steven,
there are several problems with your patch:
* in ac_f77_v_output, newlines are replaced by spaces, so grep fails
* when found, those extra flags must be included first
With the following line, your test does work on my HP-UX box:
ac_f77_v_output="`echo $ac_f77_v_output | grep 'LPATH is:' | sed -e
's,^.*LPATH is:,:,' -e 's,: */, -L/,g'` $ac_f77_v_output"
Denis