PATCH

Matthias Andree matthias.andree at gmx.de
Tue Nov 25 01:05:45 CET 2003


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.

-- 
Matthias Andree

Encrypt your mail: my GnuPG key ID is 0x052E7D95




More information about the Bogofilter mailing list