apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <...@manyfish.co.uk>
Subject Re: [PATCH] FreeBSD threads configure support
Date Thu, 20 Nov 2003 13:20:04 GMT
On Sun, Nov 09, 2003 at 06:41:57PM -0500, Craig Rodrigues wrote:
> Hi,
> 
> I am the maintainer of the FreeBSD port of apr.
> 
> Here is a patch that updates the configury checks for
> pthread flags in FreeBSD.
> 
> In FreeBSD versions less than 5.0.16, you need the
> following flags for pthreads stuff
> CFLAGS=-D_REENTRANT -D_THREAD_SAFE
> LIBS=-pthread
> 
> In FreeBSD versions greater than or equal to 5.0.16, you need the
> following flags for pthreads stuff
> CFLAGS=
> LIBS=-lc_r

Regardless of whether to enable_threads=yes by default on these
platforms: can you test to see whether the new pthreads CFLAGS/LIBS
detection code in HEAD does the right thing for these platforms without
requiring any specific hints?

i.e. get a snapshot from:

http://cvs.apache.org/snapshots/apr/

and see whether
export enable_threads=yes
./configure

is good enough.

joe

Mime
View raw message