summaryrefslogtreecommitdiff
path: root/m4/getcwd.m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-08-17 17:57:38 +0000
committerJim Meyering <jim@meyering.net>2003-08-17 17:57:38 +0000
commit69d741ae8e8fcd1c18c965bac6e7cf147e96361b (patch)
tree62e073815068d79325944748054095e31aba1134 /m4/getcwd.m4
parent56f3c86407c47dde33e1c558312525a4a671b157 (diff)
downloadcoreutils-69d741ae8e8fcd1c18c965bac6e7cf147e96361b.tar.xz
Sync with gnulib.
Diffstat (limited to 'm4/getcwd.m4')
-rw-r--r--m4/getcwd.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/getcwd.m4 b/m4/getcwd.m4
index 1e1b80efa..7790dde1a 100644
--- a/m4/getcwd.m4
+++ b/m4/getcwd.m4
@@ -19,7 +19,8 @@
# Written by Paul Eggert.
AC_DEFUN([AC_FUNC_GETCWD_NULL],
- [AC_CHECK_HEADERS(stdlib.h unistd.h)
+ [
+ AC_CHECK_HEADERS_ONCE(stdlib.h unistd.h)
AC_CACHE_CHECK([whether getcwd (NULL, 0) allocates memory for result],
[ac_cv_func_getcwd_null],
[AC_TRY_RUN(