Configure: rework build.info grammar and attributes
authorRichard Levitte <levitte@openssl.org>
Thu, 3 Oct 2019 21:30:58 +0000 (23:30 +0200)
committerRichard Levitte <levitte@openssl.org>
Thu, 10 Oct 2019 12:12:15 +0000 (14:12 +0200)
commit285daccdc0e20fa70ddda9ddcd1f22191425de8a
tree9835380bae24c2463342fc9cfca8ee1ddaaad589
parent12a765a5235f181c2f4992b615eb5f892c368e88
Configure: rework build.info grammar and attributes

The build.info grammar's regular expressions were a horrible read.
By assigning certain sub-expressions to variables, we hope to make
it a little more readable.

Also, the handling of build.info attributes is reworked to use a
common function instead of having copies of the same code.

Finally, the attributes are reorganized to specify if they belong with
programs, libraries, modules or scripts.  This will enable more
intricate attribute assignment in changes to come.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10088)
Configurations/common.tmpl
Configurations/descrip.mms.tmpl
Configurations/unix-Makefile.tmpl
Configurations/windows-makefile.tmpl
Configure