$OpenBSD: patch-configure,v 1.4 2008/08/29 17:27:57 ajacoutot Exp $ --- configure.orig Thu Aug 28 14:28:46 2008 +++ configure Fri Aug 29 19:23:09 2008 @@ -6736,13 +6736,13 @@ if test `eval echo '${'$as_ac_Header'}'` = yes; then #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF - 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 @@ -7062,7 +7062,7 @@ done #------------------------------------------------------------------------------- # Compilation options #------------------------------------------------------------------------------- -CFLAGS="-O2 -Wall -g" +#CFLAGS="-O2 -Wall -g" #------------------------------------------------------------------------------- # Create Makefiles #-------------------------------------------------------------------------------