summaryrefslogtreecommitdiff
path: root/modules/readlink
blob: 35d65bdd5dc011f91b39e0005cd62c0281f9e029 (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
31
32
33
Description:
readlink() function: read the value of a symbolic link.

Files:
lib/readlink.c
m4/readlink.m4

Depends-on:
unistd
stat            [test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1]

configure.ac:
gl_FUNC_READLINK
gl_CONDITIONAL([GL_COND_OBJ_READLINK],
               [test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1])
AM_COND_IF([GL_COND_OBJ_READLINK], [
  gl_PREREQ_READLINK
])
gl_UNISTD_MODULE_INDICATOR([readlink])

Makefile.am:
if GL_COND_OBJ_READLINK
lib_SOURCES += readlink.c
endif

Include:
<unistd.h>

License:
LGPLv2+

Maintainer:
all