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

Check at configure time whether POSIX barriers are available.

parent ea50f018
Branches
Tags
1 merge request!442Support for OSX
......@@ -379,6 +379,7 @@ AX_PTHREAD([LIBS="$PTHREAD_LIBS $LIBS" CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
or use CPPFLAGS and LDFLAGS if the library is installed in a
non-standard location.]))
AC_CHECK_LIB(pthread, pthread_barrier_init,,AC_MSG_ERROR(POSIX implementation does not have barriers!))
# Check for metis. Note AX_LIB_METIS exists, but cannot be configured
# to be default off (i.e. given no option it tries to locate METIS), so we
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment