From a81dc7ac21ffc9fbc71df73fa49097ebd41e4f26 Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <matthieu.schaller@durham.ac.uk> Date: Thu, 21 Feb 2013 15:18:26 +0000 Subject: [PATCH] The autotool script now explicitely checks that OpenMP is available. Former-commit-id: 6f9ddef6e02426e896f11c2f1a8440fdc4e59929 --- configure.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.in b/configure.in index 12b99798b4..4b5f172a30 100644 --- a/configure.in +++ b/configure.in @@ -69,6 +69,10 @@ AX_FUNC_POSIX_MEMALIGN # Check for OpenMP AX_OPENMP AC_SUBST(OPENMP_CFLAGS) +if test -z "${OPENMP_CFLAGS}"; then + echo $OPENMP_CFLAGS + AC_MSG_ERROR(Compiler does not support OpenMP, 1) +fi # Check for HDF5 AX_LIB_HDF5([serial]) -- GitLab