diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-01-09 22:27:19 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-01-09 22:27:19 +0000 |
commit | 273cf8d1f309172b4416e78e4a8e80c12d941254 (patch) | |
tree | 641986755e0e9fcd423ac9000b67cb3688ec8cec /patchlevel.h | |
parent | 97404f98a6349e3129d8b12b25786316a12e66dc (diff) | |
download | perl-273cf8d1f309172b4416e78e4a8e80c12d941254.tar.gz |
more changes for new-style version numbers (versions numbers on
the filesystem look like 5.5.640, except on DOS-DJGPP and VMS where
they look like 5_5_640; delete @Config{pm_apiversion,xs_apiversion};
split $Config{apiversion} into three, @Config{apirevision,apiversion,
apisubversion} for CPP friendliness; $Config{sitelib} now defaults
to .../site_perl/$version, just like $Config{privlib}, making sitelib
completely independent across versions and substantially eliminating
chances of breaking older installations by overwriting newly built
extensions; all this means compatibility inclusions for @INC will need
to take into account older sitelib versions (this still TODO)
windows, vms, dos tweaks for the above
p4raw-id: //depot/perl@4773
Diffstat (limited to 'patchlevel.h')
-rw-r--r-- | patchlevel.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/patchlevel.h b/patchlevel.h index d0fa32d768..e25b1308bf 100644 --- a/patchlevel.h +++ b/patchlevel.h @@ -7,18 +7,17 @@ #define PERL_VERSION 5 /* epoch */ #define PERL_SUBVERSION 640 /* generation */ -/* Compatibility across versions: MakeMaker will install add-on - modules in a directory with the PERL_APIVERSION version number. +/* The following numbers describe the earliest compatible version of + Perl ("compatibility" here being defined as sufficient binary/API + compatibility to run XS code built with the older version). Normally this should not change across maintenance releases. - perl.c:incpush() and lib/lib.pm will automatically search older - directories across major versions back to to PERL_XS_APIVERSION - for XS modules and back to PERL_PM_APIVERSION for pure PERL modules. - (Since the versioned directory layout didn't start until 5.005, - that's the earliest these can go back. - See INSTALL for how this works. + This is used by Configure et al to figure out which version libraries + are legal to include in @INC. See INSTALL for how this works. */ -#define PERL_APIVERSION 5.00564 /* Adjust manually as needed. */ +#define PERL_API_REVISION 5 /* Adjust manually as needed. */ +#define PERL_API_VERSION 5 /* Adjust manually as needed. */ +#define PERL_API_SUBVERSION 640 /* Adjust manually as needed. */ #define __PATCHLEVEL_H_INCLUDED__ #endif |