534 |
|
fi;; |
535 |
|
*darwin*) |
536 |
|
if test "$CC" = xlc -o "$CC" = cc; then |
537 |
< |
CFLAGS="-qthreaded -O5 -qtune=auto -qarch=auto -qunroll=auto -qaltivec" |
537 |
> |
CFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec" |
538 |
|
fi;; |
539 |
|
esac |
540 |
|
|
653 |
|
fi;; |
654 |
|
*darwin*) |
655 |
|
if test "$CXX" = xlc++; then |
656 |
< |
CXXFLAGS="-qthreaded -O5 -qtune=auto -qarch=auto -qunroll=auto -qaltivec" |
656 |
> |
CXXFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec" |
657 |
|
fi;; |
658 |
|
esac |
659 |
|
|
768 |
|
fi;; |
769 |
|
*darwin*) |
770 |
|
if test "$F90" = f90 -o "$F90" = xlf90 -o "$F90" = xlf95; then |
771 |
< |
F90FLAGS="-qthreaded -O5 -qtune=auto -qarch=auto -qunroll=auto" |
771 |
> |
F90FLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto" |
772 |
|
fi;; |
773 |
|
esac |
774 |
|
|
985 |
|
AC_CHECK_LIB(mpi, MPI_Init, [MPI_LIB="-lmpi -llam"], [], |
986 |
|
"-llam") |
987 |
|
fi |
988 |
+ |
$as_unset ac_cv_lib_mpich_MPI_Init |
989 |
+ |
if test x = x"$MPI_LIB"; then |
990 |
+ |
AC_CHECK_LIB(mpich, MPI_Init, [MPI_LIB="-lmpich -lpmpich"], [], |
991 |
+ |
"-lpmpich") |
992 |
+ |
fi |
993 |
|
|
994 |
|
$as_unset ac_cv_lib_mpi_MPI_Init |
995 |
|
if test x = x"$MPI_LIB"; then |