freebsd-ports/net/mpich2/files/patch-configure
Thierry Thomas a9969884fb - Upgrade to 1.2.1
Changelog at
	<https://svn.mcs.anl.gov/repos/mpi/mpich2/tags/release/mpich2-1.2.1/CHANGES>

- Don't set PREFIX anymore to $PREFIX/mpich2.
2009-11-28 10:44:43 +00:00

18 lines
499 B
Text

--- configure.orig 2009-11-18 17:40:48.000000000 +0100
+++ configure 2009-11-24 21:26:56.000000000 +0100
@@ -40383,12 +40383,12 @@
return 0;
}
_ACEOF
-for ac_lib in '' thread; do
+for ac_lib in '' -lpthread; do
if test -z "$ac_lib"; then
ac_res="none required"
else
- ac_res=-l$ac_lib
- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
+ ac_res=$ac_lib
+ LIBS="$ac_lib $ac_func_search_save_LIBS"
fi
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"