openbsd-ports/audio/lopster/patches/patch-configure

21 lines
837 B
Plaintext

--- configure.orig Sun Aug 29 20:38:43 2004
+++ configure Thu Jan 20 11:58:08 2005
@@ -2245,14 +2245,14 @@
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
echo "$ac_t""yes" 1>&6
- echo $ac_n "checking for pthread_attr_init in -lpthread""... $ac_c" 1>&6
-echo "configure:2250: checking for pthread_attr_init in -lpthread" >&5
+ echo $ac_n "checking for pthread_attr_init in -pthread""... $ac_c" 1>&6
+echo "configure:2250: checking for pthread_attr_init in -pthread" >&5
ac_lib_var=`echo pthread'_'pthread_attr_init | 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="-lpthread $LIBS"
+LIBS="-pthread $LIBS"
cat > conftest.$ac_ext <<EOF
#line 2258 "configure"
#include "confdefs.h"