$NetBSD: patch-aa,v 1.9 2003/11/11 13:39:09 fvdl Exp $

--- configure.orig	2003-08-26 18:42:14.000000000 +0200
+++ configure
@@ -31199,7 +31199,7 @@ fi
 #  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/`"
     ;;
   *)
