This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Make sitecustomize relocatableinc aware
authorCarl Hayter <hayter@usc.edu>
Thu, 24 Nov 2011 16:49:50 +0000 (17:49 +0100)
committerNicholas Clark <nick@ccl4.org>
Sat, 3 Dec 2011 12:34:21 +0000 (13:34 +0100)
commitc29067d7797853039f1acba2cddf71786ecd4b16
tree3c2a8bc2310ecb9528f1de4ac9ef97cb0827e71d
parent7e1dab6a61131a77ad847a43dacb66e48b0ab716
Make sitecustomize relocatableinc aware

When -Dusesitecustomize is used with -Duserelocatableinc,
SITELIB_EXP/sitecustomize.pl is not found due to SITELIB_EXP having a
'.../..' relocation path.

This patch refactors the path relocation code from S_incpush() into
S_mayberelocate() so that it can be used in both S_incpush() and in
usesitecustomize's use of SITELIB_EXP.
AUTHORS
embed.fnc
embed.h
perl.c
proto.h