[cairo-bugs] [Bug 4475] configure checks pthread.h but not pthread library

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 31 14:16:46 PDT 2009


http://bugs.freedesktop.org/show_bug.cgi?id=4475


Behdad Esfahbod <freedesktop at behdad.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |freedesktop at behdad.org




--- Comment #9 from Behdad Esfahbod <freedesktop at behdad.org>  2009-08-31 14:16:43 PST ---
My current understanding is that:

1) Header check is needed, obviously, since we include it.

2) We don't want to link to pthread.  Not on Linux.

3) We do want to make sure we can link a test program using pthread symbols. 
On Linux, glibc provides weak version of those symbols.

If 3 fails, most probably we don't want pthread, since it most probably means
there are native mutexes available.  We may want to make --enable-pthread=yes
try -lpthread if 3 fails.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the cairo-bugs mailing list