2013-09-26 17:14:40 +02:00

32 lines
972 B
Plaintext

$NetBSD: patch-aa,v 1.15 2010/09/07 19:12:03 adam Exp $
--- configure.orig 2010-08-21 20:53:36.000000000 +0000
+++ configure
@@ -16317,7 +16317,7 @@ if test "${ac_cv_lib_esmtp_smtp_start_se
$as_echo_n "(cached) " >&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
@@ -16390,7 +16390,7 @@ if test "${ac_cv_lib_esmtp_smtp_option_r
$as_echo_n "(cached) " >&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
@@ -16473,7 +16473,7 @@ if test "${ac_cv_lib_esmtp_smtp_starttls
$as_echo_n "(cached) " >&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