summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorGisle Aas <gisle@activestate.com>2006-03-30 12:13:54 +0000
committerGisle Aas <gisle@activestate.com>2006-03-30 12:13:54 +0000
commitc95d0e17d41adab48cd67f4e46a8183fa17438e1 (patch)
tree746eb3bfb41a8f587baeb4e9475a366619927bdd /perl.c
parenta314697d77d1e36849713cf4fbc8ebb62fedbf78 (diff)
downloadperl-c95d0e17d41adab48cd67f4e46a8183fa17438e1.tar.gz
Introduce d_sitearch and d_inc_version_list config.sh variables.
These allow me to set sitearch and sitelib to be the same without ending up with duplicate entries in @INC. Basically the same way the old d_archlib variable is used. p4raw-id: //depot/perl@27632
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl.c b/perl.c
index 7e0f842233..9fe9f1e8c6 100644
--- a/perl.c
+++ b/perl.c
@@ -4781,7 +4781,8 @@ S_init_perllib(pTHX)
# endif
#endif
-#ifdef SITELIB_STEM /* Search for version-specific dirs below here */
+#if defined(SITELIB_STEM) && defined(PERL_INC_VERSION_LIST)
+ /* Search for version-specific dirs below here */
incpush(SITELIB_STEM, FALSE, TRUE, TRUE, TRUE);
#endif