1--- origsrc/setup.py 2008-02-04 17:41:02.000000000 -0600
2+++ src/setup.py 2008-07-02 02:11:28.671875000 -0500
3@@ -1277,12 +1279,6 @@
4 include_dirs.append('/usr/X11/include')
5 added_lib_dirs.append('/usr/X11/lib')
6
7- # If Cygwin, then verify that X is installed before proceeding
8- if host_platform == 'cygwin':
9- x11_inc = find_file('X11/Xlib.h', [], include_dirs)
10- if x11_inc is None:
11- return
12-
13 # Check for BLT extension
14 if self.compiler.find_library_file(lib_dirs + added_lib_dirs,
15 'BLT8.0'):
16@@ -1300,9 +1296,8 @@
17 if host_platform in ['aix3', 'aix4']:
18 libs.append('ld')
19
20- # Finally, link with the X11 libraries (not appropriate on cygwin)
21- if host_platform != "cygwin":
22- libs.append('X11')
23+ # Finally, link with the X11 libraries
24+ libs.append('X11')
25
26 ext = Extension('_tkinter', ['_tkinter.c', 'tkappinit.c'],
27 define_macros=[('WITH_APPINIT', 1)] + defs,