From 8ff1ab68ba2cb073c328fe540161080d146e0daf Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Tue, 3 Jul 2012 13:07:22 -0500 Subject: [PATCH 2/3] perf: add 'libperl not found' warning If libperl isn't found, display a message to that effect along with some hints on how to fix it. Signed-off-by: Tom Zanussi diff --git a/tools/perf/Makefile b/tools/perf/Makefile index cc3b54d..a22cee9 100644 --- a/tools/perf/Makefile +++ b/tools/perf/Makefile @@ -694,6 +694,7 @@ else FLAGS_PERL_EMBED=$(PERL_EMBED_CCOPTS) $(PERL_EMBED_LDOPTS) ifneq ($(call try-cc,$(SOURCE_PERL_EMBED),$(FLAGS_PERL_EMBED),perl),y) + msg := $(warning libperl not found, disables Perl scripting support. Please install libperl-dev or perl-devel); BASIC_CFLAGS += -DNO_LIBPERL else ALL_LDFLAGS += $(PERL_EMBED_LDFLAGS)