diff --git a/configure.ac b/configure.ac index 5851324ec76a466aa52f0cbecf972cf32d4a256f..7506459d854902ee275166bb50080fd64eb0e1eb 100644 --- a/configure.ac +++ b/configure.ac @@ -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