openbsd-ports/devel/libuta/patches/patch-configure
pvalchev fa0c8e1b78 update to libuta-0.4.4
gcc3 patch from espie
2004-01-04 20:32:29 +00:00

31 lines
1.0 KiB
Plaintext

$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 <<EOF
#line 4463 "configure"
#include "confdefs.h"
@@ -4491,7 +4491,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_l
#define $ac_tr_lib 1
EOF
- LIBS="-lc_r $LIBS"
+ LIBS="-pthread $LIBS"
else
echo "$ac_t""no" 1>&6