summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6c769cf)
raw | patch | inline | side by side (parent: 6c769cf)
author | Sebastian Harl <sh@tokkee.org> | |
Tue, 20 Nov 2012 13:56:45 +0000 (14:56 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Sat, 6 Apr 2013 18:03:28 +0000 (11:03 -0700) |
… in case 'perl Makefile.PL' fails.
Fixes Github issue #290.
Signed-off-by: Florian Forster <octo@collectd.org>
Fixes Github issue #290.
Signed-off-by: Florian Forster <octo@collectd.org>
bindings/Makefile.am | patch | blob | history |
diff --git a/bindings/Makefile.am b/bindings/Makefile.am
index b2ee4c113f187630bed46ad8df73a9c8db4b81b6..07373e87a62bd67c66cee878c0c389ab8e6d1e2d 100644 (file)
--- a/bindings/Makefile.am
+++ b/bindings/Makefile.am
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