Changeset 1349


Ignore:
Timestamp:
Jun 21, 2008, 6:57:20 AM (13 years ago)
Author:
Peter
Message:

fixing #385 - setting env var GSL_CBLAS_LIB when gslcblas is not used

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r1348 r1349  
    8484                   atlas_found="partial",-m64),
    8585      AC_SEARCH_LIBS(cblas_dswap,gslcblas,gslcblas_found="yes"),-m64),)
     86# CBLAS used in test of GSL
     87gsl_cblas_lib=-lgslcblas
     88if test ${cblas_found} = "yes"; then
     89  gsl_cblas_lib=-lcblas
     90fi
    8691if test ${atlas_found} = "yes"; then
    8792  CXXFLAGS="$CXXFLAGS -m64" LDFLAGS="$LDFLAGS -m64"
    88 fi
     93  gsl_cblas_lib=-latlas
     94fi
     95export GSL_CBLAS_LIB=${gsl_cblas_lib}
    8996
    9097# GNU Scientific Library, GSL http://www.gnu.org/software/gsl/, checks
Note: See TracChangeset for help on using the changeset viewer.