Skip to content
Tcl Source Code View Ticket
Login

View Ticket

TEA_PUBLIC_TCL_HEADERS: uninstalled Tcl

Closed / Accepted1245329fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2005-07-26 15:31:10
TEA_PUBLIC_TCL_HEADERS has
problems similar to those of
TEA_PROG_TCLSH getting
corrected in 1160114.

What's wanted by an extension is
the location of the header files that
match the tclConfig.sh file found.
A check for "Makefile" in $TCL_BIN_DIR
is the way to distinguish between an
installed tclConfig.sh and an uninstalled
one.  The best search order for header
files is different in those cases.

The current list of directories searched
by TEA_PUBLIC_TCL_HEADERS
for tcl.h works well for installed Tcl,
but can point to headers of the wrong
version of Tcl, when an uninstalled
tclConfig.sh file forms the configuration
basis.
dgpplain2005-07-26 23:03:57
Logged In: YES 
user_id=80530


Here's a patch.  If this looks
acceptable, similar changes to
TEA_PUBLIC_TK_HEADERS
should also be done.
dgpplain2005-07-26 23:04:02
File Added - 143369: 1245329.patch
dgp Ticket [1245329fff]: 2 changes [History diff]2005-07-26 23:05:29
jenglishplain2005-11-15 05:06:35
Logged In: YES 
user_id=68433

Looks reasonable -- but is there any reason to check in
${TCL_BIN_DIR}/../include (i.e., relative to the location of
tclConfig.sh)?
dgpplain2005-12-06 00:27:46
Logged In: YES 
user_id=80530


this just bit me again.
taking action...

Updated patch covers Tk
header search as well as Tcl.
dgpplain2005-12-06 00:27:47
File Deleted - 143369: 



File Added - 158728: 1245329.patch
dgpplain2005-12-06 00:33:09
Logged In: YES 
user_id=80530

committed.
Log in (anonymous is fine) to add a comment.

Attachments: