PATCH

Matthias Andree matthias.andree at gmx.de
Mon Nov 24 22:26:05 CET 2003


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?

Index: configure.ac
===================================================================
RCS file: /cvsroot/bogofilter/bogofilter/configure.ac,v
retrieving revision 1.194
diff -u -r1.194 configure.ac
--- configure.ac	24 Nov 2003 11:52:34 -0000
+++ configure.ac	24 Nov 2003 21:25:19 -0000
@@ -463,7 +463,7 @@
 AM_PATH_GSL(1.0, AC_DEFINE(HAVE_GSL_10,,[Define if you have GNU Scientific Library 1.0 or newer])
 need_my_gsl=0)
 if test "$need_my_gsl" = 1 ; then
-  GSL_LIBS="libbf_gsl.a"
+  GSL_LIBS="libbf_gsl.a -lm"
 fi
 
 PATH="$PATH_SAVED"

-- 
Matthias Andree

Encrypt your mail: my GnuPG key ID is 0x052E7D95




More information about the Bogofilter mailing list