ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-3.0/ac-tools/OOPSE.m4
(Generate patch)

Comparing trunk/OOPSE-3.0/ac-tools/OOPSE.m4 (file contents):
Revision 2861 by gezelter, Thu May 25 15:24:29 2006 UTC vs.
Revision 2862 by gezelter, Thu Jun 15 18:38:58 2006 UTC

# 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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines