mirror of https://github.com/python/cpython
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:
parent
62a8ee1a4a
commit
0eb21022f2
|
@ -131,6 +131,11 @@ def fix_makefile(makefile):
|
||||||
line = "CP=copy\n"
|
line = "CP=copy\n"
|
||||||
if line.startswith("MKDIR="):
|
if line.startswith("MKDIR="):
|
||||||
line = "MKDIR=mkdir\n"
|
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)
|
fout.write(line)
|
||||||
|
|
||||||
def run_configure(configure, do_script):
|
def run_configure(configure, do_script):
|
||||||
|
|
Loading…
Reference in New Issue