浏览代码

configure.ac: AM_CONDITIONAL should always be defined

Nathalie Furmento 14 年之前
父节点
当前提交
32010f95c1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      configure.ac

+ 1 - 1
configure.ac

@@ -821,6 +821,7 @@ if test ! -x $mpiexec ; then
     running_mpi_check=no
 fi
 
+AM_CONDITIONAL(STARPU_MPI_CHECK, test x$running_mpi_check = xyes)
 if test x$use_mpi = xyes; then
         AC_MSG_CHECKING(whether mpiexec is available)
         AC_MSG_RESULT($mpiexec)
@@ -829,7 +830,6 @@ if test x$use_mpi = xyes; then
         if test x$running_mpi_check = xyes; then
             AC_SUBST(MPIEXEC,$mpiexec)
         fi
-        AM_CONDITIONAL(STARPU_MPI_CHECK, test x$running_mpi_check = xyes)
 fi
 
 AC_MSG_CHECKING(whether the StarPU MPI library should be generated)