summaryrefslogtreecommitdiff
path: root/modules/symlink
blob: a54e4e2ab3fea32fa24346a58df82469b7843d7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Description:
symlink() function: create a symlink, if possible

Files:
lib/symlink.c
m4/symlink.m4

Depends-on:
unistd
lstat           [test $HAVE_SYMLINK = 0 || test $REPLACE_SYMLINK = 1]

configure.ac:
gl_FUNC_SYMLINK
gl_CONDITIONAL([GL_COND_OBJ_SYMLINK],
               [test $HAVE_SYMLINK = 0 || test $REPLACE_SYMLINK = 1])
gl_UNISTD_MODULE_INDICATOR([symlink])

Makefile.am:
if GL_COND_OBJ_SYMLINK
lib_SOURCES += symlink.c
endif

Include:
<unistd.h>

License:
LGPL

Maintainer:
Eric Blake