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:
@@ -1,13 +1,15 @@
|
||||
{- use File::Spec::Functions qw/:DEFAULT rel2abs/; -}
|
||||
|
||||
IF[{- !$disabled{afalg} -}]
|
||||
IF[{- $disabled{"dynamic-engine"} -}]
|
||||
LIBS=../../libcrypto
|
||||
SOURCE[../../libcrypto]=e_afalg.c e_afalg_err.c
|
||||
ELSE
|
||||
ENGINES=afalg
|
||||
SOURCE[afalg]=e_afalg.c e_afalg_err.c
|
||||
DEPEND[afalg]=../../libcrypto
|
||||
INCLUDE[afalg]= {- rel2abs(catdir($builddir,"../../include")) -} ../../include
|
||||
ENDIF
|
||||
IF[{- !$disabled{"engine"} -}]
|
||||
IF[{- !$disabled{afalg} -}]
|
||||
IF[{- $disabled{"dynamic-engine"} -}]
|
||||
LIBS=../../libcrypto
|
||||
SOURCE[../../libcrypto]=e_afalg.c e_afalg_err.c
|
||||
ELSE
|
||||
ENGINES=afalg
|
||||
SOURCE[afalg]=e_afalg.c e_afalg_err.c
|
||||
DEPEND[afalg]=../../libcrypto
|
||||
INCLUDE[afalg]= {- rel2abs(catdir($builddir,"../../include")) -} ../../include
|
||||
ENDIF
|
||||
ENDIF
|
||||
ENDIF
|
||||
|
Reference in New Issue
Block a user