diff options
author | Jim Meyering <jim@meyering.net> | 2005-07-01 20:57:34 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-07-01 20:57:34 +0000 |
commit | 860691ec4106eb355c761fc0d3eb3ce866762f10 (patch) | |
tree | 9ddc7dcc37f83da113638948bc110b4f5a1d370c /m4 | |
parent | 58076430c3324600ef5dba5505fbb2e1c5e02e03 (diff) | |
download | coreutils-860691ec4106eb355c761fc0d3eb3ce866762f10.tar.xz |
Assume HAVE_FCNTL_H (i.e., include <fcntl.h> unconditionally,
and don't check for fcntl.h).
Diffstat (limited to 'm4')
-rw-r--r-- | m4/getcwd-path-max.m4 | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/m4/getcwd-path-max.m4 b/m4/getcwd-path-max.m4 index 74570dfff..5a6c43a44 100644 --- a/m4/getcwd-path-max.m4 +++ b/m4/getcwd-path-max.m4 @@ -1,4 +1,4 @@ -#serial 9 +#serial 10 # Check for several getcwd bugs with long file names. # If so, arrange to compile the wrapper function. @@ -16,7 +16,6 @@ AC_DEFUN([gl_FUNC_GETCWD_PATH_MAX], [ AC_CHECK_DECLS_ONCE(getcwd) - AC_CHECK_HEADERS_ONCE(fcntl.h) AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) AC_CACHE_CHECK([whether getcwd handles long file names properly], gl_cv_func_getcwd_path_max, @@ -32,9 +31,7 @@ AC_DEFUN([gl_FUNC_GETCWD_PATH_MAX], #include <limits.h> #include <sys/stat.h> #include <sys/types.h> -#if HAVE_FCNTL_H -# include <fcntl.h> -#endif +#include <fcntl.h> #ifndef AT_FDCWD # define AT_FDCWD 0 |