getgroups: Move AC_LIBOBJ invocations to module description.
[pspp] / modules / lchown
index 81d488a2b94e54dda87793407f1c198af8c19ab3..d9d140e3c49f362635e4884f0e56e607ca4fa94b 100644 (file)
@@ -1,25 +1,29 @@
 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
+gl_UNISTD_MODULE_INDICATOR([lchown])
 
 Makefile.am:
 
 Include:
-"lchown.h"
+<unistd.h>
 
 License:
-GPL
+LGPLv2+
 
 Maintainer:
-Jim Meyering
+Jim Meyering, Eric Blake