blob: 163fb210ecc8e4eb5d5412f4b30078e138b8bd15 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
$NetBSD: patch-ae,v 1.1 2007/10/05 21:06:00 joerg Exp $
--- configure.ac.orig 2007-10-05 20:03:36.000000000 +0000
+++ configure.ac
@@ -163,12 +163,12 @@ dnl Checks for libraries.
dnl Thread related checks
AC_CHECK_HEADER(pthread.h)
-AC_SEARCH_LIBS(pthread_exit, [pthread c_r])
+AC_SEARCH_LIBS(pthread_create, [pthread c_r])
if test "x$ac_cv_header_pthread_h" = "xyes"; then
CXXFLAGS="$CXXFLAGS -D_REENTRANT"
CFLAGS="$CFLAGS -D_REENTRANT"
- if test "x$ac_cv_search_pthread_exit" = "x-lc_r"; then
+ if test "x$ac_cv_search_pthread_create" = "x-lc_r"; then
CXXFLAGS="-pthread $CXXFLAGS"
CFLAGS="-pthread $CFLAGS"
fi
|