Allow indented comments in build.info
authorRichard Levitte <levitte@openssl.org>
Tue, 25 Oct 2016 10:40:32 +0000 (12:40 +0200)
committerRichard Levitte <levitte@openssl.org>
Thu, 3 Nov 2016 12:13:31 +0000 (13:13 +0100)
Reviewed-by: Emilia Käsper <emilia@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1789)

Configure

index 958ac5cd0b6bd4df182a4810b70b60bd541fa58a..884f7bd1db08fbcdbd4cf3ef6c7e44cf7ec76d53 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -1592,7 +1592,7 @@ if ($builder eq "unified") {
                             || $target_kind eq $target{build_file}."(".$builder_platform.")");
                 }
             },
-            qr/^(?:#.*|\s*)$/ => sub { },
+            qr/^\s*(?:#.*)?$/ => sub { },
             "OTHERWISE" => sub { die "Something wrong with this line:\n$_\nat $sourced/$f" },
             "BEFORE" => sub {
                 if ($buildinfo_debug) {