$OpenBSD: patch-configure_in,v 1.2 2007/01/22 12:02:27 ajacoutot Exp $ --- configure.in.orig Mon Oct 2 20:50:32 2006 +++ configure.in Mon Jan 22 09:38:08 2007 @@ -671,7 +671,8 @@ if test "$HAVE_PISOCK" = "1" ; then ], [-lsocket] ) - ] + ], + -pthread ) fi fi @@ -809,7 +810,7 @@ if test "x$with_mal" = "xCHECK" ; then mal_libdir) if test -r $mal_libdir/libmal.$ext ; then if test "x$mal_libdir" != "x/usr/lib$kdelibsuff" ; then - MAL_LIB="-L$mal_libdir " + MAL_LIB="-pthread -L$mal_libdir " test "$USE_RPATH" = yes && MAL_RPATH="-R $mal_libdir" fi MAL_LIB="${MAL_LIB}-lmal"