summaryrefslogtreecommitdiff
path: root/mail/balsa2/patches/patch-aa
blob: 25197b1013ffa0a5172f4584b4620dcb3b3f0e95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-aa,v 1.6 2006/02/11 14:17:51 joerg Exp $

--- configure.orig	2006-02-11 13:51:23.000000000 +0000
+++ configure
@@ -23041,7 +23041,7 @@ if test "${ac_cv_lib_esmtp_smtp_start_se
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lesmtp -lpthread $LIBS"
+LIBS="-lesmtp ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -23100,7 +23100,7 @@ fi
 echo "$as_me:$LINENO: result: $ac_cv_lib_esmtp_smtp_start_session" >&5
 echo "${ECHO_T}$ac_cv_lib_esmtp_smtp_start_session" >&6
 if test $ac_cv_lib_esmtp_smtp_start_session = yes; then
-  LIBS="$LIBS -lesmtp -lpthread"
+  LIBS="$LIBS -lesmtp ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
 else
   { { echo "$as_me:$LINENO: error: *** You enabled ESMTP but esmtp library is not found." >&5
 echo "$as_me: error: *** You enabled ESMTP but esmtp library is not found." >&2;}