summaryrefslogtreecommitdiff
path: root/m4/link-follow.m4
diff options
context:
space:
mode:
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
])