--- configure.orig	Tue Nov  4 09:52:54 2003
+++ configure	Tue Nov  4 09:53:21 2003
@@ -19002,6 +19002,7 @@
     		;;
         freebsd*)
                 CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE"
+		LIBS="$LIBS -lpthread"
                 echo "Setting FreeBSD pthread compilation options"
                 ;;
         aix*)
