Deleted Added
full compact
Configure (269682) Configure (273144)
1:
2eval 'exec perl -S $0 ${1+"$@"}'
3 if $running_under_some_shell;
4##
5## Configure -- OpenSSL source tree configuration script
6##
7
8require 5.000;

--- 1753 unchanged lines hidden (view full) ---

1762 }
1763
1764open(IN,'<crypto/opensslconf.h.in') || die "unable to read crypto/opensslconf.h.in:$!\n";
1765unlink("crypto/opensslconf.h.new") || die "unable to remove old crypto/opensslconf.h.new:$!\n" if -e "crypto/opensslconf.h.new";
1766open(OUT,'>crypto/opensslconf.h.new') || die "unable to create crypto/opensslconf.h.new:$!\n";
1767print OUT "/* opensslconf.h */\n";
1768print OUT "/* WARNING: Generated automatically from opensslconf.h.in by Configure. */\n\n";
1769
1:
2eval 'exec perl -S $0 ${1+"$@"}'
3 if $running_under_some_shell;
4##
5## Configure -- OpenSSL source tree configuration script
6##
7
8require 5.000;

--- 1753 unchanged lines hidden (view full) ---

1762 }
1763
1764open(IN,'<crypto/opensslconf.h.in') || die "unable to read crypto/opensslconf.h.in:$!\n";
1765unlink("crypto/opensslconf.h.new") || die "unable to remove old crypto/opensslconf.h.new:$!\n" if -e "crypto/opensslconf.h.new";
1766open(OUT,'>crypto/opensslconf.h.new') || die "unable to create crypto/opensslconf.h.new:$!\n";
1767print OUT "/* opensslconf.h */\n";
1768print OUT "/* WARNING: Generated automatically from opensslconf.h.in by Configure. */\n\n";
1769
1770print OUT "#ifdef __cplusplus\n";
1771print OUT "extern \"C\" {\n";
1772print OUT "#endif\n";
1770print OUT "/* OpenSSL was configured with the following options: */\n";
1771my $openssl_algorithm_defines_trans = $openssl_algorithm_defines;
1772$openssl_experimental_defines =~ s/^\s*#\s*define\s+OPENSSL_NO_(.*)/#ifndef OPENSSL_EXPERIMENTAL_$1\n# ifndef OPENSSL_NO_$1\n# define OPENSSL_NO_$1\n# endif\n#endif/mg;
1773$openssl_algorithm_defines_trans =~ s/^\s*#\s*define\s+OPENSSL_(.*)/# if defined(OPENSSL_$1) \&\& !defined($1)\n# define $1\n# endif/mg;
1774$openssl_algorithm_defines =~ s/^\s*#\s*define\s+(.*)/#ifndef $1\n# define $1\n#endif/mg;
1775$openssl_algorithm_defines = " /* no ciphers excluded */\n" if $openssl_algorithm_defines eq "";
1776$openssl_thread_defines =~ s/^\s*#\s*define\s+(.*)/#ifndef $1\n# define $1\n#endif/mg;
1777$openssl_sys_defines =~ s/^\s*#\s*define\s+(.*)/#ifndef $1\n# define $1\n#endif/mg;

--- 88 unchanged lines hidden (view full) ---

1866 printf OUT "#undef BF_PTR\n" if $bf_ptr == 0;
1867 printf OUT "#define BF_PTR\n" if $bf_ptr == 1;
1868 printf OUT "#define BF_PTR2\n" if $bf_ptr == 2;
1869 }
1870 else
1871 { print OUT $_; }
1872 }
1873close(IN);
1773print OUT "/* OpenSSL was configured with the following options: */\n";
1774my $openssl_algorithm_defines_trans = $openssl_algorithm_defines;
1775$openssl_experimental_defines =~ s/^\s*#\s*define\s+OPENSSL_NO_(.*)/#ifndef OPENSSL_EXPERIMENTAL_$1\n# ifndef OPENSSL_NO_$1\n# define OPENSSL_NO_$1\n# endif\n#endif/mg;
1776$openssl_algorithm_defines_trans =~ s/^\s*#\s*define\s+OPENSSL_(.*)/# if defined(OPENSSL_$1) \&\& !defined($1)\n# define $1\n# endif/mg;
1777$openssl_algorithm_defines =~ s/^\s*#\s*define\s+(.*)/#ifndef $1\n# define $1\n#endif/mg;
1778$openssl_algorithm_defines = " /* no ciphers excluded */\n" if $openssl_algorithm_defines eq "";
1779$openssl_thread_defines =~ s/^\s*#\s*define\s+(.*)/#ifndef $1\n# define $1\n#endif/mg;
1780$openssl_sys_defines =~ s/^\s*#\s*define\s+(.*)/#ifndef $1\n# define $1\n#endif/mg;

--- 88 unchanged lines hidden (view full) ---

1869 printf OUT "#undef BF_PTR\n" if $bf_ptr == 0;
1870 printf OUT "#define BF_PTR\n" if $bf_ptr == 1;
1871 printf OUT "#define BF_PTR2\n" if $bf_ptr == 2;
1872 }
1873 else
1874 { print OUT $_; }
1875 }
1876close(IN);
1877print OUT "#ifdef __cplusplus\n";
1878print OUT "}\n";
1879print OUT "#endif\n";
1874close(OUT);
1875rename("crypto/opensslconf.h","crypto/opensslconf.h.bak") || die "unable to rename crypto/opensslconf.h\n" if -e "crypto/opensslconf.h";
1876rename("crypto/opensslconf.h.new","crypto/opensslconf.h") || die "unable to rename crypto/opensslconf.h.new\n";
1877
1878
1879# Fix the date
1880
1881print "SIXTY_FOUR_BIT_LONG mode\n" if $b64l;

--- 296 unchanged lines hidden ---
1880close(OUT);
1881rename("crypto/opensslconf.h","crypto/opensslconf.h.bak") || die "unable to rename crypto/opensslconf.h\n" if -e "crypto/opensslconf.h";
1882rename("crypto/opensslconf.h.new","crypto/opensslconf.h") || die "unable to rename crypto/opensslconf.h.new\n";
1883
1884
1885# Fix the date
1886
1887print "SIXTY_FOUR_BIT_LONG mode\n" if $b64l;

--- 296 unchanged lines hidden ---