Don't add afalg engine if configured "no-engine"

Also, indent a little deeper, for clarity.

Reviewed-by: Matt Caswell <matt@openssl.org>
This commit is contained in:
Richard Levitte
2016-03-09 09:05:03 +01:00
parent 79fff39d71
commit 707059a9ad

View File

@@ -1,13 +1,15 @@
{- use File::Spec::Functions qw/:DEFAULT rel2abs/; -} {- use File::Spec::Functions qw/:DEFAULT rel2abs/; -}
IF[{- !$disabled{afalg} -}] IF[{- !$disabled{"engine"} -}]
IF[{- $disabled{"dynamic-engine"} -}] IF[{- !$disabled{afalg} -}]
LIBS=../../libcrypto IF[{- $disabled{"dynamic-engine"} -}]
SOURCE[../../libcrypto]=e_afalg.c e_afalg_err.c LIBS=../../libcrypto
ELSE SOURCE[../../libcrypto]=e_afalg.c e_afalg_err.c
ENGINES=afalg ELSE
SOURCE[afalg]=e_afalg.c e_afalg_err.c ENGINES=afalg
DEPEND[afalg]=../../libcrypto SOURCE[afalg]=e_afalg.c e_afalg_err.c
INCLUDE[afalg]= {- rel2abs(catdir($builddir,"../../include")) -} ../../include DEPEND[afalg]=../../libcrypto
ENDIF INCLUDE[afalg]= {- rel2abs(catdir($builddir,"../../include")) -} ../../include
ENDIF
ENDIF
ENDIF ENDIF