On Fri, Mar 5, 2010 at 12:43 PM, Dejan Muhamedagic <[email protected]> wrote:
> Hi,
>
> On Fri, Mar 05, 2010 at 10:41:54AM +0100, Florian Haas wrote:
>> Dejan,
>>
>> these are some warnings we get during a Debian build of cluster glue. Is
>> there anything that can/should be done to fix those apparently needless
>> library dependencies?
>
> Here is the culprit:
>
> AC_CHECK_LIB(bz2, BZ2_bzBuffToBuffCompress)
>
> After this macro, the LIBS variable is updated to contain -lbz2.
>
> Now, one possible solution would be to use the macro only to
> check if the library exists, but not to change LIBS:
>
> AC_CHECK_LIB(bz2, BZ2_bzBuffToBuffCompress, [])
>
> Then to add libraries as needed for the targets in Makefiles.
>
> It should be done, but don't know how much effort would that be.

Doesn't seem worth it to be honest.
But if someone wants to go to the effort...
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to