From: Marti Raudsepp Date: Sat, 24 Oct 2009 16:10:36 +0000 (+0300) Subject: perf tools: Fix compatibility with libelf 0.8 and autodetect X-Git-Tag: v2.6.32-rc6~16^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84087126d50400789b44459cfc45721778e6ebb0;p=pandora-kernel.git perf tools: Fix compatibility with libelf 0.8 and autodetect The Makefile now automatically defines LIBELF_NO_MMAP when libelf 0.8.x is detected. libelf 0.8 is still maintained and some distributions such as Arch Linux use it instead of elfutils. Signed-off-by: Marti Raudsepp Cc: Lucas De Marchi Cc: Peter Zijlstra Cc: Paul Mackerras Cc: Frederic Weisbecker Cc: Arnaldo Carvalho de Melo Cc: Arjan van de Ven Cc: Mike Galbraith LKML-Reference: <1256400636.3007.16.camel@newn> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed