diff options
author | clucey <catriona.lucey@intel.com> | 2016-02-17 13:38:36 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-03-07 13:36:17 +0000 |
commit | 7f458a48ff3a231d5841466525d2aacbcd4f6b77 (patch) | |
tree | 85f066e1efad61b09242ec27d23f300ae9742fa9 /Configure | |
parent | b63447c1150f659cfc54ed290df33345e8ce7cbd (diff) |
ALG: Add AFALG engine
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1175,6 +1175,19 @@ else { $no_user_defines=1; } # ALL MODIFICATIONS TO %config and %target MUST BE DONE FROM HERE ON +$config{afalg}=""; +if ($target =~ m/^linux/) { + my $minver = 4*10000 + 1*100 + 0; + if ($config{cross_compile_prefix} eq "") { + my $verstr = `uname -r`; + my ($ma, $mi1, $mi2) = split("\\.", $verstr); + ($mi2) = $mi2 =~ /(\d+)/; + my $ver = $ma*10000 + $mi1*100 + $mi2; + $config{afalg}="afalg" if ($ver >= $minver); + } +} +push @{$config{engdirs}}, $config{afalg}; + # If we use the unified build, collect information from build.info files my %unified_info = (); |