summaryrefslogtreecommitdiff
path: root/m4/link-follow.m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-11-07 10:35:53 +0000
committerJim Meyering <jim@meyering.net>1999-11-07 10:35:53 +0000
commit5f9feb9aae8b303e2caabcc7ba0858d40c74b178 (patch)
treefeaf96c7ab31b73d9957b1720a9ff596292dd00d /m4/link-follow.m4
parent6702048c64d54a3af9c5a3f3e80e864a52222bfd (diff)
downloadcoreutils-5f9feb9aae8b303e2caabcc7ba0858d40c74b178.tar.xz
define LINK_FOLLOWS_SYMLINKS
Diffstat (limited to 'm4/link-follow.m4')
-rw-r--r--m4/link-follow.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/m4/link-follow.m4 b/m4/link-follow.m4
index 18b6bff0d..dd75d7bbc 100644
--- a/m4/link-follow.m4
+++ b/m4/link-follow.m4
@@ -52,4 +52,8 @@ AC_DEFUN(jm_AC_FUNC_LINK_FOLLOWS_SYMLINK,
jm_ac_cv_func_link_follows_symlink=yes, We're cross compiling.
)
])
+ if test $jm_ac_cv_func_link_follows_symlink = yes; then
+ AC_DEFINE(LINK_FOLLOWS_SYMLINKS, 1,
+ [Define if link(2) dereferences symbolic links.])
+ fi
])