This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gsl.m4


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]