From 3ba60a0bc5b8144f03e5379c5007712c1f17129c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 27 Jan 2003 15:16:01 +0000 Subject: [PATCH] add comments --- m4/ftw.m4 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/m4/ftw.m4 b/m4/ftw.m4 index 2c2da41606..dea74dda74 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 -- 2.47.3