echo " "
echo "Getting the current patchlevel..." >&4
if $test -r $rsrc/patchlevel.h;then
- patchlevel=`awk '/define[ ]+PATCHLEVEL/ {print $3}' $rsrc/patchlevel.h`
- subversion=`awk '/define[ ]+SUBVERSION/ {print $3}' $rsrc/patchlevel.h`
+ patchlevel=`awk '/define[ ]+PERL_VERSION/ {print $3}' $rsrc/patchlevel.h`
+ subversion=`awk '/define[ ]+PERL_SUBVERSION/ {print $3}' $rsrc/patchlevel.h`
else
patchlevel=0
subversion=0
#ifndef __PATCHLEVEL_H_INCLUDED__
-# define PERL_REVISION 5 /* age */
-# define PERL_VERSION 5 /* epoch */
-# define PERL_SUBVERSION 55 /* generation */
+/* do not adjust the whitespace! Configure expects the numbers to be
+ * exactly on the third column */
+
+#define PERL_REVISION 5 /* age */
+#define PERL_VERSION 5 /* epoch */
+#define PERL_SUBVERSION 55 /* generation */
/* these are the old terms of reference */
-# define PATCHLEVEL PERL_VERSION
-# undef SUBVERSION /* OS/390 has a SUBVERSION in a system header */
-# define SUBVERSION PERL_SUBVERSION
+#define PATCHLEVEL PERL_VERSION
+#undef SUBVERSION /* OS/390 has a SUBVERSION in a system header */
+#define SUBVERSION PERL_SUBVERSION
/*
local_patches -- list of locally applied less-than-subversion patches.