Commit f92e1219 authored by Micael Oliveira's avatar Micael Oliveira

Merge branch 'fix_openmp_m4' into 'develop'

Fix OpenMP m4 macro for the case no flag is needed

See merge request !883
parents 43f6c088 7407005a
Pipeline #146294284 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