diff options
author | Jim Meyering <jim@meyering.net> | 2005-07-02 08:54:13 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-07-02 08:54:13 +0000 |
commit | 2f79e30906e2d729a48b295521cba4ed5d6067dc (patch) | |
tree | d7ae7075ab1f0d1d25612639e8ad6e7dde8e895c /m4/link-follow.m4 | |
parent | 16b35530835c07693104567de6d2a03f7bee2b33 (diff) | |
download | coreutils-2f79e30906e2d729a48b295521cba4ed5d6067dc.tar.xz |
Assume HAVE_UNISTD_H, i.e., that <unistd.h> works.
Diffstat (limited to 'm4/link-follow.m4')
-rw-r--r-- | m4/link-follow.m4 | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/m4/link-follow.m4 b/m4/link-follow.m4 index 813369b00..f67b48d54 100644 --- a/m4/link-follow.m4 +++ b/m4/link-follow.m4 @@ -1,8 +1,8 @@ -#serial 5 +#serial 6 dnl Run a program to determine whether whether link(2) follows symlinks. dnl Set LINK_FOLLOWS_SYMLINKS accordingly. -# Copyright (C) 1999, 2000, 2001, 2004 Free Software Foundation, Inc. +# Copyright (C) 1999, 2000, 2001, 2004, 2005 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -24,9 +24,7 @@ AC_DEFUN([gl_AC_FUNC_LINK_FOLLOWS_SYMLINK], [ # include <sys/types.h> # include <sys/stat.h> -# ifdef HAVE_UNISTD_H -# include <unistd.h> -# endif +# include <unistd.h> # define SAME_INODE(Stat_buf_1, Stat_buf_2) \ ((Stat_buf_1).st_ino == (Stat_buf_2).st_ino \ |