summaryrefslogtreecommitdiff
path: root/net/mpich2/files/patch-configure
blob: 616c1dc32512f02dac245e3004bf53b413d03741 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- configure.orig	Wed Nov 23 19:41:50 2005
+++ configure	Mon Jul 17 00:46:50 2006
@@ -24963,8 +24963,8 @@
 rm -f conftest.err conftest.$ac_objext \
       conftest$ac_exeext conftest.$ac_ext
 if test "$ac_cv_search_pthread_key_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