diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf index 6c73d9f4ec..a0a9e175e1 100644 --- a/Configurations/10-main.conf +++ b/Configurations/10-main.conf @@ -679,6 +679,7 @@ my %targets = ( shared_cflag => "-fPIC", shared_ldflag => "-Wl,-znodelete", shared_extension => ".so.\$(SHLIB_VERSION_NUMBER)", + enable => [ "afalgeng" ], }, "linux-generic64" => { inherit_from => [ "linux-generic32" ], diff --git a/Configure b/Configure index adb098e7fa..ca90a752f5 100755 --- a/Configure +++ b/Configure @@ -1518,7 +1518,7 @@ unless ($disabled{"crypto-mdebug-backtrace"}) unless ($disabled{afalgeng}) { $config{afalgeng}=""; - if ($target =~ m/^linux/) { + if (grep { $_ eq 'afalgeng' } @{$target{enable}}) { my $minver = 4*10000 + 1*100 + 0; if ($config{CROSS_COMPILE} eq "") { my $verstr = `uname -r`;