Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jul 1998 15:42:15 +0200 (SAT)
From:      Peter van Heusden <pvh@leftside.wcape.school.za>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   Detecting the presence of threads (for a port)
Message-ID:  <Pine.BSF.3.95.980714151205.2540A-100000@leftside.wcape.school.za>

next in thread | raw e-mail | index | archive | help
I've been merging Terry Lambert's patches to ldap-3.3 (which include the
Critical Angle patches as well as some of Terry's own) with the existing
ldap port, and managed to get a working build (which needs an hour or two
of cleaning up). The port, however, requires pthreads, which requires
libc_r. I was wondering how to deal with this. Two questions:

1) How to detect the existence of pthreads? I assume a pre-configure test
for libc_r should do?

2) Should pthreads be required in the default port? Since they are not
available with an out-of-the-box 2.2 FreeBSD, I assume not, in which case
I'd have to break the pthread patches out into a seperate set of files,
and only apply them if a particular make variable is set. Does this make
sense?

P.S. Who else (if anyone) is working on ldap at present?

Thanks,
Peter
--
Peter van Heusden |    Computers Networks Reds Greens Justice Peace Beer Africa
pvh@leftside.wcape.school.za | Support the SAMWU 50 litres campaign!



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.980714151205.2540A-100000>