From b92fb84e9dbbee5a34748d74d772b52d0bc9c921 Mon Sep 17 00:00:00 2001 From: Antonin Portelli Date: Mon, 29 Nov 2021 00:03:19 +0000 Subject: [PATCH] adding pthread link --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index d1f2fab..27538e5 100644 --- a/configure.ac +++ b/configure.ac @@ -74,6 +74,7 @@ CXXFLAGS_CPY=$CXXFLAGS LDFLAGS_CPY=$LDFLAGS CXXFLAGS="$AM_CXXFLAGS $CXXFLAGS" LDFLAGS="$AM_LDFLAGS $LDFLAGS" +AC_CHECK_LIB([pthread],[pthread_create],[],[AC_MSG_ERROR([pthread library not found])]) AC_CHECK_LIB([m],[cos],[],[AC_MSG_ERROR([libm library not found])]) AC_CHECK_LIB([gslcblas],[cblas_dgemm],[], [AC_MSG_ERROR([GSL CBLAS library not found])])