diff --git a/configure.in b/configure.in index 163069ccc..16d365316 100644 --- a/configure.in +++ b/configure.in @@ -130,10 +130,9 @@ AC_PREPROC_IFELSE( ], [AC_MSG_RESULT([no])]) -AX_OPENMP([with_openmp="yes"], [with_openmp="no"]) -if test $with_openmp == "yes"; then -fi - +AX_OPENMP([], [with_openmp="no"]) +AM_CONDITIONAL([HAVE_OPENMP], [test "$with_openmp" != "no"]) +AC_SUBST(OPENMP_CXXFLAGS) #################