Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
2716c296
Commit
2716c296
authored
Feb 12, 2018
by
Matthieu Schaller
Browse files
Better detection of the GSL library.
parent
7ef09863
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
2716c296
...
...
@@ -406,8 +406,13 @@ 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_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"])
# Check for pthreads.
AX_PTHREAD([LIBS="$PTHREAD_LIBS $LIBS" CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment