(AC_FUNC_FTW): Require AC_HEADER_STAT.
authorJim Meyering <jim@meyering.net>
Wed, 19 Mar 2003 19:38:30 +0000 (19:38 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 19 Mar 2003 19:38:30 +0000 (19:38 +0000)
m4/ftw.m4

index 4b5b096..9f693a4 100644 (file)
--- 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)