X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Flchown;h=1ddecca4c79e279fc3c47197188fa7524535b4be;hb=ad2c4b8339db7e2734f0504d5157bb31129f728c;hp=df65a51a5f4db304cf978a33e9d5c56dff12feb8;hpb=0d55ac35238dbb1a54578ec677e12959ca483e3c;p=gnulib.git diff --git a/modules/lchown b/modules/lchown index df65a51a5..1ddecca4c 100644 --- a/modules/lchown +++ b/modules/lchown @@ -1,27 +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 -lib/stat-macros.h 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 += stat-macros.h Include: -"lchown.h" + License: -GPL +LGPLv2+ Maintainer: -Jim Meyering - +Jim Meyering, Eric Blake