diff options
author | das <das> | 2005-12-05 13:03:16 (GMT) |
---|---|---|
committer | das <das> | 2005-12-05 13:03:16 (GMT) |
commit | 72a72bdbda1a618c81ce21298d38a7b66024cf95 (patch) | |
tree | de184beb12392b5d5382cd6ff21227041743df82 /unix/tcl.m4 | |
parent | 403f07fad3a34a8d96e855e42124439774d1b8d3 (diff) | |
download | tcl-72a72bdbda1a618c81ce21298d38a7b66024cf95.zip tcl-72a72bdbda1a618c81ce21298d38a7b66024cf95.tar.gz tcl-72a72bdbda1a618c81ce21298d38a7b66024cf95.tar.bz2 |
* unix/configure.in: move check for fts API to configure.in and run it
* unix/tcl.m4: on all platforms, since Linux glibc2 and *BSDs also
have this; using fts is more efficient than recursive opendir/readdir.
* unix/tclUnixFCmd.c (TraverseUnixTree): add support to fts code for
platforms with stat64.
* unix/configure:
* unix/tclConfig.h.in: regen.
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r-- | unix/tcl.m4 | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4 index 1bc6e31..211dae3 100644 --- a/unix/tcl.m4 +++ b/unix/tcl.m4 @@ -1497,17 +1497,6 @@ dnl AC_CHECK_TOOL(AR, ar) AC_CHECK_FUNCS(OSSpinLockLock) AC_CHECK_HEADERS(copyfile.h) AC_CHECK_FUNCS(copyfile) - AC_CACHE_CHECK([for fts], tcl_cv_api_fts, [ - AC_TRY_LINK([#include <sys/param.h> - #include <sys/stat.h> - #include <fts.h>], - [char*const p[2] = {"/", NULL}; - FTS *f = fts_open(p, FTS_PHYSICAL|FTS_NOCHDIR|FTS_NOSTAT, NULL); - FTSENT *e = fts_read(f); fts_close(f);], - tcl_cv_api_fts=yes, tcl_cv_api_fts=no)]) - if test $tcl_cv_api_fts = yes; then - AC_DEFINE(HAVE_FTS, 1, [Do we have fts functions?]) - fi AC_DEFINE(MAC_OSX_TCL, 1, [Is this a Mac I see before me?]) AC_DEFINE(USE_VFORK, 1, [Should we use vfork() instead of fork()?]) AC_DEFINE(TCL_DEFAULT_ENCODING,"utf-8", |