$OpenBSD: patch-configure,v 1.4 2004/01/04 20:32:29 pvalchev Exp $ --- configure.orig 2004-01-03 10:20:49.000000000 -0700 +++ configure 2004-01-03 10:20:55.000000000 -0700 @@ -4450,14 +4450,14 @@ fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 - echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6 -echo "configure:4455: checking for pthread_create in -lc_r" >&5 + echo $ac_n "checking for pthread_create in -pthread""... $ac_c" 1>&6 +echo "configure:4455: checking for pthread_create in -pthread" >&5 ac_lib_var=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" -LIBS="-lc_r $LIBS" +LIBS="-pthread $LIBS" cat > conftest.$ac_ext <&6