summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-02-16 22:47:54 +0000
committerNicholas Clark <nick@ccl4.org>2009-02-16 22:47:54 +0000
commita89d24b9fe54d44395806c16ac1c19f3c678cbbb (patch)
tree1706c75fc2775c551bfa733617ecb3992dbd866e /Configure
parent1fa74d9f2486a5a4ae9109d21458f9b93dfec557 (diff)
downloadperl-a89d24b9fe54d44395806c16ac1c19f3c678cbbb.tar.gz
Ignore #defines in in patchlevel.h that end the line with backslash.
(Otherwise config.sh ends up with part of PERL_VERSION_STRING, and the build chokes to a stop.)
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/Configure b/Configure
index 47ca217cb4..402ba33afa 100755
--- 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