included-gsl patch
Torsten Veller
ml-en at veller.net
Tue Sep 6 02:22:03 CEST 2005
Hi,
attached is a patch for included-gsl check. I think it is correct.
--with-included-gsl --> need_my_gsl=2
--wihout-included-gsl or none --> need_my_gsl=1
It uses the included gsl if requested and
checks if the libs are installed, if either
--without or nothing is passed to configure.
If they don't exist, the included lib is used.
BTW: my gcc (4.0.1) thinks it should point out:
note: obsolete option -I- used, please use -iquote instead
-------------- next part --------------
--- configure.ac~ 2005-09-06 01:52:58.000000000 +0200
+++ configure.ac 2005-09-06 01:53:13.000000000 +0200
@@ -695,7 +695,7 @@
need_my_gsl=1
AC_ARG_WITH(included-gsl, AC_HELP_STRING([--with-included-gsl],[force use of shipped GSL rather than system GSL]),
-if test "x$WITHVAL" != "xyes" ; then need_my_gsl=2 ; fi)
+if test "x$withval" = "xyes" ; then need_my_gsl=2 ; fi)
if test "$need_my_gsl" = 1 ; then
AM_PATH_GSL(1.4,
More information about the bogofilter-dev
mailing list