install-reloc: Support multi-binary installation.
[gnulib.git] / modules / lchown
index e011e2b..1ddecca 100644 (file)
@@ -6,12 +6,18 @@ lib/lchown.c
 m4/lchown.m4
 
 Depends-on:
-chown
-sys_stat
 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:
@@ -20,7 +26,7 @@ Include:
 <unistd.h>
 
 License:
-GPL
+LGPLv2+
 
 Maintainer:
-Jim Meyering
+Jim Meyering, Eric Blake