summaryrefslogtreecommitdiff
path: root/util/bat.sh
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2003-01-30 17:39:26 +0000
committerRichard Levitte <levitte@openssl.org>2003-01-30 17:39:26 +0000
commit0b13e9f055d3f7be066dc2e89fc9f9822b12eca7 (patch)
tree633b5d3e4c9356eaf9816541aaa079a0c3be9194 /util/bat.sh
parent96f7065f6392e19f1449578aaeabb8dc39294fa7 (diff)
downloadopenssl-new-0b13e9f055d3f7be066dc2e89fc9f9822b12eca7.tar.gz
Add the possibility to build without the ENGINE framework.
PR: 287
Diffstat (limited to 'util/bat.sh')
-rwxr-xr-xutil/bat.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/bat.sh b/util/bat.sh
index c6f48e8a7b..4d9a8287d0 100755
--- a/util/bat.sh
+++ b/util/bat.sh
@@ -62,6 +62,7 @@ sub var_add
local($dir,$val)=@_;
local(@a,$_,$ret);
+ return("") if $no_engine && $dir =~ /\/engine/;
return("") if $no_idea && $dir =~ /\/idea/;
return("") if $no_rc2 && $dir =~ /\/rc2/;
return("") if $no_rc4 && $dir =~ /\/rc4/;
@@ -116,6 +117,7 @@ sub var_add
@a=grep(!/(^sha1)|(_sha1$)|(m_dss1$)/,@a) if $no_sha1;
@a=grep(!/_mdc2$/,@a) if $no_mdc2;
+ @a=grep(!/^engine$/,@a) if $no_engine;
@a=grep(!/(^rsa$)|(^genrsa$)|(^req$)|(^ca$)/,@a) if $no_rsa;
@a=grep(!/(^dsa$)|(^gendsa$)|(^dsaparam$)/,@a) if $no_dsa;
@a=grep(!/^gendsa$/,@a) if $no_sha1;