This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Integrate with Sarathy.
[perl5.git] / patchlevel.h
CommitLineData
f7d144c8 1#ifndef __PATCHLEVEL_H_INCLUDED__
4d8076ea 2
a9fb271f
GS
3/* do not adjust the whitespace! Configure expects the numbers to be
4 * exactly on the third column */
5
6#define PERL_REVISION 5 /* age */
7#define PERL_VERSION 5 /* epoch */
a7cb1f99 8#define PERL_SUBVERSION 640 /* generation */
4d8076ea 9
273cf8d1
GS
10/* The following numbers describe the earliest compatible version of
11 Perl ("compatibility" here being defined as sufficient binary/API
12 compatibility to run XS code built with the older version).
75347591 13 Normally this should not change across maintenance releases.
75347591 14
273cf8d1
GS
15 This is used by Configure et al to figure out which version libraries
16 are legal to include in @INC. See INSTALL for how this works.
75347591 17*/
273cf8d1
GS
18#define PERL_API_REVISION 5 /* Adjust manually as needed. */
19#define PERL_API_VERSION 5 /* Adjust manually as needed. */
20#define PERL_API_SUBVERSION 640 /* Adjust manually as needed. */
75347591 21
e3321bb0
GS
22#define __PATCHLEVEL_H_INCLUDED__
23#endif
24
7f0a50ff 25/*
26 local_patches -- list of locally applied less-than-subversion patches.
27 If you're distributing such a patch, please give it a name and a
28 one-line description, placed just before the last NULL in the array
29 below. If your patch fixes a bug in the perlbug database, please
30 mention the bugid. If your patch *IS* dependent on a prior patch,
31 please place your applied patch line after its dependencies. This
32 will help tracking of patch dependencies.
33
34 Please edit the hunk of diff which adds your patch to this list,
35 to remove context lines which would give patch problems. For instance,
36 if the original context diff is
37 *** patchlevel.h.orig <date here>
38 --- patchlevel.h <date here>
39 *** 38,43 ***
40 --- 38,44 ---
41 ,"FOO1235 - some patch"
42 ,"BAR3141 - another patch"
43 ,"BAZ2718 - and another patch"
44 + ,"MINE001 - my new patch"
45 ,NULL
46 };
47
48 please change it to
49 *** patchlevel.h.orig <date here>
50 --- patchlevel.h <date here>
51 *** 41,43 ***
52 --- 41,44 ---
53 + ,"MINE001 - my new patch"
54 };
55
56 (Note changes to line numbers as well as removal of context lines.)
57 This will prevent patch from choking if someone has previously
58 applied different patches than you.
59 */
e3321bb0 60#if !defined(PERL_PATCHLEVEL_H_IMPLICIT) && !defined(LOCAL_PATCH_COUNT)
7f0a50ff 61static char *local_patches[] = {
62 NULL
63 ,NULL
64};
65
b33f1439 66/* Initial space prevents this variable from being inserted in config.sh */
67# define LOCAL_PATCH_COUNT \
7f0a50ff 68 (sizeof(local_patches)/sizeof(local_patches[0])-2)
f7d144c8 69
cceca5ed 70/* the old terms of reference, add them only when explicitly included */
cceca5ed
GS
71#define PATCHLEVEL PERL_VERSION
72#undef SUBVERSION /* OS/390 has a SUBVERSION in a system header */
73#define SUBVERSION PERL_SUBVERSION
74#endif