On Sep 14, 2006, at 12:12 AM, Ralf Wildenhues wrote:
* 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.
I don't think we need to worry about that as the test is specific to
gcc. However I'll think about it more tomorrow when I hack at it,
bedtime here now :)
Peter
_______________________________________________
Bug-libtool mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-libtool