Rationalized instructions for _tkinter.c

This commit is contained in:
Guido van Rossum 1996-08-08 19:08:47 +00:00
parent 6554419e1b
commit 82df03e35f
1 changed files with 12 additions and 17 deletions

View File

@ -231,28 +231,23 @@ md5 md5module.c md5c.c
#timing timingmodule.c #timing timingmodule.c
# Steen Lumholt's tkinter module. # The _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).
# #
# See the section "The Tk interface" in ../README for more info. # 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 *** # *** ALWAYS enable this line:
#_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 ***
#TKPATH=:$(DESTLIB)/tkinter #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: # Lance Ellinghaus's modules: