# | Line 796 | Line 796 | AC_MSG_CHECKING([for mpi.h]) | |
---|---|---|
796 | AC_SUBST([MPI_LIB_DIR]) | |
797 | AC_SUBST([MPI_INC_DIR]) | |
798 | ||
799 | + | AC_LANG(C) |
800 | AC_MSG_CHECKING([for mpi.h]) | |
801 | have_mpi_h=0 | |
802 | rm -f conftest* | |
803 | < | echo '#include <mpi.h>' > conftest.cc |
804 | < | if ${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1 ; then |
803 | > | echo '#include <mpi.h>' > conftest.c |
804 | > | if ${CC} -I${MPI_INC_DIR} -c conftest.c 2>&1 ; then |
805 | AC_MSG_RESULT(yes) | |
806 | have_mpi_h=1 | |
807 | else |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |