Commit 7407005a authored by Sebastian Ohlmann's avatar Sebastian Ohlmann

Fix OpenMP m4 macro for the case no flag is needed

parent 43f6c088
Pipeline #146278339 passed with stage
in 0 seconds
......@@ -64,8 +64,10 @@ AC_DEFUN([AX_OPENMP],
fi
done])])
case $ac_cv_prog_[]_AC_LANG_ABBREV[]_openmp in #(
"none needed" | unsupported)
unsupported)
;; #(
"none needed" )
AC_DEFINE(HAVE_OPENMP,1,[Define if OpenMP is enabled]) ;; #(
*)
OPENMP_[]_AC_LANG_PREFIX[]FLAGS=$ac_cv_prog_[]_AC_LANG_ABBREV[]_openmp
AC_DEFINE(HAVE_OPENMP,1,[Define if OpenMP is enabled]) ;;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment