diff options
author | Steve Price <steve@FreeBSD.org> | 2000-01-29 22:26:02 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 2000-01-29 22:26:02 +0000 |
commit | fd3a9988f884c51a393887e2ae0c750fe24b4131 (patch) | |
tree | b9e90ee4f3416d45524a543a71447d1c65f07f19 /devel/libsigc++20/files/patch-ab | |
parent | Adding mysql-jdbc-mm version 1.2b (diff) |
Adding libsigc++ version 0.8.6.
A callback framework for C++.
PR: 16419
Submitted by: Joe Lu <JoeLu@JoeLu.m8.ntu.edu.tw>
Notes
Notes:
svn path=/head/; revision=25286
Diffstat (limited to 'devel/libsigc++20/files/patch-ab')
-rw-r--r-- | devel/libsigc++20/files/patch-ab | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/devel/libsigc++20/files/patch-ab b/devel/libsigc++20/files/patch-ab new file mode 100644 index 000000000000..89440f4b9c9d --- /dev/null +++ b/devel/libsigc++20/files/patch-ab @@ -0,0 +1,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 |