X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fchown;h=1c271f05420a07184e9a10afbbedde184b53a74e;hb=1a6fbdd7d28dff1868c5eb0baf0029b27e42526a;hp=50d06400dc002df25e9ff1c9593ed557bcfa7380;hpb=2e82f91f46dc3f93963b1e4fdcbc441c129df213;p=gnulib.git diff --git a/modules/chown b/modules/chown index 50d06400d..1c271f054 100644 --- a/modules/chown +++ b/modules/chown @@ -1,17 +1,35 @@ Description: -chown() function: change ownership of a file. +chown() function: change ownership of a file, following symlinks. Files: lib/chown.c +lib/fchown-stub.c m4/chown.m4 Depends-on: +unistd +open [test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1] +stat [test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1] +stdbool [test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1] +sys_stat [test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1] configure.ac: -jm_FUNC_CHOWN +gl_FUNC_CHOWN +if test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1; then + AC_LIBOBJ([chown]) +fi +if test $REPLACE_CHOWN = 1 && test $ac_cv_func_fchown = no; then + AC_LIBOBJ([fchown-stub]) +fi +gl_UNISTD_MODULE_INDICATOR([chown]) Makefile.am: Include: +License: +LGPLv2+ + +Maintainer: +Jim Meyering