@@ -119,11 +119,11 @@ set packageVersion "0" } append code "int [string totitle $packageName]_Init(Tcl_Interp *interp) \{\n" append code "#ifdef USE_TCL_STUBS\n" - append code " if (Tcl_InitStubs(interp, \"8.4\" , 0) == 0L) \{\n" + append code " if (Tcl_InitStubs(interp, TCL_VERSION, 0) == 0L) \{\n" append code " return TCL_ERROR;\n" append code " \}\n" append code "#endif\n" if {[info exists state(procs)] && [llength $state(procs)] > 0} {