help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] Configure script for GSL linked program


From: Jochen Küpper
Subject: Re: [Help-gsl] Configure script for GSL linked program
Date: Tue, 05 Sep 2006 21:09:12 +0200

Sebastien Maret <address@hidden> writes:

> I would like to modify the configure.in so it would check for any
> available CBLAS library (e.g. ATLAS or vecLib on MacOSX), and use
> the GSL version if not found.

Just copied out of one of my projects, should get you started: 
,----
| # math
| AC_LANG(C)
| AC_CHECK_LIB([m], [cos])
| dnl AC_CHECK_LIB([acml_mv], [cos])
| AC_CHECK_LIB([atlas], [ATL_xerbla])
| AC_SEARCH_LIBS([cblas_dgemm], [cblas gslcblas], [],
|                AC_MSG_ERROR([CBLAS is required.]))
| AC_CHECK_LIB([gsl], [main], [],
|              AC_MSG_ERROR([GNU Scientific library is required.]))
`----

If you have a more general version, I'd be interested to get a copy.

Greetings,
Jochen
-- 
Einigkeit und Recht und Freiheit                http://www.Jochen-Kuepper.de
    Liberté, Égalité, Fraternité                GnuPG key: CC1B0B4D
        (Part 3 you find in my messages before fall 2003.)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]