Skip to content
Tcl Source Code View Ticket
Login

View Ticket

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.