This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
undo change#5506; add patch to make blank line warnings optional
[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 */
93342173 8#define PERL_SUBVERSION 670 /* 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
ea3df0f8
GS
15 Note that this only refers to an out-of-the-box build. Many non-default
16 options such as usemultiplicity tend to break binary compatibility
17 more often.
18
ff935051
JH
19 This is used by Configure et al to figure out
20 PERL_INC_VERSION_LIST, which lists version libraries
21 to include in @INC. See INSTALL for how this works.
75347591 22*/
273cf8d1
GS
23#define PERL_API_REVISION 5 /* Adjust manually as needed. */
24#define PERL_API_VERSION 5 /* Adjust manually as needed. */
ea3df0f8 25#define PERL_API_SUBVERSION 0 /* Adjust manually as needed. */
ff935051
JH
26/*
27 XXX Note: The selection of non-default Configure options, such
28 as -Duselonglong may invalidate these settings. Currently, Configure
29 does not adequately test for this. A.D. Jan 13, 2000
30*/
75347591 31
e3321bb0
GS
32#define __PATCHLEVEL_H_INCLUDED__
33#endif
34
7f0a50ff
PP
35/*
36 local_patches -- list of locally applied less-than-subversion patches.
37 If you're distributing such a patch, please give it a name and a
38 one-line description, placed just before the last NULL in the array
39 below. If your patch fixes a bug in the perlbug database, please
40 mention the bugid. If your patch *IS* dependent on a prior patch,
41 please place your applied patch line after its dependencies. This
42 will help tracking of patch dependencies.
43
44 Please edit the hunk of diff which adds your patch to this list,
45 to remove context lines which would give patch problems. For instance,
46 if the original context diff is
47 *** patchlevel.h.orig <date here>
48 --- patchlevel.h <date here>
49 *** 38,43 ***
50 --- 38,44 ---
51 ,"FOO1235 - some patch"
52 ,"BAR3141 - another patch"
53 ,"BAZ2718 - and another patch"
54 + ,"MINE001 - my new patch"
55 ,NULL
56 };
57
58 please change it to
59 *** patchlevel.h.orig <date here>
60 --- patchlevel.h <date here>
61 *** 41,43 ***
62 --- 41,44 ---
63 + ,"MINE001 - my new patch"
64 };
65
66 (Note changes to line numbers as well as removal of context lines.)
67 This will prevent patch from choking if someone has previously
68 applied different patches than you.
69 */
e3321bb0 70#if !defined(PERL_PATCHLEVEL_H_IMPLICIT) && !defined(LOCAL_PATCH_COUNT)
b21babef 71static char * __attribute__ ((unused)) local_patches[] = {
7f0a50ff
PP
72 NULL
73 ,NULL
74};
75
b33f1439
PP
76/* Initial space prevents this variable from being inserted in config.sh */
77# define LOCAL_PATCH_COUNT \
7f0a50ff 78 (sizeof(local_patches)/sizeof(local_patches[0])-2)
f7d144c8 79
cceca5ed 80/* the old terms of reference, add them only when explicitly included */
cceca5ed
GS
81#define PATCHLEVEL PERL_VERSION
82#undef SUBVERSION /* OS/390 has a SUBVERSION in a system header */
83#define SUBVERSION PERL_SUBVERSION
84#endif