-#serial 1
+#serial 2
# 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.
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([[