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 |
1060 |
|
AC_DEFUN([adl_FUNC_GETOPT_LONG], |
1061 |
|
[AC_PREREQ(2.49)dnl |
1062 |
|
# clean out junk possibly left behind by a previous configuration |
1063 |
< |
rm -f src/utils/getopt.h |
1063 |
> |
rm -f src/getopt.h |
1064 |
|
# Check for getopt_long support |
1065 |
|
AC_CHECK_HEADERS([getopt.h]) |
1066 |
|
AC_CHECK_FUNCS([getopt_long],, |
1069 |
|
[# use the GNU replacement |
1070 |
|
AC_LIBOBJ(getopt) |
1071 |
|
AC_LIBOBJ(getopt1) |
1072 |
< |
AC_CONFIG_LINKS([src/utils/getopt.h:src/utils/gnugetopt.h])])])]) |
1072 |
> |
AC_CONFIG_LINKS([src/getopt.h:src/utils/gnugetopt.h])])])]) |
1073 |
|
|
1074 |
|
|
1075 |
|
AC_DEFUN([ACX_CONFIG_HOME], [ |