aboutsummaryrefslogtreecommitdiff
path: root/devel/libsigc++12/files/patch-ab
blob: 89440f4b9c9ded3a03607379cd1190376dbc2611 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- configure	Wed Jan 19 15:06:41 2000
+++ configure	Thu Jan 27 23:33:56 1994
@@ -2810,14 +2810,14 @@
 
 if test "x$enable_threads" = "xyes" ; then
 enable_threads="no"
-echo $ac_n "checking for pthread_self in -lpthread""... $ac_c" 1>&6
-echo "configure:2815: checking for pthread_self in -lpthread" >&5
+echo $ac_n "checking for pthread_self in -lc_r""... $ac_c" 1>&6
+echo "configure:2815: checking for pthread_self in -lc_r" >&5
 ac_lib_var=`echo pthread'_'pthread_self | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   ac_save_LIBS="$LIBS"
-LIBS="-lpthread  $LIBS"
+LIBS="-pthread -lc_r  $LIBS"
 cat > conftest.$ac_ext <<EOF
 #line 2823 "configure"
 #include "confdefs.h"
@@ -2848,7 +2848,7 @@
 fi
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
   echo "$ac_t""yes" 1>&6
-  enable_threads="yes";THREAD_LIB="-lpthread"
+  enable_threads="yes";THREAD_LIB="-pthread -lc_r"
 else
   echo "$ac_t""no" 1>&6
 fi