The last character of inconsistency in my recent commits is hereby
[openssl.git] / Configure
index 1c00b7fdf1f1d0807ecee90036494d534ea57160..084e7afce97094a5d5297d66132ce70dd5f597b4 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -1117,6 +1117,17 @@ else
        $no_shared = 1;
        }
 
+if ($no_shared)
+       {
+       $cflags="-DOPENSSL_NO_DYNAMIC_ENGINE $cflags";
+       $openssl_other_defines.="#define OPENSSL_NO_DYNAMIC_ENGINE\n";
+       }
+else
+       {
+       $cflags="-DOPENSSL_NO_STATIC_ENGINE $cflags";
+       $openssl_other_defines.="#define OPENSSL_NO_STATIC_ENGINE\n";
+       }
+
 if ($sys_id ne "")
        {
        $cflags="-DOPENSSL_SYSNAME_$sys_id $cflags";