Only build the body of e_padlock when there are lower level routines
[openssl.git] / Configure
index 307b1d8ac472790099128fbd7103ff9b7deea3b1..2bdf87b243f2157a4028da9cef6dd5211dbe0def 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -401,6 +401,7 @@ my @disablables = (
     "ssl-trace",
     "static-engine",
     "stdio",
+    "tests",
     "threads",
     "tls",
     "ts",
@@ -1205,6 +1206,9 @@ unless ($disabled{asm}) {
     if ($target{ec_asm_src} =~ /ecp_nistz256/) {
        push @{$config{defines}}, "ECP_NISTZ256_ASM";
     }
+    if ($target{padlock_asm_src} ne $table{DEFAULTS}->{padlock_asm_src}) {
+       push @{$config{defines}}, "PADLOCK_ASM";
+    }
     if ($target{poly1305_asm_src} ne "") {
        push @{$config{defines}}, "POLY1305_ASM";
     }