diff options
author | Guido van Rossum <guido@python.org> | 1996-08-08 19:08:47 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-08-08 19:08:47 (GMT) |
commit | 82df03e35f65a0ec21a589a196b4b1a493bc7530 (patch) | |
tree | e35cece2da156cd149c96715915bdb1ea1611fc4 /Modules/Setup.in | |
parent | 6554419e1ba29596651f5abe2578d9eff5696467 (diff) | |
download | cpython-82df03e35f65a0ec21a589a196b4b1a493bc7530.zip cpython-82df03e35f65a0ec21a589a196b4b1a493bc7530.tar.gz cpython-82df03e35f65a0ec21a589a196b4b1a493bc7530.tar.bz2 |
Rationalized instructions for _tkinter.c
Diffstat (limited to 'Modules/Setup.in')
-rw-r--r-- | Modules/Setup.in | 29 |
1 files changed, 12 insertions, 17 deletions
diff --git a/Modules/Setup.in b/Modules/Setup.in index 0e7634d..9aa6ab1 100644 --- a/Modules/Setup.in +++ b/Modules/Setup.in @@ -231,28 +231,23 @@ md5 md5module.c md5c.c #timing timingmodule.c -# Steen Lumholt's tkinter module. -# -# For use with plain Tk, use the first line. -# -# For use with extended Tk (i.e. if you have added extra widgets to -# the Tk library, such as the common "studButton" and "triButton" -# extensions), edit tkappinit.c, add appropriate -DWITH_... and -# libraries/objects to the second line, and use that. -# -# Make sure to edit the -l arguments to use the correct versions! -# -# In all cases also enable the last line (TKPATH). +# The _tkinter module. # # See the section "The Tk interface" in ../README for more info. +# +# Enable the TKPATH line and choose the most applicable _tkinter line. +# You may have to change /usr/local to wherever Tcl/Tk are installed. +# Change the -l arguments to use Tcl 7.4 and Tk 4.0! -# *** Use ONE of the following two lines, see previous comments *** -#_tkinter _tkinter.c -I/usr/local/include -L/usr/local/lib -ltk4.1 -ltcl7.5 -lX11 -#_tkinter _tkinter.c tkappinit.c -DWITH_APPINIT -I/usr/local/include -L/usr/local/lib -ltk4.1 -ltcl7.5 -lX11 - -# *** ALWAYS use this line as well *** +# *** ALWAYS enable this line: #TKPATH=:$(DESTLIB)/tkinter +# *** Enable *one* of the following lines: +# For Solaris: +#_tkinter _tkinter.c -I/usr/openwin/include -I/usr/local/include -L/usr/openwin/lib -L/usr/local/lib -ltk4.1 -ltcl7.5 -lX11 +# For generic system (may have to add -I/-L options to find X11): +#_tkinter _tkinter.c -I/usr/local/include -L/usr/local/lib -ltk4.1 -ltcl7.5 -lX11 + # Lance Ellinghaus's modules: |