X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Flchown;h=1ddecca4c79e279fc3c47197188fa7524535b4be;hb=cbc11ff0020eb9c04caea6b3e7dc4e4281dff1f9;hp=af2991945c426dead4ab6e044165bb6d332f54de;hpb=901bc47c9a8db854db97bb28780352748020c81d;p=gnulib.git diff --git a/modules/lchown b/modules/lchown index af2991945..1ddecca4c 100644 --- a/modules/lchown +++ b/modules/lchown @@ -1,26 +1,32 @@ Description: -lchown() function: change ownership of a file. +lchown() function: change ownership of a file, without following symlinks. Files: -lib/lchown.h lib/lchown.c m4/lchown.m4 Depends-on: -chown -stat-macros +unistd +chown [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1] +errno [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1] +lstat [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1] +stdbool [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1] +sys_stat [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1] configure.ac: gl_FUNC_LCHOWN +if test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1; then + AC_LIBOBJ([lchown]) +fi +gl_UNISTD_MODULE_INDICATOR([lchown]) Makefile.am: -EXTRA_DIST += lchown.h Include: -"lchown.h" + License: -GPL +LGPLv2+ Maintainer: -Jim Meyering +Jim Meyering, Eric Blake