$OpenBSD: patch-configure,v 1.1.1.1 2004/12/02 21:21:23 sturm Exp $ --- configure.orig Thu Dec 2 20:42:03 2004 +++ configure Thu Dec 2 20:42:44 2004 @@ -5375,13 +5375,13 @@ fi fi if test ! -z "$HAVE_PTHREAD_H"; then -echo "$as_me:$LINENO: checking for pthread_mutex_lock in -lpthread" >&5 -echo $ECHO_N "checking for pthread_mutex_lock in -lpthread... $ECHO_C" >&6 +echo "$as_me:$LINENO: checking for pthread_mutex_lock in -pthread" >&5 +echo $ECHO_N "checking for pthread_mutex_lock in -pthread... $ECHO_C" >&6 if test "${ac_cv_lib_pthread_pthread_mutex_lock+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 #line $LINENO "configure" /* confdefs.h. */ @@ -5434,17 +5434,17 @@ if test $ac_cv_lib_pthread_pthread_mutex #define HAVE_LIBPTHREAD 1 _ACEOF - LIBS="-lpthread $LIBS" + LIBS="-pthread $LIBS" fi - echo "$as_me:$LINENO: checking for pthread_mutex_lock in -lpthread" >&5 -echo $ECHO_N "checking for pthread_mutex_lock in -lpthread... $ECHO_C" >&6 + echo "$as_me:$LINENO: checking for pthread_mutex_lock in -pthread" >&5 +echo $ECHO_N "checking for pthread_mutex_lock in -pthread... $ECHO_C" >&6 if test "${ac_cv_lib_pthread_pthread_mutex_lock+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 #line $LINENO "configure" /* confdefs.h. */