Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2010-08-17
06:18 • Closed ticket [1636345fff]: TEA_ADD_LIBS and extension stubs plus 7 other ch... artifact: 8067582116 user: hobbs
2009-03-14
11:56 • Ticket [1636345fff]: 4 changes artifact: 9e37eec4c0 user: stwo
2007-02-09
07:14 • Ticket [1636345fff]: 4 changes artifact: 0b183fbf37 user: hobbs
2007-01-16
17:11 • Ticket [1636345fff]: 1 change artifact: d858e2207c user: dkf
00:15 • New ticket [1636345fff]. artifact: 4d5b9c397c user: pointsman

TEA_ADD_LIBS and extension stubs

Closed / Fixed1636345fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 16 years ago
Descriptionplain2007-01-16 00:15:19
If a extension use the stubs table of another extension then it seems to be not enougth, to add the used stubs table in configure.in with e.g.

TEA_ADD_LIBS([${TDOM_STUB_LIB_SPEC}])

The build tools combination TEA/cygwin/VC++ requieres something like e.g.:

if test "${TEA_PLATFORM}" = "windows" -a "$GCC" != "yes" ; then
    TEA_ADD_LIBS([\"`${CYGPATH} ${TDOM_STUB_LIB_PATH}`\"])
else
    TEA_ADD_LIBS([${TDOM_STUB_LIB_SPEC}])
fi

That magic would be better done by TEA behind the scence, after it detects the environment.
dkf Ticket [1636345fff]: 1 change [History diff]2007-01-16 17:11:55
hobbsplain2007-02-09 07:14:48
Logged In: YES 
user_id=72656
Originator: NO

You are correct that that is about the magic necessary.  I could make a macro (TEA_ADD_STUB_LIBS?), but it's a rare extension that would use it.
stwoplain2009-03-14 11:56:58
Doesn't this functionality now exist in TEA?
If so, can this be closed?
hobbsplain2010-08-17 06:18:25
allow_comments - 1

Fixed for TEA 3.9, subsumed this functionality into TEA_LOAD_CONFIG. with TEA_LOAD_CONFIG_LIB that is called automatically.
Log in (anonymous is fine) to add a comment.