update Wed May 19 18:37:00 PDT 2010
[pkgsrc.git] / mail / evolution-data-server / patches / patch-ak
1 $NetBSD: patch-ak,v 1.13 2010/05/19 21:52:57 drochner Exp $
2
3 --- configure.orig      2010-03-02 06:36:33.000000000 +0000
4 +++ configure
5 @@ -22466,14 +22466,13 @@ EVO_MARSHAL_RULE=$srcdir/marshal.mk
6  
7  
8  
9 -       PTHREAD_LIB=""
10 -       { $as_echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
11 -$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
12 +       { $as_echo "$as_me:$LINENO: checking for pthread_create in ${PTHREAD_LIB}" >&5
13 +$as_echo_n "checking for pthread_create in ${PTHREAD_LIB}... " >&6; }
14  if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
15    $as_echo_n "(cached) " >&6
16  else
17    ac_check_lib_save_LIBS=$LIBS
18 -LIBS="-lpthread  $LIBS"
19 +LIBS="${PTHREAD_LIB}  $LIBS"
20  cat >conftest.$ac_ext <<_ACEOF
21  /* confdefs.h.  */
22  _ACEOF
23 @@ -22533,7 +22532,7 @@ fi
24  { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
25  $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
26  if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then
27 -  PTHREAD_LIB="-lpthread"
28 +  PTHREAD_LIB="${PTHREAD_LIB}"
29  else
30    { $as_echo "$as_me:$LINENO: checking for pthread_create in -lpthreads" >&5
31  $as_echo_n "checking for pthread_create in -lpthreads... " >&6; }
32 @@ -22737,7 +22736,7 @@ fi
33  { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread___pthread_attr_init_system" >&5
34  $as_echo "$ac_cv_lib_pthread___pthread_attr_init_system" >&6; }
35  if test "x$ac_cv_lib_pthread___pthread_attr_init_system" = x""yes; then
36 -  PTHREAD_LIB="-lpthread"
37 +  PTHREAD_LIB="${PTHREAD_LIB}"
38  else
39    { $as_echo "$as_me:$LINENO: checking for pthread_create" >&5
40  $as_echo_n "checking for pthread_create... " >&6; }