1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-06-15 15:25:49 +00:00
Files
Paul Eggert 37b83142a2 fchmodat: don’t depend on openat
* modules/fchmodat (Depends-on): Remove openat.  Even though
fchmodat.c calls openat, that call is used only on platforms
that do not need anything that the openat module supplies.
Removing the unnecessary dependency simplifies GNU Emacs.
2025-11-02 21:05:35 -08:00

53 lines
1.4 KiB
Plaintext

Description:
fchmodat() function: Change access permissions of a file at a directory.
Files:
lib/fchmodat.c
lib/at-func.c
m4/fchmodat.m4
Depends-on:
sys_stat-h
extensions
errno-h [test $HAVE_FCHMODAT = 0 || test $REPLACE_FCHMODAT = 1]
fcntl-h [test $HAVE_FCHMODAT = 0 || test $REPLACE_FCHMODAT = 1]
unistd-h [test $HAVE_FCHMODAT = 0 || test $REPLACE_FCHMODAT = 1]
intprops [test $HAVE_FCHMODAT = 0 || test $REPLACE_FCHMODAT = 1]
c99 [test $REPLACE_FCHMODAT = 1]
issymlinkat [test $REPLACE_FCHMODAT = 1]
at-internal [test $HAVE_FCHMODAT = 0]
chmod [test $HAVE_FCHMODAT = 0]
extern-inline [test $HAVE_FCHMODAT = 0]
fchdir [test $HAVE_FCHMODAT = 0]
filename [test $HAVE_FCHMODAT = 0]
lchmod [test $HAVE_FCHMODAT = 0]
openat-die [test $HAVE_FCHMODAT = 0]
openat-h [test $HAVE_FCHMODAT = 0]
save-cwd [test $HAVE_FCHMODAT = 0]
configure.ac:
gl_FUNC_FCHMODAT
gl_CONDITIONAL([GL_COND_OBJ_FCHMODAT],
[test $HAVE_FCHMODAT = 0 || test $REPLACE_FCHMODAT = 1])
AM_COND_IF([GL_COND_OBJ_FCHMODAT], [
gl_PREREQ_FCHMODAT
])
gl_SYS_STAT_MODULE_INDICATOR([fchmodat])
Makefile.am:
if GL_COND_OBJ_FCHMODAT
lib_SOURCES += fchmodat.c
endif
Include:
<sys/stat.h>
Link:
$(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise
License:
GPL
Maintainer:
Jim Meyering, Eric Blake, Paul Eggert