This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: gsl.m4
- From: Brian Gough <bjg at network-theory dot co dot uk>
- To: Jochen Küpper <jochen at fhi-berlin dot mpg dot de>
- Cc: gsl-discuss at sources dot redhat dot com
- Date: Fri, 22 Oct 2004 15:50:32 +0100
- Subject: Re: gsl.m4
- References: <m3oeiyjuj4.fsf@doze.jochen-kuepper.de>
Jochen Küpper writes:
> The GSL distribution contains a aclocal macro. Generally this is also
> useful to detect gsl in ("external") projects *using* gsl.
> However, it always puts the gslclbas into LIBS as well.
> It would be great to have a macro that determines whether there is a
> BLAS already and use that, or adds -lgslcblas otherwise. For the
> former, the aclocal-archive's function ACX_BLAS could be used.
> What do you think? Any idea how to do it?
It looks like ACX_BLAS finds the Fortran BLAS. You'd need to check
for CBLAS libraries.
Possibly the gsl.m4 macro is more than most people need these days,
since it checks the version numbers. This was more important in 0.x
when the API was changing.
Now it is probably sufficient to use the standard autoconf macros to
find GSL and a CBLAS library.
--
Brian Gough
Network Theory Ltd,
Commercial support for GSL --- http://www.network-theory.co.uk/gsl/