From: Jim Meyering Date: Mon, 26 May 2003 19:37:26 +0000 (+0000) Subject: (UTILS_FUNC_DIRFD): Merge in change from gnulib, fixing an M4 quoting bug. X-Git-Tag: v5.0.1~442 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1df8b738db6355899d5eff4c14ecf6a25a388f38;p=thirdparty%2Fcoreutils.git (UTILS_FUNC_DIRFD): Merge in change from gnulib, fixing an M4 quoting bug. --- diff --git a/m4/dirfd.m4 b/m4/dirfd.m4 index 995cd25507..a13299f5ef 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.