openbsd-ports/devel/libuta/patches/patch-configure
2002-05-27 02:50:14 +00:00

33 lines
705 B
Plaintext

$OpenBSD: patch-configure,v 1.3 2002/05/27 02:50:14 brad Exp $
--- configure.orig Sat Jul 28 09:50:41 2001
+++ configure Sun May 26 22:36:44 2002
@@ -3569,10 +3569,6 @@ cross_compiling=$ac_cv_prog_cc_cross
-CFLAGS=
-CXXFLAGS=
-CPPFLAGS=-Wall
-
case $win32 in
true)
@@ -4062,7 +4058,7 @@ if eval "test \"`echo '$''{'ac_cv_lib_$a
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 4068 "configure"
#include "confdefs.h"
@@ -4096,7 +4092,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