Skip to content

Commit

Permalink
update configure.ac
Browse files Browse the repository at this point in the history
  • Loading branch information
Kento Sato committed Jul 28, 2017
1 parent 4439f97 commit 14de9d9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ fi
AC_PROG_LIBTOOL

#### Checks for libraries.
mpi_version3="yes"
AC_CHECK_LIB([mpi], [PMPI_Ibarrier], [], [mpi_version3="no"], ["$MPI_CLDFLAGS"])
mpi_version3="no"
AC_CHECK_LIB([mpi], [PMPI_Ibarrier], [mpi_version3="yes"], [], ["$MPI_CLDFLAGS"])
AC_CHECK_LIB([mpi_ibm], [PMPI_Ibarrier], [mpi_version3="yes"], [], ["$MPI_CLDFLAGS"])
if test "$mpi_version3" = "no"; then
AC_MSG_ERROR([This package needs MPI-3.])
fi
Expand Down

0 comments on commit 14de9d9

Please sign in to comment.