Re: /bzr/squid3/trunk/ r10908: Convert compat library to a full library.

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 04 Oct 2010 01:08:28 +0000

On Sun, 03 Oct 2010 15:36:36 -0600, Alex Rousskov
<rousskov_at_measurement-factory.com> wrote:
> On 10/03/2010 08:42 AM, Amos Jeffries wrote:
>> ------------------------------------------------------------
>> revno: 10908
>> committer: Amos Jeffries<amosjeffries_at_squid-cache.org>
>> branch nick: trunk
>> timestamp: Sun 2010-10-03 08:42:04 -0600
>> message:
>> Convert compat library to a full library.
>>
>> To be linked with LIBOBJS requires full local library status.
>
> It looks like this and an earlier related change broke things on Centos

This was the fix for that earlier breakage.

The fails that are showing up now are previously overlooked bugs, where
$(COMPAT_LIB) was not being used by some of the test binaries. I'm
build-testing the fix for all those right now.

> and possibly elsewhere. Why do we need to link a library with LIBOBJS? I

> know we did that before, but perhaps that code was wrong/outdated?
>

It seems to be valid as per the autoconf 2.6* documentation. It's the
result of AC_REPLACE_FUNCS(). Using LIBOBJS requires linking with *_LIBADD
and that requires a library.

Of course there is likely a way to do it without involving LIBOBJS at all.
I'm happy to learn a better way if one is known.

Amos
Received on Mon Oct 04 2010 - 01:08:37 MDT

This archive was generated by hypermail 2.2.0 : Mon Oct 04 2010 - 12:00:03 MDT