Differences From Artifact [9210ecc7cd]:
- File
kitsh/buildsrc/kitsh-0.0/kitInit.c
— part of check-in
[ea89461e7c]
at
2010-09-26 04:38:55
on branch trunk
— Updated to check for define subprojects working as found
Updated to only link against C++ libs if Mk4tcl worked
Updated to check for MK4TCL available before referencing it
Added SunStudio C++ libraries (user: rkeene, size: 6095) [annotate] [blame] [check-ins using]
To Artifact [943ad6fb25]:
- File
kitsh/buildsrc/kitsh-0.0/kitInit.c
— part of check-in
[636da30116]
at
2010-09-26 04:39:19
on branch trunk
— Corrected check for mk4tcl to actually be functional
Removed support of "config.h" and started passing all defines on the command line (user: rkeene, size: 6095) [annotate] [blame] [check-ins using]
︙ | |||
33 34 35 36 37 38 39 | 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | - + | #include "tclInt.h" #ifdef KIT_INCLUDES_ITCL Tcl_AppInitProc Itcl_Init; #endif #ifdef KIT_INCLUDES_MK4TCL |
︙ | |||
185 186 187 188 189 190 191 | 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 | - - + + | if (Tcl_Eval(interp, initScript) == TCL_OK) { Tcl_Obj* path; #ifdef HAVE_TCLSETSTARTUPSCRIPTPATH path = TclGetStartupScriptPath(); TclSetStartupScriptPath(Tcl_GetObjResult(interp)); #else # ifdef HAVE_TCL_SETSTARTUPSCRIPT |
︙ |