| # | Line 955 | Line 955 | have_mpi_h=0 | |
|---|---|---|
| 955 | ||
| 956 | AC_MSG_CHECKING([for mpi.h]) | |
| 957 | have_mpi_h=0 | |
| 958 | + | rm -f conftest* |
| 959 | echo '#include <mpi.h>' > conftest.cc | |
| 960 | < | if test -z "`${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1`"; then |
| 960 | > | if ${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1 ; then |
| 961 | AC_MSG_RESULT(yes) | |
| 962 | have_mpi_h=1 | |
| 963 | else | |
| 964 | + | if test -s conftest.out ; then |
| 965 | + | cat conftest.out >> config.log |
| 966 | + | fi |
| 967 | AC_MSG_RESULT(no! Check MPI include paths) | |
| 968 | USE_MPI="no" | |
| 969 | fi | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |