openbsd-ports/databases/evolution-data-server/patches/patch-acinclude_m4
jasper 8397223cf2 - some cleanups
* use autoconf for a saner configure/pthread/kerberos patch
* add an XXX about ntlm shitz
* set better CPPFLAGS to get rid of some db4 related patches
2008-10-30 16:36:35 +00:00

18 lines
823 B
Plaintext

$OpenBSD: patch-acinclude_m4,v 1.1 2008/10/30 16:36:35 jasper Exp $
--- acinclude.m4.orig Thu Oct 30 16:31:26 2008
+++ acinclude.m4 Thu Oct 30 16:31:46 2008
@@ -204,10 +204,10 @@ AC_DEFUN([EVO_SUNLDAP_CHECK], [
# EVO_PTHREAD_CHECK
AC_DEFUN([EVO_PTHREAD_CHECK],[
PTHREAD_LIB=""
- AC_CHECK_LIB(pthread, pthread_create, PTHREAD_LIB="-lpthread",
- [AC_CHECK_LIB(pthreads, pthread_create, PTHREAD_LIB="-lpthreads",
+ AC_CHECK_LIB(pthread, pthread_create, PTHREAD_LIB="-pthread",
+ [AC_CHECK_LIB(pthreads, pthread_create, PTHREAD_LIB="-pthreads",
[AC_CHECK_LIB(c_r, pthread_create, PTHREAD_LIB="-lc_r",
- [AC_CHECK_LIB(pthread, __pthread_attr_init_system, PTHREAD_LIB="-lpthread",
+ [AC_CHECK_LIB(pthread, __pthread_attr_init_system, PTHREAD_LIB="-pthread",
[AC_CHECK_FUNC(pthread_create)]
)]
)]