]> granicus.if.org Git - python/commitdiff
Rearrange the -I flags for compiling _tkinter.c so that
authorGuido van Rossum <guido@python.org>
Mon, 25 Jan 1999 21:38:29 +0000 (21:38 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 25 Jan 1999 21:38:29 +0000 (21:38 +0000)
/usr/local/include comes before /usr/X11R1/include.  On some Linux
distributions the latter apparently contains (standard!) a bad tcl.h
or tk.h.

Modules/Setup.in

index 8a0527018f02ff4b5ca392c24dee96dc9ddce5c7..d6a9359bd7a2405dfe16f4c8c3405de5023a8b06 100644 (file)
@@ -274,12 +274,12 @@ TKPATH=:lib-tk
 
 # *** Always uncomment this (leave the leading underscore in!):
 # _tkinter _tkinter.c tkappinit.c -DWITH_APPINIT \
+# *** Uncomment and edit to reflect where your Tcl/Tk headers are:
+#      -I/usr/local/include \
 # *** Uncomment and edit to reflect where your X11 header files are:
 #      -I/usr/X11R6/include \
 # *** Or uncomment this for Solaris:
 #      -I/usr/openwin/include \
-# *** Uncomment and edit to reflect where your Tcl/Tk headers are:
-#      -I/usr/local/include \
 # *** Uncomment and edit for Tix extension only:
 #      -DWITH_TIX -ltix4.1.8.0 \
 # *** Uncomment and edit for BLT extension only: