Merge pull request #18 from ikirker/master

Hardens test for MPI
master
Glenn K. Lockwood 2017-11-22 13:25:36 -07:00 committed by GitHub
commit 6faf076f11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -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