openbsd-ports/mail/claws-mail/patches/patch-configure_ac
pyr 4f08b5f562 Update to 3.0.1 from brad.
Tested on many workstations.
ok brad@
2007-09-28 22:12:00 +00:00

31 lines
1.2 KiB
Plaintext

$OpenBSD: patch-configure_ac,v 1.2 2007/09/28 22:12:01 pyr Exp $
--- configure.ac.orig Mon Sep 17 04:49:36 2007
+++ configure.ac Tue Sep 18 21:45:38 2007
@@ -567,6 +567,7 @@ else
AC_CHECK_LIB(resolv, res_query, LDAP_LIBS="$LDAP_LIBS -lresolv")
AC_CHECK_LIB(socket, bind, LDAP_LIBS="$LDAP_LIBS -lsocket")
AC_CHECK_LIB(nsl, gethostbyaddr, LDAP_LIBS="$LDAP_LIBS -lnsl")
+ AC_CHECK_LIB(sasl2, sasl_version, LDAP_LIBS="$LDAP_LIBS -lsasl2")
AC_CHECK_LIB(lber, ber_get_tag, LDAP_LIBS="$LDAP_LIBS -llber",,
$LDAP_LIBS)
@@ -582,7 +583,8 @@ else
AC_CHECK_LIB(ldap, ldap_start_tls_s,
[ ac_cv_have_tls=yes ],
- [ ac_cv_have_tls=no ])
+ [ ac_cv_have_tls=no ],
+ $LDAP_LIBS)
fi
@@ -619,7 +621,7 @@ if test "$ac_cv_enable_jpilot" = yes; then
AC_DEFINE(USE_JPILOT, 1, Define if you want JPilot support in addressbook.) ])
fi
- AC_CHECK_LIB(pisock, unpack_Address, [JPILOT_LIBS="-lpisock"], [JPILOT_LIBS="" ac_cv_enable_jpilot="no"])
+ AC_CHECK_LIB(pisock, unpack_Address, [JPILOT_LIBS="-lpisock -pthread"], [JPILOT_LIBS="" ac_cv_enable_jpilot="no"], -pthread)
if test x"$ac_cv_enable_jpilot" = xyes; then
AC_DEFINE(USE_JPILOT, 1, Define if you want JPilot support in addressbook.)
else