]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(UTILS_FUNC_DIRFD): Invoke some AC_EGREP_CPP requirements.
authorJim Meyering <jim@meyering.net>
Thu, 23 Jan 2003 17:55:17 +0000 (17:55 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 23 Jan 2003 17:55:17 +0000 (17:55 +0000)
m4/dirfd.m4

index 26ebdd65f3f50373e349b65a18cc17a74bad7152..0e1090ed2a6b85fce28d0dd43bf1125198c16afa 100644 (file)
@@ -1,10 +1,14 @@
-#serial 2
+#serial 4
 
 dnl Find out how to get the file descriptor associated with an open DIR*.
 dnl From Jim Meyering
 
 AC_DEFUN([UTILS_FUNC_DIRFD],
 [
+  dnl Work around a bug of AC_EGREP_CPP in autoconf-2.57.
+  AC_REQUIRE([AC_PROG_CPP])
+  AC_REQUIRE([AC_PROG_EGREP])
+
   AC_HEADER_DIRENT
   dirfd_headers='
 #if HAVE_DIRENT_H