(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 430bc80..a93b3c5 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]
       )
     ]
   )