summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-01-27 15:16:01 +0000
committerJim Meyering <jim@meyering.net>2003-01-27 15:16:01 +0000
commit3ba60a0bc5b8144f03e5379c5007712c1f17129c (patch)
tree229247f64de4284551ef0827113cd7edfe62d4cd /m4
parent96332f0a7e1c70ef0a4bfe6497d3ebf225118aac (diff)
downloadcoreutils-3ba60a0bc5b8144f03e5379c5007712c1f17129c.tar.xz
add comments
Diffstat (limited to 'm4')
-rw-r--r--m4/ftw.m48
1 files changed, 6 insertions, 2 deletions
diff --git a/m4/ftw.m4 b/m4/ftw.m4
index 2c2da4160..dea74dda7 100644
--- a/m4/ftw.m4
+++ b/m4/ftw.m4
@@ -1,5 +1,7 @@
#serial 1
# Use the replacement ftw.c if the one in the C library is inadequate or buggy.
+# For now, we always use the code in lib/ because libc doesn't have the FTW_DCH
+# or FTW_DCHP that we need.
# From Jim Meyering
AC_DEFUN([AC_FUNC_FTW],
@@ -13,10 +15,12 @@ AC_DEFUN([AC_FUNC_FTW],
# see if we'll also need the replacement tsearch.c.
AC_CHECK_FUNC([tdestroy], , [need_tdestroy=1])
- AC_CACHE_CHECK([for working GNU ftw], ac_cv_func_ftw_working,
+ AC_CACHE_CHECK([for ftw/FTW_CHDIR that informs callback of failed chdir],
+ ac_cv_func_ftw_working,
[
# The following test would fail prior to glibc-2.3.2, because `depth'
- # would be 2 rather than 4.
+ # would be 2 rather than 4. Of course, now that we require FTW_DCH
+ # and FTW_DCHP, this test fails even with GNU libc's fixed ftw.
mkdir -p conftest.dir/a/b/c
AC_RUN_IFELSE([AC_LANG_SOURCE([[
#include <string.h>