projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update from prep
[gnulib.git]
/
m4
/
getcwd.m4
diff --git
a/m4/getcwd.m4
b/m4/getcwd.m4
index
1e1b80e
..
7790dde
100644
(file)
--- a/
m4/getcwd.m4
+++ b/
m4/getcwd.m4
@@
-19,7
+19,8
@@
# Written by Paul Eggert.
AC_DEFUN([AC_FUNC_GETCWD_NULL],
# 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(
AC_CACHE_CHECK([whether getcwd (NULL, 0) allocates memory for result],
[ac_cv_func_getcwd_null],
[AC_TRY_RUN(