Configure: Add support for variables in build.info files
authorRichard Levitte <levitte@openssl.org>
Wed, 12 Jun 2019 10:03:31 +0000 (12:03 +0200)
committerRichard Levitte <levitte@openssl.org>
Fri, 14 Jun 2019 22:34:02 +0000 (00:34 +0200)
commit26fe9b07d8b77a937002c699fd2323d614ee5349
treea84390e2007b1109411f83cea7dee143a9f1f7a0
parentaff96597363766402ada4291d31a7e84b22fb1e0
Configure: Add support for variables in build.info files

Variables have the syntax defined with this regular expression:

    \$([[:alpha:]_][[:alnum:]_]*)

They are always local to the build.info they are defined in, and are
defined like this:

    $VAR=text

Expansion is done very simply, any reference to the variable (with the
exact same variable syntax) is replaced with its defined value.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9144)
Configure