@@ -8,11 +8,10 @@ AC_AIX AC_GNU_SOURCE dnl Determine system information DC_CHK_OS_INFO -DC_SETUP_TCL_PLAT_DEFS dnl Find the appropriate libraries to link to AC_SEARCH_LIBS(acos, m,, [ AC_MSG_WARN([Couldn't find acos (normally in libm)!]) ]) AC_SEARCH_LIBS(dlsym, dl,, [ AC_MSG_WARN([Couldn't find dlsym (normally in libdl)!]) ]) @@ -26,12 +25,15 @@ SAVE_LIBS="${LIBS}" LIBS="${ARCHS} ${LIBS}" dnl Check for the ability to get the current system encoding AC_CHECK_FUNCS(Tcl_GetEncodingNameFromEnvironment Tcl_SetSystemEncoding) LIBS="${SAVE_LIBS}" + +dnl Find required libs +DC_FIND_TCLKIT_LIBS dnl Check for optional headers AC_HEADER_STDC AC_CHECK_HEADERS(unistd.h string.h strings.h) dnl Produce output AC_OUTPUT(Makefile)