summaryrefslogtreecommitdiff
path: root/m4/ftw.m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-01-22 20:28:25 +0000
committerJim Meyering <jim@meyering.net>2003-01-22 20:28:25 +0000
commit81d6349ec52986bc670f65e48b624f80ea5a87f3 (patch)
treefae506d99a1019a9efbeb5ebab958582b1e71cbf /m4/ftw.m4
parent586bfb65d639dad14de6af5ffddd084bff9178f4 (diff)
downloadcoreutils-81d6349ec52986bc670f65e48b624f80ea5a87f3.tar.xz
Require FTW_DCH and FTW_DCHP, too.
Diffstat (limited to 'm4/ftw.m4')
-rw-r--r--m4/ftw.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/m4/ftw.m4 b/m4/ftw.m4
index 55c8a2786..2c2da4160 100644
--- a/m4/ftw.m4
+++ b/m4/ftw.m4
@@ -40,6 +40,10 @@ cb (const char *file, const struct stat *sb, int file_type, struct FTW *info)
int
main ()
{
+ /* Require these symbols, too. */
+ int d1 = FTW_DCH;
+ int d2 = FTW_DCHP;
+
int err = nftw ("conftest.dir", cb, 30, FTW_PHYS | FTW_MOUNT | FTW_CHDIR);
exit ((err == 0 && depth == 4) ? 0 : 1);
}