summaryrefslogtreecommitdiff
path: root/m4/ftw.m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-03-19 19:38:30 +0000
committerJim Meyering <jim@meyering.net>2003-03-19 19:38:30 +0000
commitcd02bb1ec763c88c7fd1f475835fd5b4b2a155be (patch)
tree970084a5255435437c41f224967dffc7361fc956 /m4/ftw.m4
parent51d522533ac05dca7e1f805de00aaa3f9fc5aa60 (diff)
downloadcoreutils-cd02bb1ec763c88c7fd1f475835fd5b4b2a155be.tar.xz
(AC_FUNC_FTW): Require AC_HEADER_STAT.
Diffstat (limited to 'm4/ftw.m4')
-rw-r--r--m4/ftw.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/ftw.m4 b/m4/ftw.m4
index 4b5b09600..9f693a410 100644
--- a/m4/ftw.m4
+++ b/m4/ftw.m4
@@ -1,4 +1,4 @@
-#serial 1
+#serial 2
# 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. Arrange to use lib/ftw.h. And since that
@@ -9,6 +9,7 @@
AC_DEFUN([AC_FUNC_FTW],
[
# prerequisites
+ AC_REQUIRE([AC_HEADER_STAT])
AC_REQUIRE([jm_FUNC_LSTAT])
AC_REQUIRE([AC_HEADER_DIRENT])
AC_CHECK_HEADERS(sys/param.h)