define LINK_FOLLOWS_SYMLINKS
authorJim Meyering <jim@meyering.net>
Sun, 7 Nov 1999 10:35:53 +0000 (10:35 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 7 Nov 1999 10:35:53 +0000 (10:35 +0000)
m4/link-follow.m4

index 18b6bff0dc573413cebff034483edb23884dc1ca..dd75d7bbc4ddd8d383d09d23e4c15d52922fc0d1 100644 (file)
@@ -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
 ])