From 5ac466c7515653ad6c931116643c31f51dabba2e Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Tue, 20 Nov 2012 14:56:45 +0100 Subject: [PATCH] bindings/Makefile: Hint the user at --with-perl-bindings. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit … in case 'perl Makefile.PL' fails. Fixes Github issue #290. Signed-off-by: Florian Forster --- bindings/Makefile.am | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/bindings/Makefile.am b/bindings/Makefile.am index b2ee4c11..07373e87 100644 --- a/bindings/Makefile.am +++ b/bindings/Makefile.am @@ -45,7 +45,13 @@ perl: buildperl/Makefile buildperl/Makefile: .perl-directory-stamp buildperl/Makefile.PL \ $(top_builddir)/config.status - cd buildperl && @PERL@ Makefile.PL @PERL_BINDINGS_OPTIONS@ + @# beautify the output a bit + @echo 'cd buildperl && @PERL@ Makefile.PL @PERL_BINDINGS_OPTIONS@' + @cd buildperl && ( if ! @PERL@ Makefile.PL @PERL_BINDINGS_OPTIONS@; then \ + echo ""; \ + echo 'Check whether you have set $$PERL_MM_OPT in your environment and try using ./configure --with-perl-bindings=""'; \ + echo ""; \ + fi ) buildperl/Makefile.PL: .perl-directory-stamp $(top_builddir)/config.status -- 2.30.2