[Top][All Lists]

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

[Help-gsl] Configure script for GSL linked program

From: Sebastien Maret
Subject: [Help-gsl] Configure script for GSL linked program
Date: Tue, 05 Sep 2006 11:43:29 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin)


I wrote a configure script for one of my code that uses the GSL. For
now the part of that checks for the GSL looks like:

# Checks for libraries.
AC_CHECK_LIB(m, main)
AC_CHECK_LIB(gslcblas, main)
AC_CHECK_LIB(gsl, main)
if test $ac_cv_lib_gsl_main = "no"; then
   AC_MSG_ERROR(could not find GSL.)

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

How can I do that?


reply via email to

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