md5, sha1, sha256, sha512: add gl_SET_CRYPTO_CHECK_DEFAULT
[gnulib.git] / modules / lchown
index 81d488a..1ddecca 100644 (file)
@@ -1,25 +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:
 
 Include:
-"lchown.h"
+<unistd.h>
 
 License:
-GPL
+LGPLv2+
 
 Maintainer:
-Jim Meyering
+Jim Meyering, Eric Blake