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

Comparing trunk/OOPSE/ac-tools/configure.in (file contents):
Revision 895 by chuckv, Mon Jan 5 21:00:05 2004 UTC vs.
Revision 896 by chuckv, Mon Jan 5 22:18:40 2004 UTC

# Line 69 | Line 69 | if test $ac_cv_prog_gxx = no; then
69    echo 'void f(){}' > conftest.cc
70    if test -z "`${CXX} -LANG:std -c conftest.cc 2>&1`"; then
71      AC_MSG_RESULT(yes)
72 +    
73 +
74      EXTRA_CC_FLAG=${EXTRA_CC_FLAG}" -LANG:std"
75    else
76      AC_MSG_RESULT(no)
# Line 81 | Line 83 | ACX_PROG_F90_PREPFLAG
83  
84   AC_PROG_F90([ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95])
85   dnl Check the flag for Fortran90 preprocessing
86 < ACX_PROG_F90_PREPFLAG
86 > dnl ACX_PROG_F90_PREPFLAG
87   dnl Check to see if a flag is required for preprocessing defines
88   ACX_PROG_F90_PREPDEFFLAG
89   AC_LANG_PUSH(Fortran 90)
# Line 171 | Line 173 | case "$host" in
173      AC_MSG_RESULT(found $MPI_LIB)
174    ;;
175    *)                         dnl All other machines
176 <    if test -f "$MPI_LIBDIR/libmpi.a" ; then
177 <      MPI_LIB="-lmpi"
176 >    if test -f "$MPI_LIBDIR/libmpich.a" ; then
177 >      MPI_LIB="-lmpich"
178      elif test -f "$MPI_LIBDIR/libmpi.so" ; then
179        MPI_LIB="-lmpi"
180 <    elif test -f "$MPI_LIBDIR/libmpich.a" ; then
181 <      MPI_LIB="-lmpich"
180 >    elif test -f "$MPI_LIBDIR/libmpi.a" ; then
181 >      MPI_LIB="-lmpi"
182      else
183        AC_MSG_ERROR([neither libmpi nor libmpich found; check path for MPI package first...])
184      fi

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines