summaryrefslogtreecommitdiff
path: root/modules/link
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-09-09 15:25:26 -0600
committerEric Blake <ebb9@byu.net>2009-09-09 20:57:05 -0600
commit2d9360ffcc03fac61415d14595fd76e6abb59db3 (patch)
treed2e037f85c4c850c38bcb7f07fcd50359bc4c402 /modules/link
parent5ed5df8e8f519a74992edd0b7a6021b05b4952cd (diff)
downloadgnulib-2d9360ffcc03fac61415d14595fd76e6abb59db3.tar.gz
link: fix platform bugs
* m4/link.m4 (gl_FUNC_LINK): Detect Solaris and Cygwin bugs. * lib/link.c (link): Work around them. Fix related mingw bug. * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Add REPLACE_LINK. * modules/unistd (Makefile.am): Substitute it. * lib/unistd.in.h (link): Declare replacement. * doc/posix-functions/link.texi (link): Document this. * modules/link (Depends-on): Add strdup-posix, sys_stat. Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'modules/link')
-rw-r--r--modules/link4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/link b/modules/link
index 31d1af4b46..9492950997 100644
--- a/modules/link
+++ b/modules/link
@@ -6,6 +6,8 @@ lib/link.c
m4/link.m4
Depends-on:
+strdup-posix
+sys_stat
unistd
configure.ac:
@@ -21,4 +23,4 @@ License:
LGPLv2+
Maintainer:
-Martin Lambers
+Martin Lambers, Eric Blake