$NetBSD: patch-ab,v 1.6 2003/02/09 00:57:14 chris Exp $

--- configure.orig	2003-02-09 00:44:10.000000000 +0000
+++ configure	2003-02-09 00:46:14.000000000 +0000
@@ -19025,7 +19025,7 @@
 #  b) libtool doesn't recognize -pthread as a library dependency.
 #
 case $host in
-  *-*-linux*)
+  *-*-linux* | *-*-netbsd*)
     G_THREAD_LIBS_FOR_GTHREAD="`echo $G_THREAD_LIBS | sed s/-pthread/-lpthread/`"
     ;;
   *)
