summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-03-06 22:04:19 +0000
committerJim Meyering <jim@meyering.net>2003-03-06 22:04:19 +0000
commit9f0f14d1d6a786dfc54091453b238340cdf2dd74 (patch)
tree6a2caec0cfe811ba24b6540dc471c9034e5bd5ec /m4
parentc71e43ce1d6bbdf9a63c55f3b23b46d7874bd2fe (diff)
downloadcoreutils-9f0f14d1d6a786dfc54091453b238340cdf2dd74.tar.xz
(GL_FUNC_GETCWD_PATH_MAX): Check for declaration of getcwd.
Diffstat (limited to 'm4')
-rw-r--r--m4/getcwd-path-max.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/m4/getcwd-path-max.m4 b/m4/getcwd-path-max.m4
index f8a9a2bf3..fc99051e3 100644
--- a/m4/getcwd-path-max.m4
+++ b/m4/getcwd-path-max.m4
@@ -14,6 +14,7 @@ AC_DEFUN([GL_FUNC_GETCWD_PATH_MAX],
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([[