]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(GL_FUNC_GETCWD_PATH_MAX): Check for declaration of getcwd.
authorJim Meyering <jim@meyering.net>
Thu, 6 Mar 2003 22:04:19 +0000 (22:04 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 6 Mar 2003 22:04:19 +0000 (22:04 +0000)
m4/getcwd-path-max.m4

index f8a9a2bf3943b23ea857779a52cbd8d91ef339ce..fc99051e369bc2b45adfeb4931088b28f7ec51f4 100644 (file)
@@ -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([[