perf tools: Don't try to build python bindings if Python.h not available
commit978f626c4e5b9524d1898788d8e34d86dfa00795
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 1 Feb 2011 18:40:51 +0000 (1 16:40 -0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 1 Feb 2011 18:40:51 +0000 (1 16:40 -0200)
treeb53b75b013c699e601cf809e6a10a59aeb02b4e9
parent0015e2e101f5fd3256ab8b5a374c0e8806098871
perf tools: Don't try to build python bindings if Python.h not available

Just leverage the test done for python support in 'python script',
emitting a warning about losing those features if python-dev[el] is not
installed.

Reported-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile