Hash :
8f71b269
Author :
Date :
2022-06-19T23:30:01
lchmod: port back to AIX 7.2 Problem reported by Bruno Haible in: https://lists.gnu.org/r/bug-gnulib/2022-06/msg00075.html * lib/lchmod.c: Include string.h, for strlen. (lchmod): Do not depend on HAVE_READLINK since we now depend on the readlink module. Check for AIX 7.2 bug. * m4/lchmod.m4 (gl_PREREQ_LCHMOD): Do not check for readlink since we now depend on the readlink module. * modules/lchmod (Depends-on): Depend on readlink.
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