Implemented request from Marc-Andre Lemburg

For license reasons Python must not ship with IDEA, RC5 and MDC2. The latter are disabled by default but IDEA is enabled by default.
This commit is contained in:
Christian Heimes 2007-11-23 17:32:38 +00:00
parent 62a8ee1a4a
commit 0eb21022f2
1 changed files with 5 additions and 0 deletions

View File

@ -131,6 +131,11 @@ def fix_makefile(makefile):
line = "CP=copy\n"
if line.startswith("MKDIR="):
line = "MKDIR=mkdir\n"
if line.startswith("CFLAG="):
for algo in ("RC5", "MDC2", "IDEA"):
noalgo = " -DOPENSSL_NO_%s" % algo
if noalgo not in line:
line = line + noalgo
fout.write(line)
def run_configure(configure, do_script):