Description:
lchmod that is actually chmod (!) on hosts lacking lchmod

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

Depends-on:
sys_stat-h
extensions
c99           [test $HAVE_LCHMOD = 0]
errno-h       [test $HAVE_LCHMOD = 0]
fcntl-h       [test $HAVE_LCHMOD = 0]
intprops      [test $HAVE_LCHMOD = 0]
issymlink     [test $HAVE_LCHMOD = 0]
issymlinkat   [test $HAVE_LCHMOD = 0]
lstat         [test $HAVE_LCHMOD = 0]
unistd-h      [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>

Link:
$(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise

License:
GPL

Maintainer:
Paul Eggert, Jim Meyering
