mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
effectively require AC_CHECK_HEADERS(unistd.h)
This commit is contained in:
1 parent
8851d83616
commit
bb928b7ac4
1 file changed
+5
@@ -7,6 +7,11 @@ AC_DEFUN(jm_AC_FUNC_LINK_FOLLOWS_SYMLINK,
|
||||
AC_CACHE_CHECK([whether link(2) follows symlinks],
|
||||
jm_ac_cv_func_link_follows_symlink,
|
||||
[
|
||||
dnl poor-man's AC_REQUIRE: FIXME: repair this once autoconf-3 provides
|
||||
dnl the appropriate framework.
|
||||
test -z "$ac_cv_header_unistd_h" \
|
||||
&& AC_CHECK_HEADERS(unistd.h)
|
||||
|
||||
# Create a regular file.
|
||||
echo > conftest.file
|
||||
AC_TRY_RUN(
|
||||
|
||||
Reference in new issue
Block a user