blob: 49790d7b0893990218b8ee33f03c1b29a4ff9e70 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
$NetBSD: patch-aa,v 1.7 2009/12/10 16:56:59 joerg Exp $
--- configure.orig 2009-12-04 21:45:59.000000000 +0100
+++ configure
@@ -4630,7 +4630,6 @@ sys.exit(sys.hexversion < minverhex)"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
else
- as_fn_error "too old" "$LINENO" 5
fi
am_display_PYTHON=$PYTHON
else
@@ -16571,13 +16570,13 @@ if test "x$ac_cv_lib_c_open" = x""yes; t
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setcancelstate in -lpthread" >&5
-$as_echo_n "checking for pthread_setcancelstate in -lpthread... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setcancelstate in ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}" >&5
+$as_echo_n "checking for pthread_setcancelstate in ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}... " >&6; }
if test "${ac_cv_lib_pthread_pthread_setcancelstate+set}" = set; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpthread $LIBS"
+LIBS="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -16608,7 +16607,7 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_setcancelstate" >&5
$as_echo "$ac_cv_lib_pthread_pthread_setcancelstate" >&6; }
if test "x$ac_cv_lib_pthread_pthread_setcancelstate" = x""yes; then :
- LIBPTHREAD="-lpthread"
+ LIBPTHREAD="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
$as_echo "#define HAVE_LIBPTHREAD /**/" >>confdefs.h
|