summaryrefslogtreecommitdiff
path: root/m4/dirfd.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/dirfd.m4')
-rw-r--r--m4/dirfd.m47
1 files changed, 3 insertions, 4 deletions
diff --git a/m4/dirfd.m4 b/m4/dirfd.m4
index a13299f5ef..5f1a9a81b6 100644
--- a/m4/dirfd.m4
+++ b/m4/dirfd.m4
@@ -1,9 +1,9 @@
-#serial 6
+#serial 7
dnl Find out how to get the file descriptor associated with an open DIR*.
dnl From Jim Meyering
-AC_DEFUN([UTILS_FUNC_DIRFD],
+AC_DEFUN([gl_FUNC_DIRFD],
[
dnl Work around a bug of AC_EGREP_CPP in autoconf-2.57.
AC_REQUIRE([AC_PROG_CPP])
@@ -76,7 +76,6 @@ AC_DEFUN([UTILS_FUNC_DIRFD],
#else
# define DIR_TO_FD(Dir_p) -1
#endif
-]
- )
+])
fi
])