This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fa74d9
)
Ignore #defines in in patchlevel.h that end the line with backslash.
author
Nicholas Clark
<nick@ccl4.org>
Mon, 16 Feb 2009 22:47:54 +0000
(22:47 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Mon, 16 Feb 2009 22:47:54 +0000
(22:47 +0000)
(Otherwise config.sh ends up with part of PERL_VERSION_STRING, and the build
chokes to a stop.)
Configure
patch
|
blob
|
blame
|
history
diff --git
a/Configure
b/Configure
index
47ca217
..
402ba33
100755
(executable)
--- a/
Configure
+++ b/
Configure
@@
-23167,7
+23167,7
@@
$test -f UU/cmdline.opt && $cat UU/cmdline.opt >> config.sh
: add special variables
$test -f $src/patchlevel.h && \
-awk '/^#define[ ]+PERL_/ {printf "%s=%s\n",$2,$3}' $src/patchlevel.h >>config.sh
+awk '/^#define[ ]+PERL_
.*[^\\]$
/ {printf "%s=%s\n",$2,$3}' $src/patchlevel.h >>config.sh
echo "PERL_PATCHLEVEL='$perl_patchlevel'" >>config.sh
echo "PERL_CONFIG_SH=true" >>config.sh