6ef0616a8b
changelog: http://www.tildeslash.com/monit/dist/CHANGES.txt ok Ben Lovett (maintainer), kili@
30 lines
1.1 KiB
Plaintext
30 lines
1.1 KiB
Plaintext
$OpenBSD: patch-configure,v 1.8 2007/05/28 16:14:58 rui Exp $
|
|
--- configure.orig Mon Feb 19 22:43:14 2007
|
|
+++ configure Mon May 28 14:44:41 2007
|
|
@@ -3856,13 +3856,13 @@ fi
|
|
|
|
# Wacky pthread madness
|
|
pthread_libs=""
|
|
-{ 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
|
|
@@ -3918,7 +3918,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
|
|
- pthread_libs="-lpthread"
|
|
+ pthread_libs="-pthread"
|
|
fi
|
|
|
|
{ echo "$as_me:$LINENO: checking for pthread_create in -lc_r" >&5
|