* Peter O'Gorman wrote on Wed, Sep 13, 2006 at 04:55:11PM CEST:
On Sep 13, 2006, at 11:49 PM, Ralf Wildenhues wrote:
Only as a last resort, if you ask me. Other compilers love to
disguise as gcc, and Autoconf's AC_FC_LIBRARY_LDFLAGS is witness of
how helplessly maintenance-intensive an approach like the above is.
That's looking at all kinds of flags, in this case we're only
interested in -L.
Alright, feel free to give it a shot. From the Autoconf macro we know
that
-LANG:=* | -LIST:* | -LNO:*
should be ignored, for pathscale and some other compilers I have
forgotten now. Otherwise your awk script seems to work with PGI,
Intel, and PathScale.