Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2005-10-05
06:10 • Ticket [1252346fff] Add framework support to TEA status still Open with 1 ot... artifact: e9d90fccef user: hobbs
2005-08-05
09:47 • Ticket [1252346fff]: 4 changes artifact: 5c64a837a8 user: joevalleyfield
09:47 • Add attachment tcl.m4.diff to ticket [1252346fff] artifact: cac1c5078c user: joevalleyfield
02:47 • New ticket [1252346fff] Add framework support to TEA. artifact: 5d0fce6587 user: joevalleyfield

Add framework support to TEA

Open1252346fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2005-08-05 02:47:37
This is one possible implementation of two macros that
assist greatly in adding framework support to TCL
extensions.

TEA_Enable_Framework is a function that takes the
framework name as its argument (this may be different
that package name as package name is often all
lowercase and framework name is often title case) and
adds a feature check --enable-framework that acts like
tcl or tk or python's --enable-framework configure option.

The second macro, TEA_PACKAGE_CONFIG sets up variables
for use in the makefile and in a tclConfig.sh type of
shell script.  Credit goes to the makers of
configure.in in Itk and Itcl for the part of this not
having to do with frameworks.  Variables named like
packagename_LIB_PATH are created.  Perhaps it would be
better to do m4_upper(AC_PACKAGE_NAME)[_LIB_PATH]. 
itclConfig.sh uses lowercase names.  itkConfig.sh uses
uppercase names.
joevalleyfieldplain2005-08-05 09:47:40
File Added - 144496: tcl.m4.diff
hobbs Ticket [1252346fff]: 1 change [History diff]2005-10-05 06:10:12
Log in (anonymous is fine) to add a comment.

Attachments: