Diff

Differences From Artifact [f480293811]:

To Artifact [77ec27d4ef]:


    28     28   AC_CHECK_TOOL([RC], [windres], [false])
    29     29   
    30     30   dnl If we found the resource compiler, add "kit.res.o" to our list of objects to build
    31     31   if ! test "$RC" = "false"; then
    32     32   	EXTRA_OBJS="$EXTRA_OBJS kit.res.o"
    33     33   fi
    34     34   
    35         -dnl Determine if we have "Tcl_SetStartupScript" (8.6.x) or "TclSetStartupScriptPath" (8.4.x)
           35  +dnl Check for Tcl features
    36     36   SAVE_LIBS="${LIBS}"
    37     37   LIBS="${ARCHS} ${LIBS}"
           38  +dnl Determine if we have "Tcl_SetStartupScript" (8.6.x) or "TclSetStartupScriptPath" (8.4.x)
    38     39   AC_CHECK_FUNCS(Tcl_SetStartupScript TclSetStartupScriptPath)
           40  +dnl Check for the ability to get the current system encoding
           41  +AC_CHECK_FUNCS(Tcl_GetEncodingNameFromEnvironment Tcl_SetSystemEncoding)
    39     42   LIBS="${SAVE_LIBS}"
    40     43   
    41     44   dnl Find zlib
    42     45   AC_ARG_WITH(zlib, AC_HELP_STRING([--with-zlib], [directory containing zlib]), [
    43     46   	CPPFLAGS="${CPPFLAGS} -I${with_zlib}/include -I${with_zlib}"
    44     47   	CFLAGS="${CFLAGS} -I${with_zlib}/include -I${with_zlib}"
    45     48   	LDFLAGS="${LDFLAGS} -L${with_zlib}/lib -L${with_zlib}"