diff options
author | Matt Caswell <matt@openssl.org> | 2016-02-29 13:36:47 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-03-07 13:36:17 +0000 |
commit | 8da00a38cd931f66ad4f1aaae6003d4dd6bc65c0 (patch) | |
tree | 075b48fd09a982479fbc5eb0ad8d8aa94085e0f4 /Configure | |
parent | 6cba4a66619dfb2c5cb784fe5aa5677cafbf9a33 (diff) |
Misc afalg build fixes
Misc afalg build fixes as suggested by Richard Levitte for the latest
Configure changes.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1183,14 +1183,17 @@ if ($target =~ m/^linux/) { my ($ma, $mi1, $mi2) = split("\\.", $verstr); ($mi2) = $mi2 =~ /(\d+)/; my $ver = $ma*10000 + $mi1*100 + $mi2; - if ($ver >= $minver) { - $config{afalg}="afalg"; + if ($ver < $minver) { + $disabled{afalg} = "too-old-kernel"; } else { - push @{$config{openssl_other_defines}}, "OPENSSL_NO_AFALGENG"; + push @{$config{engdirs}}, "afalg"; } } +} else { + $disabled{afalg} = "not-linux"; } -push @{$config{engdirs}}, $config{afalg}; + +push @{$config{openssl_other_defines}}, "OPENSSL_NO_AFALGENG" if ($disabled{afalg}); # If we use the unified build, collect information from build.info files my %unified_info = (); |