On 05/12/2012 09:39 PM, Ragnar Thomsen 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? > > 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. > > -Ragnar-
http://paste.debian.net/plainh/b4e68a21 This is full build log from my libdrm build. Here are some highlights: checking for PTHREADSTUBS... yes is actually using pkg-config for checking for existence of pthread-stubs.pc file which is provided by libpthread-stubs. It will fail if that one is not installed. But no worries, that one is installed with Xorg. Then: checking for CAIRO... yes it is used only in one test - tests/modetest/modetest.c and that one is being run: Making all in modetest make[3]: Entering directory `/home/armin/src/libdrm-2.4.34/tests/modetest' CC modetest.o CCLD modetest And this one: checking for native atomic primitives... Intel It can use native compiler primitives, in this case Intel - provided by newer compilers (maybe) or fall back to libatomic-ops (checked in configure.ac). Ones that are not listed are: checking for PCIACCESS... yes Is libpciaccess from Xorg Libraries. It is needed for libdrm_intel. Mentioned in intel/intel_bufmgr.c and as you said: checking for VALGRIND... no Optionally used by libdrm_intel to surpress false warnings. Introduced with http://cgit.freedesktop.org/mesa/drm/commit/?id=90b23cc24c19fbe131d84237c55311cafeb4ca21 I did not bother to upgrade it, since it introduces major nouveau change which will probably be available in linux 3.4. http://cgit.freedesktop.org/nouveau/linux-2.6/log -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
