From: Martin v. Löwis Date: Sun, 18 May 2003 13:40:03 +0000 (+0000) Subject: Correct typo in check for _tkinter prerequisites. Backport of 1.162. X-Git-Tag: v2.2.3c1~33 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f1e89b1fc73f7b9647977f92c7b0c937139903d6;p=thirdparty%2FPython%2Fcpython.git Correct typo in check for _tkinter prerequisites. Backport of 1.162. --- diff --git a/setup.py b/setup.py index b18349875d4b..c1eb84840dae 100644 --- a/setup.py +++ b/setup.py @@ -716,7 +716,7 @@ class PyBuildExt(build_ext): tcl_includes = find_file('tcl.h', inc_dirs, debian_tcl_include) tk_includes = find_file('tk.h', inc_dirs, debian_tk_include) - if (tcllib is None or tklib is None and + if (tcllib is None or tklib is None or tcl_includes is None or tk_includes is None): # Something's missing, so give up return