mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
d041c5f9aa
-lc_r -> -pthread. Update PLIST. PR: 20174 Submitted by: Stijn Hoop <stijn@win.tue.nl>
30 lines
1017 B
Plaintext
30 lines
1017 B
Plaintext
--- configure.orig Sat May 20 20:46:13 2000
|
|
+++ configure Tue Jul 25 14:39:44 2000
|
|
@@ -2566,14 +2566,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:2571: checking for pthread_self in -lpthread" >&5
|
|
+echo $ac_n "checking for pthread_self in -pthread""... $ac_c" 1>&6
|
|
+echo "configure:2571: checking for pthread_self in -pthread" >&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 $LIBS"
|
|
cat > conftest.$ac_ext <<EOF
|
|
#line 2579 "configure"
|
|
#include "confdefs.h"
|
|
@@ -2604,7 +2604,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"
|
|
else
|
|
echo "$ac_t""no" 1>&6
|
|
fi
|