[cairo] Recent pthread mutexes addition in cairo

Albert Chin cairo at mlists.thewrittenword.com
Fri Jul 8 17:47:11 PDT 2005


On Fri, Jul 08, 2005 at 08:34:52PM -0400, Jason Dorje Short wrote:
> Albert Chin wrote:
> > On Fri, Jul 08, 2005 at 07:17:09PM -0500, Albert Chin wrote:
> > 
> >>No. You do *not* want -lpthread. You don't need it if the stubs in
> >>libc are usable.
> > 
> > Untested but you want something like below.
> 
> Ahh, now I understand.
> 
> The problem with AC_TRY_RUN is it won't work when cross-compiling.
> Would an AC_LINK_IFELSE check be sufficient?

Yeah, I know about the cross-compiling issue. But, I don't know how to
work around it. IRIX has the pthread_mutex_* functions in libc (though
they don't appear to work). So, it would pass AC_LINK and
AC_LINK_IFELSE.

I'll bug the SGI folks.

-- 
albert chin (china at thewrittenword.com)



More information about the cairo mailing list