PATCH
David Relson
relson at osagesoftware.com
Mon Nov 24 23:31:09 CET 2003
On Mon, 24 Nov 2003 23:21:47 +0100
Torsten Veller <ml-en at veller.net> wrote:
> * Matthias Andree <matthias.andree at gmx.de>:
> > Torsten Veller <ml-en at veller.net> writes:
> >
> > > If gsl is not installed:
> > >
> > > grep GSL src/Makefile
> > > GSL_CFLAGS =
> > > GSL_CONFIG = no
> > > GSL_LIBS = libbf_gsl.a
> > > [...]
> > >
> > > So, as David suggested, i added -lm to GSL_LIBS and bogofilter
> > > compiles fine.
> >
> > How about this patch?
>
> Yes, it compiles. But it doesnot seem to be perfect.
> I think '-lm' should be in LIBS?!
> Have a look...
Torsten,
I agree.
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
:-(
David
More information about the Bogofilter
mailing list