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

Comparing trunk/OOPSE/ac-tools/aclocal.m4 (file contents):
Revision 784 by gezelter, Fri Sep 5 22:36:12 2003 UTC vs.
Revision 785 by gezelter, Thu Sep 25 16:42:34 2003 UTC

# Line 28 | Line 28 | call MPI_Init(ierr)
28      AC_DEFINE(MPI_MOD, 1, [have mpi module])
29      MPI_F90_MODS="-I${mpi_f90_mods}"
30      AC_SUBST(MPI_F90_MODS)        
31 +    # The library name:
32 +    if test -z "$MPI_LIB" ; then
33 +       MPI_LIBNAME=-lmpich
34 +    else
35 +       MPI_LIBNAME="$MPI_LIB"
36 +    fi
37 +    if test -z "$MPIMODLIBNAME" ; then
38 +       MPIMODLIBNAME="${MPI_LIBNAME}f90"
39 +    fi
40 +    AC_SUBST(MPIMODLIBNAME)
41    else
42      AC_MSG_RESULT(no)
43      AC_MSG_ERROR([Couldn't locate MPI F90 Modules])
# Line 528 | Line 538 | if test "$ac_test_F90FLAGS" != "set"; then
538  
539   # Try to determine "good" native compiler flags if none specified on command
540   # line
541 +
542   if test "$ac_test_F90FLAGS" != "set"; then
543    F90FLAGS=""
544    case "${host_cpu}-${host_os}" in

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines