freebsd-ports/net/mpich2/files/patch-src_mpi_romio_configure
Thierry Thomas 156a330734 Add MPICH-2, an implementation of the Message-Passing Interface (MPI).
The goals of MPICH2 are to provide an MPI implementation for important
platforms, including clusters, SMPs, and massively parallel processors.
It also provides a vehicle for MPI implementation research and for
developing new and better parallel programming environments.

MPICH2 replaces MPICH1 and should be used instead of MPICH1 except for
the case of clusters with heterogeneous data representations.

Note: some regression tests fail with Fortran 90, but the problem has
been solved in 1.0.4-rc1, and 1.0.4 should be available RSN.

Repocopied by:	marcus
2006-07-22 08:35:22 +00:00

22 lines
750 B
Text

--- src/mpi/romio/configure.orig Wed Nov 23 19:41:55 2005
+++ src/mpi/romio/configure Mon Jul 17 01:05:21 2006
@@ -7482,8 +7482,8 @@
rm -f conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
if test "$ac_cv_search_pthread_create" = no; then
- for ac_lib in pthread; do
- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
+ for ac_lib in $PTHREAD_LIBS; do
+ LIBS="$ac_lib $ac_func_search_save_LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -7527,7 +7527,7 @@
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- ac_cv_search_pthread_create="-l$ac_lib"
+ ac_cv_search_pthread_create="$ac_lib"
break
else
echo "$as_me: failed program was:" >&5