diff options
author | Jim Meyering <jim@meyering.net> | 1999-11-08 09:18:27 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-11-08 09:18:27 +0000 |
commit | bb928b7ac4bb181dcb9bcb520b403300c410e4f9 (patch) | |
tree | 9642c5a173ecfd091f309a082978140c939ff5e0 | |
parent | 8851d8361671f89cc9dd2548ae0920a123a47fd9 (diff) | |
download | coreutils-bb928b7ac4bb181dcb9bcb520b403300c410e4f9.tar.xz |
effectively require AC_CHECK_HEADERS(unistd.h)
-rw-r--r-- | m4/link-follow.m4 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/m4/link-follow.m4 b/m4/link-follow.m4 index dd75d7bbc..350c3959b 100644 --- a/m4/link-follow.m4 +++ b/m4/link-follow.m4 @@ -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( |