Configure: Add read_eval_file, a general purpose perl file reader/evaluator
authorRichard Levitte <levitte@openssl.org>
Fri, 1 Dec 2017 14:29:05 +0000 (15:29 +0100)
committerRichard Levitte <levitte@openssl.org>
Tue, 12 Dec 2017 16:18:07 +0000 (17:18 +0100)
commit3b6c4b07364797566c2c1fd75e499b2d9dd73506
treee3b38e114678fc4512900c204aea0eae0fc55dfc
parentcbade36108267fc551d0ec50d897a954b55672ac
Configure: Add read_eval_file, a general purpose perl file reader/evaluator

It will return the last expression from the input file.

We also use this in read_config, which slightly changes what's
expected of Configurations/*.conf.  They do not have to assign
%targets specifically.  On the other hand, the table of configs MUST
be the last expression in each of those files.

Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4840)
Configurations/00-base-templates.conf
Configurations/10-main.conf
Configurations/50-djgpp.conf
Configurations/50-haiku.conf
Configurations/50-masm.conf
Configurations/90-team.conf
Configure