$OpenBSD: patch-configure,v 1.1 2009/10/11 12:41:18 jasper Exp $ --- configure.orig Sat Oct 10 18:27:56 2009 +++ configure Sat Oct 10 18:28:31 2009 @@ -19579,13 +19579,13 @@ _ACEOF PTHREAD_LIBS=-pthread;; *) - echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 -echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6 + echo "$as_me:$LINENO: checking for pthread_create in -pthread" >&5 +echo $ECHO_N "checking for pthread_create in -pthread... $ECHO_C" >&6 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lpthread $LIBS" +LIBS="-pthread $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -19653,7 +19653,7 @@ cat >>confdefs.h <<\_ACEOF #define HAVE_PTHREAD _ACEOF - PTHREAD_LIBS=-lpthread + PTHREAD_LIBS=-pthread fi;; esac