Code

build system (Perl bindings): Make Makefile.PL's PREFIX/INSTALL_BASE optional.
authorSebastian Harl <sh@tokkee.org>
Tue, 20 Nov 2012 13:44:43 +0000 (14:44 +0100)
committerFlorian Forster <octo@collectd.org>
Sat, 6 Apr 2013 18:02:48 +0000 (11:02 -0700)
commit6c769cf76d74ac758252062668ff07037eb421f1
tree5b620ed2522446fd9743a5ef3cc7f95c2ded3e77
parent912c9b3f7c4a57fbf9ddd16db13d2651932ddb65
build system (Perl bindings): Make Makefile.PL's PREFIX/INSTALL_BASE optional.

Both options may cause problems:

 - PREFIX might clash with INSTALL_BASE being set in $PERL_MM_OPT.
 - INSTALL_BASE without any further options set will install into non-standard
   directories in many cases.

Rather, use PREFIX=${prefix} as default but overwrite that if
--with-perl-bindings=... has been used.

Thanks to faxm0dem for reporting the INSTALL_BASE problems on IRC and
bvarner and nirik for reporting this in GH #177 and #196.

This is a follow-up / fix for 97e8f346a88eccf4d1608c21d5cc6ee9620c1c41.

Fixes Github issue #290.

Signed-off-by: Florian Forster <octo@collectd.org>
bindings/Makefile.am
configure.in