Diff

Differences From Artifact [442f0e7737]:

To Artifact [a3f511626a]:


    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     43   
           44  +dnl Check for optional headers
           45  +AC_HEADER_STDC
           46  +AC_CHECK_HEADERS(unistd.h dlfcn.h)
           47  +
    44     48   dnl Check for optional system calls
    45         -AC_CHECK_FUNCS(readlink)
           49  +AC_CHECK_FUNCS(readlink dladdr)
    46     50   
    47     51   dnl Find zlib
    48     52   AC_ARG_WITH(zlib, AC_HELP_STRING([--with-zlib], [directory containing zlib]), [
    49     53   	CPPFLAGS="${CPPFLAGS} -I${with_zlib}/include -I${with_zlib}"
    50     54   	CFLAGS="${CFLAGS} -I${with_zlib}/include -I${with_zlib}"
    51     55   	LDFLAGS="${LDFLAGS} -L${with_zlib}/lib -L${with_zlib}"
    52     56   ])