diff options
author | Jim Meyering <jim@meyering.net> | 2003-05-06 08:51:26 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-05-06 08:51:26 +0000 |
commit | 00d70feed3bb2f1ce96afbd2c2b8a47862be8cf0 (patch) | |
tree | b226c53edda6cc5b07c5d3716dab868f477e3547 /m4 | |
parent | 78986d419db22eb3892e505c5ee974a239238a25 (diff) | |
download | coreutils-00d70feed3bb2f1ce96afbd2c2b8a47862be8cf0.tar.xz |
(GL_FUNC_GETCWD_PATH_MAX): Check for the
declaration of getcwd *before* checking for the getcwd kernel bug.
Otherwise, configure-time `checking ...' messages would be intermixed.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/getcwd-path-max.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/getcwd-path-max.m4 b/m4/getcwd-path-max.m4 index 923a34c3f..a6f5c08c6 100644 --- a/m4/getcwd-path-max.m4 +++ b/m4/getcwd-path-max.m4 @@ -1,4 +1,4 @@ -#serial 3 +#serial 4 # Check whether getcwd has the bug that it succeeds for a working directory # longer than PATH_MAX, yet returns a truncated directory name. # If so, arrange to compile the wrapper function. @@ -11,10 +11,10 @@ AC_DEFUN([GL_FUNC_GETCWD_PATH_MAX], [ + AC_CHECK_DECLS([getcwd]) AC_CACHE_CHECK([whether getcwd properly handles paths longer than PATH_MAX], gl_cv_func_getcwd_vs_path_max, [ - AC_CHECK_DECLS([getcwd]) # Arrange for deletion of the temporary directory this test creates. ac_clean_files="$ac_clean_files confdir3" AC_RUN_IFELSE([AC_LANG_SOURCE([[ |