Added checks for GSL library in configure.ac

This commit is contained in:
Francesco Lannutti 2016-11-02 16:57:09 +01:00
parent 3eb4f2bd2e
commit 45c55b09ce
1 changed files with 3 additions and 0 deletions

View File

@ -852,6 +852,9 @@ if test "x$enable_pss" = xyes; then
AC_MSG_RESULT([WARNING: PSS analysis enabled])
fi
if test "x$enable_relan" = xyes; then
AC_MSG_RESULT([checking for GSL library, since Reliability Analysis has been requested])
AC_CHECK_LIB([gslcblas], [cblas_dgemm], [], [AC_MSG_ERROR([GSL Library not found, please install it])])
AC_CHECK_LIB([gsl], [gsl_blas_dgemm], [], [AC_MSG_ERROR([GSL Library not found, please install it])])
AC_DEFINE([RELAN], [], [Define if you want Reliability Analysis])
AC_MSG_RESULT([WARNING: Reliability Analysis enabled])
fi