(UTILS_FUNC_DIRFD): Merge in change from gnulib, fixing an M4 quoting bug.
authorJim Meyering <jim@meyering.net>
Mon, 26 May 2003 19:37:26 +0000 (19:37 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 26 May 2003 19:37:26 +0000 (19:37 +0000)
m4/dirfd.m4

index 995cd25..a13299f 100644 (file)
@@ -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.