diff options
author | Gisle Aas <gisle@activestate.com> | 2006-03-30 12:13:54 +0000 |
---|---|---|
committer | Gisle Aas <gisle@activestate.com> | 2006-03-30 12:13:54 +0000 |
commit | c95d0e17d41adab48cd67f4e46a8183fa17438e1 (patch) | |
tree | 746eb3bfb41a8f587baeb4e9475a366619927bdd /perl.c | |
parent | a314697d77d1e36849713cf4fbc8ebb62fedbf78 (diff) | |
download | perl-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |