Tcl Source Code

View Ticket
Login
Ticket UUID: 1252346
Title: Add framework support to TEA
Type: Patch Version: None
Submitter: joevalleyfield Created on: 2005-08-05 02:47:37
Subsystem: 85. tclconfig Assigned To: das
Priority: 5 Medium Severity:
Status: Open Last Modified: 2005-10-05 06:10:12
Resolution: None Closed By:
    Closed on:
Description:
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.
User Comments: joevalleyfield added on 2005-08-05 09:47:40:

File Added - 144496: tcl.m4.diff

Attachments: