瀏覽代碼

configure.ac: force running_mpi_check to no when mpi is disabled (thanks Florent Pruvost for the hint)

Nathalie Furmento 10 年之前
父節點
當前提交
b7db1b780b
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      configure.ac

+ 2 - 0
configure.ac

@@ -1820,6 +1820,8 @@ AC_SUBST(USE_MPI, $use_mpi)
 AM_CONDITIONAL(USE_MPI, test x$use_mpi = xyes)
 if test x$use_mpi = xyes; then
 	AC_DEFINE(STARPU_USE_MPI,[],[whether the StarPU MPI library is available])
+else
+	running_mpi_check=no
 fi
 
 AC_ARG_ENABLE(mpi-progression-hook, [AS_HELP_STRING([--enable-mpi-progression-hook],