Skip to content
Snippets Groups Projects
Commit 2f7029de authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Detection of GSL that works on older versions of autotools (cosma)

parent 6cb8470b
No related branches found
No related tags found
1 merge request!509Cosmological time integration
......@@ -410,12 +410,7 @@ AC_CHECK_LIB(m,sqrt,,AC_MSG_ERROR(something is wrong with the math library!))
# Check for GSL
have_gsl="no"
AC_CHECK_LIB([gslcblas], [cblas_dgemm])
AC_CHECK_LIB([gsl],
[gsl_integration_qag],
[AC_DEFINE([HAVE_LIBGSL], [1], [Define to 1 if you have the `gsl' library (-lgsl).])]
[AX_APPEND_FLAG(-lgsl, LDFLAGS)]
[have_gsl="yes"],
[have_gsl="no"])
AC_CHECK_LIB([gsl], [gsl_integration_qag])
# Check for pthreads.
AX_PTHREAD([LIBS="$PTHREAD_LIBS $LIBS" CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment