gsl.m4

Brian Gough bjg@network-theory.co.uk
Fri Oct 22 15:00:00 GMT 2004


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/



More information about the Gsl-discuss mailing list