X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=bindings%2FMakefile.am;h=07373e87a62bd67c66cee878c0c389ab8e6d1e2d;hp=50cd727fc9030be20efd30f3b856c8c0baf814e7;hb=ad0a12907bf80b4f0deec217b8379dd08c490dbc;hpb=7a6887ad7eef33e04bcb0720c213d05fd9be8a59 diff --git a/bindings/Makefile.am b/bindings/Makefile.am index 50cd727f..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 INSTALL_BASE=$(DESTDIR)$(prefix) @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