summaryrefslogtreecommitdiff
path: root/modules/lchmod
blob: 8625076c8275bbba6311a040a8d5c9b0a0c9105b (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
34
35
36
37
38
39
Description:
lchmod that is actually chmod (!) on hosts lacking lchmod

Files:
lib/lchmod.c
m4/lchmod.m4

Depends-on:
c99           [test $HAVE_LCHMOD = 0]
errno         [test $HAVE_LCHMOD = 0]
extensions
fcntl-h       [test $HAVE_LCHMOD = 0]
intprops      [test $HAVE_LCHMOD = 0]
lstat         [test $HAVE_LCHMOD = 0]
readlink      [test $HAVE_LCHMOD = 0]
sys_stat
unistd        [test $HAVE_LCHMOD = 0]

configure.ac:
gl_FUNC_LCHMOD
gl_CONDITIONAL([GL_COND_OBJ_LCHMOD], [test $HAVE_LCHMOD = 0])
AM_COND_IF([GL_COND_OBJ_LCHMOD], [
  gl_PREREQ_LCHMOD
])
gl_SYS_STAT_MODULE_INDICATOR([lchmod])

Makefile.am:
if GL_COND_OBJ_LCHMOD
lib_SOURCES += lchmod.c
endif

Include:
<sys/stat.h>

License:
GPL

Maintainer:
Paul Eggert, Jim Meyering