[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: |
Tue, 11 Dec 2001 14:26:19 +0100 |
User-agent: |
Mutt/1.2.5i |
On Mon, Dec 10, 2001 at 01:17:06PM -0500, Steven G. Johnson wrote:
[...]
> Hmm, how about the following instead:
>
> ac_f77_v_output="`echo $ac_f77_v_output |
> grep 'LPATH is:' |
> sed 's,.*\(LPATH is: *[^ ]*\).*,\1,;s,: */, -L/,g'` $ac_f77_v_output"
>
> (This way, it doesn't transform any : to -L after the LPATH line.)
Yes it works. You could remove `LPATH is' from ac_f77_v_output (but
keep colon) with
sed 's,.*LPATH is\(: *[^ ]*\).*,\1,;s,: */, -L/,g'` $ac_f77_v_output"
Thanks for your time.
Denis