From: Nicholas Clark Date: Mon, 16 Feb 2009 22:47:54 +0000 (+0000) Subject: Ignore #defines in in patchlevel.h that end the line with backslash. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a89d24b9fe54d44395806c16ac1c19f3c678cbbb;p=p5sagit%2Fp5-mst-13.2.git 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.) --- diff --git a/Configure b/Configure index 47ca217..402ba33 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