[build] Move gthr to toplevel libgcc

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Mon Aug 8 15:56:00 GMT 2011


Paolo Bonzini <bonzini@gnu.org> writes:

> On 08/08/2011 05:51 PM, Rainer Orth wrote:
>>>>     libgfortran/acinclude.m4 (LIBGFOR_GTHREAD_WEAK) tries to determine a
>>>>      sensible value.
>>>
>>>  I think libgfortran's approach is the nicest to be added in
>>>  libgcc/configure.ac.
>>
>> I'm not convinced: when it was introduced (or used more extensively), I
>> was already bitten by the fact that the GTHREAD_USE_WEAK test uses a
>> hardcoded list, instead of really checking what it is meant to test:
>> support for weak definitions.  Perhaps the autoconf-archive macro is
>> better in this respect.
>
> I was talking in general about the approach, not the implementation. :)

I see.  You're right, of course: it's much better to test for the
feature than keep lists of targets supporting it :-)

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University



More information about the Fortran mailing list