Configure - Allow CODErefs and ARRAYrefs in configuration setting arrays
authorRichard Levitte <levitte@openssl.org>
Sat, 27 Feb 2016 10:08:21 +0000 (11:08 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 2 Mar 2016 18:15:42 +0000 (19:15 +0100)
commitb0b92a5bb5b40e9ee7ca751b4d9218ed8726bda0
treeea26f0bca852f1d87856a0528d21d830f39f4662
parented49f43a0390217e1c2df0054fb7352523be9a58
Configure - Allow CODErefs and ARRAYrefs in configuration setting arrays

This provides for more powerful lazy evaluation and buildup of the
setting contents.  For example, something like this becomes possible:

    defines => [ sub { $config{thisorthat} ? "FOO" : () } ]

Any undefined result of such functions (such as 'undef' or the empty
list) will be ignored.

Reviewed-by: Andy Polyakov <appro@openssl.org>
Configure