summaryrefslogtreecommitdiff
path: root/m4/dirfd.m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-05-26 19:37:26 +0000
committerJim Meyering <jim@meyering.net>2003-05-26 19:37:26 +0000
commit1df8b738db6355899d5eff4c14ecf6a25a388f38 (patch)
treef531d63c25466a403aa892db93a5111577dcdd6e /m4/dirfd.m4
parentf8fd2a622b71b505148dc3e624780131066d453b (diff)
downloadcoreutils-1df8b738db6355899d5eff4c14ecf6a25a388f38.tar.xz
(UTILS_FUNC_DIRFD): Merge in change from gnulib, fixing an M4 quoting bug.
Diffstat (limited to 'm4/dirfd.m4')
-rw-r--r--m4/dirfd.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/m4/dirfd.m4 b/m4/dirfd.m4
index 995cd2550..a13299f5e 100644
--- a/m4/dirfd.m4
+++ b/m4/dirfd.m4
@@ -1,4 +1,4 @@
-#serial 5
+#serial 6
dnl Find out how to get the file descriptor associated with an open DIR*.
dnl From Jim Meyering
@@ -31,12 +31,12 @@ AC_DEFUN([UTILS_FUNC_DIRFD],
AC_CACHE_CHECK([whether dirfd is a macro],
jm_cv_func_dirfd_macro,
- AC_EGREP_CPP([dirent_header_defines_dirfd], [$dirfd_headers
+ [AC_EGREP_CPP([dirent_header_defines_dirfd], [$dirfd_headers
#ifdef dirfd
dirent_header_defines_dirfd
#endif],
- jm_cv_func_dirfd_macro=yes,
- jm_cv_func_dirfd_macro=no))
+ jm_cv_func_dirfd_macro=yes,
+ jm_cv_func_dirfd_macro=no)])
# Use the replacement only if we have no function, macro,
# or declaration with that name.