# HG changeset patch # User Jim Meyering # Date 941970953 0 # Node ID 882288b6539c38f667f77d616eb27ac053e437ac # Parent e41e0cd250b426092665d18e5fd9dd99dc63b704 define LINK_FOLLOWS_SYMLINKS diff --git a/m4/link-follow.m4 b/m4/link-follow.m4 --- a/m4/link-follow.m4 +++ b/m4/link-follow.m4 @@ -52,4 +52,8 @@ 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 ])