2000-08-11 05:24:04 +00:00
|
|
|
--- configure.orig Sat May 20 20:46:13 2000
|
|
|
|
+++ configure Tue Jul 25 14:39:44 2000
|
|
|
|
@@ -2566,14 +2566,14 @@
|
2000-01-29 22:26:02 +00:00
|
|
|
|
|
|
|
if test "x$enable_threads" = "xyes" ; then
|
|
|
|
enable_threads="no"
|
|
|
|
-echo $ac_n "checking for pthread_self in -lpthread""... $ac_c" 1>&6
|
2000-08-11 05:24:04 +00:00
|
|
|
-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
|
2000-01-29 22:26:02 +00:00
|
|
|
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"
|
2000-08-11 05:24:04 +00:00
|
|
|
+LIBS="-pthread $LIBS"
|
2000-01-29 22:26:02 +00:00
|
|
|
cat > conftest.$ac_ext <<EOF
|
2000-08-11 05:24:04 +00:00
|
|
|
#line 2579 "configure"
|
2000-01-29 22:26:02 +00:00
|
|
|
#include "confdefs.h"
|
2000-08-11 05:24:04 +00:00
|
|
|
@@ -2604,7 +2604,7 @@
|
2000-01-29 22:26:02 +00:00
|
|
|
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"
|
2000-08-11 05:24:04 +00:00
|
|
|
+ enable_threads="yes";THREAD_LIB="-pthread"
|
2000-01-29 22:26:02 +00:00
|
|
|
else
|
|
|
|
echo "$ac_t""no" 1>&6
|
|
|
|
fi
|