From 707059a9ad1680bf7761fd90956c719d579ce117 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 9 Mar 2016 09:05:03 +0100 Subject: [PATCH] Don't add afalg engine if configured "no-engine" Also, indent a little deeper, for clarity. Reviewed-by: Matt Caswell --- engines/afalg/build.info | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/engines/afalg/build.info b/engines/afalg/build.info index ecbc9a187e..5aba44716a 100644 --- a/engines/afalg/build.info +++ b/engines/afalg/build.info @@ -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 -- 2.25.1