PATCH

David Relson relson at osagesoftware.com
Tue Nov 25 01:33:42 CET 2003


On Tue, 25 Nov 2003 01:05:45 +0100
Matthias Andree <matthias.andree at gmx.de> wrote:

> David Relson <relson at osagesoftware.com> writes:
> 
> > LIBS isn't used as much as it could be.  With LIBS=-lm, there's no
> > need for -lm in GSL_LIBS.  If linking bogofilter included both
> > GSL_LIBS and LIBS, then everything would be fine.
> >
> > Looking at configure, I don't see how the value for LIBS is
> > determined:-(
> 
> Implicitly, AC_CHECK_LIB and stuff. The idea is that not all programs
> actually need libm.so. If we stuff -lm into LIBS, every dumb program
> gets linked to libm.so whether it needs some math functions or not.
> 
> src/tests/deqp:
>         libm.so.6 => /lib/libm.so.6 (0x40034000)
>         libc.so.6 => /lib/libc.so.6 (0x40056000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> 
> Doesn't look right to me. Hence GSL_LIBS.

Maybe the variable name should be changed for clarity.  How about
MATH_LIBS??




More information about the Bogofilter mailing list