|
@@ -2813,10 +2813,12 @@ fi
|
|
|
AM_CONDITIONAL([STARPU_OPENMP], [test "x$enable_openmp" = "xyes"])
|
|
|
AC_MSG_RESULT($enable_openmp)
|
|
|
|
|
|
-AM_CONDITIONAL([STARPU_HAVE_OPENMP],[test -n "$OPENMP_CFLAGS"])
|
|
|
-if test -n "{OPENMP_CFLAGS}"; then
|
|
|
- CFLAGS="${CFLAGS} ${OPENMP_CFLAGS}"
|
|
|
- STARPU_OMP_LDFLAGS="${OPENMP_CFLAGS}"
|
|
|
+if test x$enable_simgrid = xno; then
|
|
|
+ AM_CONDITIONAL([STARPU_HAVE_OPENMP],[test -n "$OPENMP_CFLAGS"])
|
|
|
+ if test -n "{OPENMP_CFLAGS}"; then
|
|
|
+ CFLAGS="${CFLAGS} ${OPENMP_CFLAGS}"
|
|
|
+ STARPU_OMP_LDFLAGS="${OPENMP_CFLAGS}"
|
|
|
+ fi
|
|
|
fi
|
|
|
|
|
|
###############################################################################
|