56 lines
1.7 KiB
Plaintext

$OpenBSD: patch-source_configure,v 1.5 2009/02/03 10:40:02 ajacoutot Exp $
--- source/configure.orig Sat Jan 24 17:03:07 2009
+++ source/configure Sat Jan 24 17:03:48 2009
@@ -4108,13 +4108,13 @@ OLD_LIBS=${LIBS}
if test $threads = true; then
-echo "$as_me:$LINENO: checking for pthread_attr_init in -lpthread" >&5
-echo $ECHO_N "checking for pthread_attr_init in -lpthread... $ECHO_C" >&6
+echo "$as_me:$LINENO: checking for pthread_attr_init in -pthread" >&5
+echo $ECHO_N "checking for pthread_attr_init in -pthread... $ECHO_C" >&6
if test "${ac_cv_lib_pthread_pthread_attr_init+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
@@ -4177,7 +4177,7 @@ if test $ac_cv_lib_pthread_pthread_attr_init = yes; th
#define HAVE_LIBPTHREAD 1
_ACEOF
- LIBS="-lpthread $LIBS"
+ LIBS="-pthread $LIBS"
fi
@@ -4318,13 +4318,13 @@ fi
ICU_USE_THREADS=1
else
-echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
-echo $ECHO_N "checking for pthread_mutex_init in -lpthread... $ECHO_C" >&6
+echo "$as_me:$LINENO: checking for pthread_mutex_init in -pthread" >&5
+echo $ECHO_N "checking for pthread_mutex_init in -pthread... $ECHO_C" >&6
if test "${ac_cv_lib_pthread_pthread_mutex_init+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
@@ -4387,7 +4387,7 @@ if test $ac_cv_lib_pthread_pthread_mutex_init = yes; t
#define HAVE_LIBPTHREAD 1
_ACEOF
- LIBS="-lpthread $LIBS"
+ LIBS="-pthread $LIBS"
fi