4172d14
--- matplotlib-0.87.7/setup.py.fix	2006-11-20 19:49:56.000000000 -0900
4172d14
+++ matplotlib-0.87.7/setup.py	2006-11-20 19:51:03.000000000 -0900
4172d14
@@ -251,16 +251,9 @@
4172d14
         print 'Tkinter present but import failed'
4172d14
         BUILD_TKAGG = 0
4172d14
     else:
4172d14
-        try:
4172d14
-            tk = Tkinter.Tk()
4172d14
-            tk.withdraw()
4172d14
-        except Tkinter.TclError:
4172d14
-            print 'Tkinter present, but window failed to open'
4172d14
-            BUILD_TKAGG = 0
4172d14
-        else:
4172d14
-            BUILD_AGG = 1
4172d14
-            build_tkagg(ext_modules, packages, NUMERIX)
4172d14
-            rc['backend'] = 'TkAgg'
4172d14
+        BUILD_AGG = 1
4172d14
+        build_tkagg(ext_modules, packages, NUMERIX)
4172d14
+        rc['backend'] = 'TkAgg'
4172d14
 
4172d14
 if BUILD_WXAGG:
4172d14
     try: