Преглед на файлове

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
 # We test if the MPICC compiler exists
 if test ! -x $mpicc_path; then
 if test ! -x $mpicc_path; then
 	#MPICC does not exists or is not executable
 	#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
 	use_mpi=no
 else
 else
 	use_mpi=yes
 	use_mpi=yes