1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/devel/libsigc++12/files/patch-ab
Steve Price 3bd43b763e Update to version 1.0.0.
PR:		18066
Submitted by:	maintainer
2000-04-29 23:37:14 +00:00

30 lines
1017 B
Plaintext

--- configure Sat Apr 15 10:15:19 2000
+++ configure Tue Apr 18 07:49:32 2000
@@ -2901,14 +2901,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:2906: checking for pthread_self in -lpthread" >&5
+echo $ac_n "checking for pthread_self in -lc_r""... $ac_c" 1>&6
+echo "configure:2906: 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 2914 "configure"
#include "confdefs.h"
@@ -2939,7 +2939,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