X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Flchown;h=1ddecca4c79e279fc3c47197188fa7524535b4be;hb=1bb384c44db25aef8f8b455cef22af32d8401abc;hp=438bc8c534c70568163ddf18fef11950580710f0;hpb=23fe10e274cf20fb2cb75ea1da9556a733106657;p=gnulib.git diff --git a/modules/lchown b/modules/lchown index 438bc8c53..1ddecca4c 100644 --- a/modules/lchown +++ b/modules/lchown @@ -1,23 +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 +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: -lib_SOURCES += lchown.h Include: -"lchown.h" + -Maintainer: -Jim Meyering +License: +LGPLv2+ +Maintainer: +Jim Meyering, Eric Blake