blob: 4031c243dca815544749e0929d580eb060acb3f7 (
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.13 2007/09/20 20:50:51 wiz 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;}
|