Diff

Differences From Artifact [77ec27d4ef]:

To Artifact [442f0e7737]:


    36     36   SAVE_LIBS="${LIBS}"
    37     37   LIBS="${ARCHS} ${LIBS}"
    38     38   dnl Determine if we have "Tcl_SetStartupScript" (8.6.x) or "TclSetStartupScriptPath" (8.4.x)
    39     39   AC_CHECK_FUNCS(Tcl_SetStartupScript TclSetStartupScriptPath)
    40     40   dnl Check for the ability to get the current system encoding
    41     41   AC_CHECK_FUNCS(Tcl_GetEncodingNameFromEnvironment Tcl_SetSystemEncoding)
    42     42   LIBS="${SAVE_LIBS}"
           43  +
           44  +dnl Check for optional system calls
           45  +AC_CHECK_FUNCS(readlink)
    43     46   
    44     47   dnl Find zlib
    45     48   AC_ARG_WITH(zlib, AC_HELP_STRING([--with-zlib], [directory containing zlib]), [
    46     49   	CPPFLAGS="${CPPFLAGS} -I${with_zlib}/include -I${with_zlib}"
    47     50   	CFLAGS="${CFLAGS} -I${with_zlib}/include -I${with_zlib}"
    48     51   	LDFLAGS="${LDFLAGS} -L${with_zlib}/lib -L${with_zlib}"
    49     52   ])