$OpenBSD: patch-configure,v 1.4 2011/06/16 01:29:57 sthen Exp $ --- configure.orig Thu Sep 10 15:34:58 2009 +++ configure Fri Jun 3 11:28:05 2011 @@ -15078,7 +15078,7 @@ fi { $as_echo "$as_me:$LINENO: checking for pthread_mutex_lock in -lpthread " >&5 $as_echo_n "checking for pthread_mutex_lock in -lpthread ... " >&6; } ac_save_LIBS="$LIBS" -LIBS="-lpthread $LIBS" +LIBS="-pthread $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ @@ -15140,7 +15140,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = ye { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } - LIBS="$LIBS -lpthread" + LIBS="$LIBS -pthread" found_lib=true else