Revamp lchown so that it lives in unistd.h where it belongs.
[pspp] / modules / chown
index 2a970076ee0f465c58c01fc33b6985b00a823721..9e479a5090bb06815009fea02cd0970305ae6344 100644 (file)
@@ -1,5 +1,5 @@
 Description:
-chown() function: change ownership of a file.
+chown() function: change ownership of a file, following symlinks.
 
 Files:
 lib/chown.c
@@ -7,10 +7,12 @@ lib/fchown-stub.c
 m4/chown.m4
 
 Depends-on:
-stat-macros
+unistd
+sys_stat
 
 configure.ac:
 gl_FUNC_CHOWN
+gl_UNISTD_MODULE_INDICATOR([chown])
 
 Makefile.am: