Mercurial > cpython-lru_cache-weakref
diff setup.py @ 16467:1c71aa7d5513 legacy-trunk
Patch #103578 ] _tkinter build fix for he current Debian unstable tcl/tk 8.3
packages
| author | Andrew M. Kuchling <amk@amk.ca> |
|---|---|
| date | Tue, 06 Feb 2001 22:15:27 +0000 |
| parents | ac52d3727867 |
| children | ed4338c7e8a4 |
line wrap: on
line diff
--- a/setup.py Tue Feb 06 16:14:54 2001 +0000 +++ b/setup.py Tue Feb 06 22:15:27 2001 +0000 @@ -495,14 +495,10 @@ if tklib and tcllib: # Check for the include files on Debian, where # they're put in /usr/include/{tcl,tk}X.Y - debian_tcl_include = ( '/usr/include/tcl' + version ) - debian_tk_include = ( '/usr/include/tk' + version ) - tcl_includes = find_file('tcl.h', inc_dirs, - [debian_tcl_include] - ) - tk_includes = find_file('tk.h', inc_dirs, - [debian_tk_include] - ) + debian_tcl_include = [ '/usr/include/tcl' + version ] + debian_tk_include = [ '/usr/include/tk' + version ] + debian_tcl_include + 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 tcl_includes is None or tk_includes is None):
