--- configure.orig	Mon May 29 08:14:05 2000
+++ configure	Tue Sep 12 22:40:24 2000
@@ -2778,14 +2778,14 @@
   echo "$ac_t""no" 1>&6
 fi
 
-			echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
-echo "configure:2783: checking for pthread_create in -lpthread" >&5
+			echo $ac_n "checking for pthread_create in -pthread""... $ac_c" 1>&6
+echo "configure:2783: checking for pthread_create in -pthread" >&5
 ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
 if eval "test \"\${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 2791 "configure"
 #include "confdefs.h"
@@ -2813,7 +2813,7 @@
 fi
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
   echo "$ac_t""yes" 1>&6
-  LIBS="$LIBS -lpthread"
+  LIBS="$LIBS -pthread"
 else
   echo "$ac_t""no" 1>&6
 fi
