perf tools: Add warning when disabling perl scripting support due to missing devel...
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 26 May 2014 19:02:30 +0000 (16:02 -0300)
committerJiri Olsa <jolsa@kernel.org>
Tue, 3 Jun 2014 19:34:16 +0000 (21:34 +0200)
commit6a2f2543a1f3aa0e7766e27c30b93d164771e892
treeb8c6a1007f3b75763f06442af2bb2c14e44ee722
parent1b5726220fe16ac38eb2db43e7bc82e69f449fca
perf tools: Add warning when disabling perl scripting support due to missing devel files

We were just showing "libperl: OFF", unlike other features where we
present the user with a message helping have a feature built in.

Fix it by adding the following message:

config/Makefile:450: Missing perl devel files. Disabling perl scripting support, consider installing perl-ExtUtils-Embed

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-t7yeud34ehimlfi6pklb29p7@git.kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
tools/perf/config/Makefile