install-reloc: Support multi-binary installation.
[gnulib.git] / modules / link
index 31d1af4..5ea0ac2 100644 (file)
@@ -7,9 +7,15 @@ m4/link.m4
 
 Depends-on:
 unistd
+stat            [test $HAVE_LINK = 0 || test $REPLACE_LINK = 1]
+strdup-posix    [test $HAVE_LINK = 0 || test $REPLACE_LINK = 1]
+sys_stat        [test $HAVE_LINK = 0 || test $REPLACE_LINK = 1]
 
 configure.ac:
 gl_FUNC_LINK
+if test $HAVE_LINK = 0 || test $REPLACE_LINK = 1; then
+  AC_LIBOBJ([link])
+fi
 gl_UNISTD_MODULE_INDICATOR([link])
 
 Makefile.am:
@@ -21,4 +27,4 @@ License:
 LGPLv2+
 
 Maintainer:
-Martin Lambers
+Martin Lambers, Eric Blake