浏览代码

configure.ac: when mpicc is unavailable, do not fail but just disable mpi

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

+ 1 - 1
configure.ac

@@ -695,7 +695,7 @@ AC_ARG_WITH(mpicc, [AS_HELP_STRING([--with-mpicc[=<path to mpicc>]],
 # We test if the MPICC compiler exists
 if test ! -x $mpicc_path; then
 	#MPICC does not exists or is not executable
-	AC_MSG_ERROR(The mpicc compiler is not valid)
+	AC_MSG_RESULT(The mpicc compiler is not valid)
 	use_mpi=no
 else
 	use_mpi=yes