Configure: avoid perl regexp bugs
authorRichard Levitte <levitte@openssl.org>
Tue, 5 May 2020 14:53:43 +0000 (16:53 +0200)
committerRichard Levitte <levitte@openssl.org>
Wed, 6 May 2020 18:16:25 +0000 (20:16 +0200)
commit4975e8b4d2cfab923d522840533334a1bbd754b8
tree7b9101a2b0e5cf204aa6b932ec3f62b68fa23bf1
parentedbb56ee4fafc07eb77747ad25278a04b89adc09
Configure: avoid perl regexp bugs

It seems that in older perl versions '(?P' doesn't interact very well
with '(?|' or '(?:'.

Since we make extensive use of '(?P' in build.info parsing, we avoid
combining that with '(?|' and '(?:' when parsing build.info variables,
and end up parsing variable modifier twice (first generally, and then
parse that result into the modifier components).

Fixes #11694

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11737)
Configure