(gl_FUNC_CHOWN): When cross-compiling, assume that chown
authorJim Meyering <jim@meyering.net>
Tue, 4 Jan 2005 09:40:23 +0000 (09:40 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 4 Jan 2005 09:40:23 +0000 (09:40 +0000)
is sane and DOES follow symlinks.  Besides, testing 20 different
systems found no broken chown implementations.

m4/chown.m4

index 430bc8073a2072d7fcf28ac1ce7d3c0ff8a557c2..a93b3c57520d3acbd7d526bcc6730b4402d87ace 100644 (file)
@@ -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]
       )
     ]
   )