mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-06 11:50:51 -08:00
This incorporates: 2020-07-07 dup2: remove support for some very old platforms 2020-07-07 memchr: remove support for some very old platforms 2020-07-04 getumask: new module 2020-07-03 getrandom: fix compilation error on native Windows 2020-07-03 lchmod: simplify after 2020-02-22 change 2020-07-01 manywarnings: improve port to GCC 10.1 2020-06-28 getrandom: fix compilation errors on older versions of mingw 2020-06-29 alloca-opt: fix warning on mingw * lib/alloca.in.h, lib/dup2.c, lib/getrandom.c, lib/string.in.h: * lib/sys_stat.in.h, lib/unistd.in.h, m4/dup2.m4, m4/getrandom.m4: * m4/lchmod.m4, m4/manywarnings.m4, m4/string_h.m4, m4/sys_stat_h.m4: * m4/unistd_h.m4: Copy from Gnulib. * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
30 lines
776 B
Text
30 lines
776 B
Text
#serial 8
|
|
|
|
dnl Copyright (C) 2005-2006, 2008-2020 Free Software Foundation, Inc.
|
|
dnl This file is free software; the Free Software Foundation
|
|
dnl gives unlimited permission to copy and/or distribute it,
|
|
dnl with or without modifications, as long as this notice is preserved.
|
|
|
|
dnl From Paul Eggert.
|
|
dnl Provide a replacement for lchmod on hosts that lack a working version.
|
|
|
|
AC_DEFUN([gl_FUNC_LCHMOD],
|
|
[
|
|
AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS])
|
|
|
|
dnl Persuade glibc <sys/stat.h> to declare lchmod().
|
|
AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
|
|
|
|
AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
|
|
|
|
AC_CHECK_FUNCS_ONCE([lchmod lstat])
|
|
if test "$ac_cv_func_lchmod" = no; then
|
|
HAVE_LCHMOD=0
|
|
fi
|
|
])
|
|
|
|
# Prerequisites of lib/lchmod.c.
|
|
AC_DEFUN([gl_PREREQ_LCHMOD],
|
|
[
|
|
:
|
|
])
|