1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2025-04-10 11:10:46 +01:00

more portable gslcblas detection

This commit is contained in:
Antonin Portelli 2015-03-20 16:08:34 +00:00
parent a5ea7633ba
commit ef2fac398d

View File

@ -85,7 +85,9 @@ AC_DEFINE_UNQUOTED([GXX_VERSION],["$GXX_VERSION"],
# Checks for libraries.
AC_CHECK_LIB([m],[cos],[],[AC_MSG_ERROR([libm library not found])])
AC_CHECK_LIB([gsl],[gsl_blas_dgemm],[LIBS="$LIBS -lgsl -lgslcblas"],[AC_MSG_ERROR([GSL library not found])])
AC_CHECK_LIB([gslcblas],[cblas_dgemm],
[AC_MSG_ERROR([GSL CBLAS library not found])])
AC_CHECK_LIB([gsl],[gsl_blas_dgemm],[AC_MSG_ERROR([GSL library not found])])
AC_CHECK_LIB([LatCore],[_ZN7LatCore12testFunctionEv],[],
[AC_MSG_ERROR([LatCore library not found])])
SAVED_LDFLAGS=$LDFLAGS