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:
- tcl.m4.diff [download] added by joevalleyfield on 2005-08-05 09:47:38. [details]