fprintf(stderr, "Tcl_Init returned error\n"); return 1; } /* Tcl_GetTime is an 8.4 symbol */ Tcl_GetTime(&time); #if TCL_MAJOR_VERSION < 8 fprintf(stderr, "major version < 8\n"); return 1; #elif TCl_MAJOR_VERSION == 8 && TCL_MINOR_VERSION < 4 fprintf(stderr, "minor version < 4\n"); return 1; #endif return 0; } ], [tcl_works=yes] ) if test "x$tcl_link_works" = "xyes" ; then LIBS="$PRELIBS" fi AC_MSG_RESULT($tcl_works) dnl figure out whether we need to build Tcl