Hardens test for MPI
Previously, the configure script could fail to find an MPI implementation but continue regardless. This alters the behaviour so that the configure script fails if the check for MPI does.master
parent
b0bffa0d0e
commit
1dce7ffdb6
|
@ -18,8 +18,12 @@ AC_CANONICAL_HOST
|
|||
AM_INIT_AUTOMAKE([check-news dist-bzip2 gnu no-define])
|
||||
AM_MAINTAINER_MODE
|
||||
|
||||
# Checks for programs.
|
||||
AX_PROG_CC_MPI
|
||||
# Checks for programs
|
||||
|
||||
# We can't do anything without a working MPI
|
||||
AX_PROG_CC_MPI(,,[
|
||||
AC_MSG_FAILURE([MPI compiler requested, but couldn't use MPI.])
|
||||
])
|
||||
|
||||
# No reason not to require modern C at this point
|
||||
AC_PROG_CC_C99
|
||||
|
|
Loading…
Reference in New Issue