From: Jim Meyering Date: Tue, 4 Jan 2005 09:40:23 +0000 (+0000) Subject: (gl_FUNC_CHOWN): When cross-compiling, assume that chown X-Git-Tag: v5.3.0~48 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=46bf568ec144565384b99d97bb4007c5ae92f9a7;p=thirdparty%2Fcoreutils.git (gl_FUNC_CHOWN): When cross-compiling, assume that chown is sane and DOES follow symlinks. Besides, testing 20 different systems found no broken chown implementations. --- diff --git a/m4/chown.m4 b/m4/chown.m4 index 430bc8073a..a93b3c5752 100644 --- a/m4/chown.m4 +++ b/m4/chown.m4 @@ -1,4 +1,4 @@ -#serial 10 +#serial 11 # Determine whether we need the chown wrapper. chown should accept # arguments of -1 for uid and gid, and it should dereference symlinks. # If it doesn't, arrange to use the replacement function. @@ -57,7 +57,7 @@ AC_DEFUN([gl_FUNC_CHOWN_FOLLOWS_SYMLINK], ]])], [gl_cv_func_chown_follows_symlink=yes], [gl_cv_func_chown_follows_symlink=no], - [gl_cv_func_chown_follows_symlink=no] + [gl_cv_func_chown_follows_symlink=yes] ) ] )