On Sat, 12 May 2012 20:40:09 +0100
Ragnar Thomsen <[email protected]> wrote:

> I just updated libdrm, but I noticed libpthread-stubs and libatomic_ops are 
> listed as required deps. I have neither of these installed, but libdrm still 
> detects them on my system and builds without problems. Can they be removed as 
> deps?

A year or 2 ago libdrm went through a phase where it wouldn't build
without either libatomic_ops installed or you could pass a CFLAG to
configure (I forget the exact incantation). I think it can use it if
it's installed but I believe you're right that it should be listed as
an optional dep (haven't tested without it lately).

> Configure output:
> checking for PTHREADSTUBS... yes
> ......
> checking for CAIRO... yes
> checking for LIBUDEV... yes
> checking for native atomic primitives... Intel
> checking for PCIACCESS... yes
> checking for VALGRIND... no
> ......
> 
> Cairo and valgrind seem to be dependencies too.

When I looked at libdrm a few weeks ago configure checked for Cairo but
it wasn't mentioned in the rest of the build log. grepping through the
libdrm source for mentions of Cairo there was one file in the tests
which didn't seem to be used. I don't think Cairo should be listed as a
dep if it doesn't use it at all.

Andy
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to