Tcl Source Code

View Ticket
Login
Ticket UUID: 421835
Title: tclConfig.sh has no includedir param
Type: Bug Version: obsolete: 8.4a2
Submitter: chentosh Created on: 2001-05-06 14:56:43
Subsystem: 53. Configuration and Build Tools Assigned To: mdejong
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2001-11-08 10:07:25
Resolution: Fixed Closed By: mdejong
    Closed on: 2001-11-08 03:07:25
Description:
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.
User Comments: mdejong added on 2001-11-08 10:07:25:
Logged In: YES 
user_id=90858

Added TCL_INCLUDE_SPEC variable to CVS on 2001-11-07.

mdejong added on 2001-09-26 07:46:21:

File Added - 11217: includedir.patch

mdejong added on 2001-09-26 07:46:20:
Logged In: YES 
user_id=90858

How does the attached patch look?

Attachments: