Skip to content
Tcl Source Code View Ticket
Login

View Ticket

tclConfig.sh has no includedir param

Closed / Fixed421835ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 25 years ago
Descriptionplain2001-05-06 14:56:43
tcl on unix

tested on RedHat7.0 and OpenBSD2.8

When trying to embed tcl into something it is necessary
to use tclConfig.sh to get the information where the
libraries, etc.. are  located.  Unfortunately, there is
no param contained in tclConfig.sh to locate the
include files.  When can guess that the include files
might be located at $(TCL_PREFIX)/include but the tcl's
configure command allows one to place them anywhere
with:

configure --inlcudedir=<anywhere>

Some base packages for certain os's do this (ex. *BSD
places it in /usr/local/include/tcl8.3).  One is then
unable to find the correct include files
programatically.


Please add a param to tclConfig.sh to also locate
include files and not just the libraries.
dkf Ticket [421835ffff]: 1 change [History diff]2001-05-08 15:48:25
andreas_kupries Ticket [421835ffff]: 1 change [History diff]2001-08-24 04:42:07
mdejongplain2001-09-26 07:46:20
Logged In: YES 
user_id=90858

How does the attached patch look?
mdejongplain2001-09-26 07:46:21
File Added - 11217: includedir.patch
mdejongplain2001-11-08 10:07:25
Logged In: YES 
user_id=90858

Added TCL_INCLUDE_SPEC variable to CVS on 2001-11-07.
Log in (anonymous is fine) to add a comment.

Attachments: