Sebastien Maret <[EMAIL PROTECTED]> 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.) _______________________________________________ Help-gsl mailing list Help-gsl@gnu.org http://lists.gnu.org/mailman/listinfo/help-gsl