Changeset 2017


Ignore:
Timestamp:
Aug 2, 2009, 7:07:05 PM (11 years ago)
Author:
Peter
Message:

refs #349. Adding macro that checks for CBLAS library and using this
rather than ACX_BLAS that checks for BLAS library.

Location:
trunk
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r2012 r2017  
    135135AC_CHECK_LIBM
    136136
    137 YAT_CBLAS_LIB=-lgslcblas
    138 AC_PROG_F77
    139 # avoid testing fortran based blas when no fortran compiler available
    140 if test "x$F77" != "x"; then
    141   ACX_BLAS([YAT_CBLAS_LIB=$BLAS_LIBS])
    142 fi
    143 
    144 # Some systems, e.g. Mac OS X, have stand-alone libcblas available
    145 if test "$YAT_CBLAS_LIB" = "-lgslcblas"; then
    146   AC_SEARCH_LIBS([cblas_sdsdot],[cblas],[YAT_CBLAS_LIB=-lcblas])
    147 fi
     137# find library implementing BLAS C API, or use gslcblas
     138YAT_LIB_CBLAS([YAT_CBLAS_LIB=$CBLAS_LIB], [YAT_CBLAS_LIB=-lgslcblas])
    148139
    149140# GNU Scientific Library, GSL http://www.gnu.org/software/gsl/, checks
Note: See TracChangeset for help on using the changeset viewer.