2085187c49
from maintainer Arnaud Bergeron <abergeron at gmail.com>
38 lines
1.3 KiB
Plaintext
38 lines
1.3 KiB
Plaintext
$OpenBSD: patch-configure,v 1.3 2006/05/05 05:28:58 sturm Exp $
|
|
--- configure.orig Thu Mar 2 01:49:34 2006
|
|
+++ configure Fri May 5 07:14:34 2006
|
|
@@ -3166,7 +3166,6 @@ fi
|
|
rend_posix=true
|
|
|
|
STATIC_LIBS=no
|
|
-CPPFLAGS="${CPPFLAGS} -g"
|
|
|
|
echo "$as_me:$LINENO: checking for pthread_creat in -lc_r" >&5
|
|
echo $ECHO_N "checking for pthread_creat in -lc_r... $ECHO_C" >&6
|
|
@@ -3236,13 +3235,13 @@ if test $ac_cv_lib_c_r_pthread_creat = y
|
|
LDFLAGS="${LDFLAGS} -lc_r"
|
|
else
|
|
|
|
- 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
|
|
@@ -3301,7 +3300,7 @@ fi
|
|
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
|
|
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
|
|
if test $ac_cv_lib_pthread_pthread_create = yes; then
|
|
- LDFLAGS="${LDFLAGS} -lpthread"
|
|
+ LDFLAGS="${LDFLAGS} -pthread"
|
|
fi
|
|
|
|
fi
|