--- configure.orig	Tue Aug 15 16:01:31 2000
+++ configure	Sun Sep 17 08:48:28 2000
@@ -5121,7 +5121,7 @@
 echo "configure:5122: checking for pthread library" >&5
 TMP_SAVE_CFLAGS=$CFLAGS
 TMP_SAVE_LIBS=$LIBS
-LIBS="$LIBS -lpthread"
+LIBS="$LIBS -pthread"
 cat > conftest.$ac_ext <<EOF
 #line 5127 "configure"
 #include "confdefs.h"
@@ -6051,7 +6051,7 @@
   if [ "x$HAVE_PTHREAD_LIB" = "xyes" ]; then
     THREADDEP=td-posix
     CFLAGS="$CFLAGS -DSUPPORT_THREADS -D_REENTRANT"
-    LIBS="$LIBS -lpthread"
+    LIBS="$LIBS -pthread"
     if [ "x$HAVE_POSIX4_LIB" = "xyes" ]; then
       LIBS="$LIBS -lposix4"
     fi
