Add RFC 3779 support.
[openssl.git] / Configure
index 2eba60da8242d6f2460158cc32ed3804bc75c537..6eb7f96e6c14fe90fb446f1e68a1ed94bac654d0 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -579,6 +579,7 @@ my $threads=0;
 my $no_shared=0; # but "no-shared" is default
 my $zlib=1;      # but "no-zlib" is default
 my $no_krb5=0;   # but "no-krb5" is implied unless "--with-krb5-..." is used
+my $rfc3779=1;  # but "no-rfc3779" is default
 my $no_asm=0;
 my $no_dso=0;
 my $no_gmp=0;
@@ -614,6 +615,7 @@ my %disabled = ( # "what"         => "comment"
                 "gmp"            => "default",
                  "mdc2"           => "default",
                  "rc5"            => "default",
+                "rfc3779"        => "default",
                  "shared"         => "default",
                  "zlib"           => "default",
                  "zlib-dynamic"   => "default"
@@ -901,6 +903,8 @@ foreach (sort (keys %disabled))
                { $symlink = 0; }
        elsif (/^sse2$/)
                { $no_sse2 = 1; }
+       elsif (/^rfc3779$/)
+               { $rfc3779 = 0; }
        else
                {
                my ($ALGO, $algo);
@@ -1137,6 +1141,11 @@ if ($zlib)
                }
        }
 
+if ($rfc3779)
+       {
+       $openssl_other_defines.="#define OPENSSL_RFC3779\n";
+       }
+
 # You will find shlib_mark1 and shlib_mark2 explained in Makefile.org
 my $shared_mark = "";
 if ($shared_target eq "")