Fix quoting bugs.
[gnulib.git] / m4 / dirfd.m4
index 0e1090e..16f54d4 100644 (file)
@@ -1,4 +1,4 @@
-#serial 4
+#serial 5
 
 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.