aboutsummaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorPaul Eggert2020-02-09 00:44:11 -0800
committerPaul Eggert2020-02-09 00:45:42 -0800
commit5e7bead8eac9a79dfd74452a7bd5199f12ad0c45 (patch)
tree449a49b0635fc2f8d6acb43bcbaabf6621de4015 /m4
parent2645ae1222db1df270276b227e5102884466ecb0 (diff)
downloademacs-5e7bead8eac9a79dfd74452a7bd5199f12ad0c45.tar.gz
emacs-5e7bead8eac9a79dfd74452a7bd5199f12ad0c45.zip
Update from Gnulib
This incorporates: 2020-02-08 lchmod: ensure declaration on HP-UX 2020-02-08 fchmodat: fix endless recursion on Cygwin 2020-02-08 Fix compilation errors in a testdir 2020-02-07 fchmodat: AT_SYMLINK_NOFOLLOW fix for non-symlinks 2020-02-04 Port _Noreturn to older Clang 2020-02-03 libc-config: port to Apple’s Clang variant * lib/_Noreturn.h, lib/c++defs.h, lib/libc-config.h, lib/sys_stat.in.h: * m4/gnulib-common.m4, m4/sys_stat_h.m4: Copy from Gnulib. * lib/gnulib.mk.in: Regenerate.
Diffstat (limited to 'm4')
-rw-r--r--m4/gnulib-common.m47
-rw-r--r--m4/sys_stat_h.m44
2 files changed, 8 insertions, 3 deletions
diff --git a/m4/gnulib-common.m4 b/m4/gnulib-common.m4
index 276ed1affa5..b4795c18aeb 100644
--- a/m4/gnulib-common.m4
+++ b/m4/gnulib-common.m4
@@ -1,4 +1,4 @@
1# gnulib-common.m4 serial 47 1# gnulib-common.m4 serial 48
2dnl Copyright (C) 2007-2020 Free Software Foundation, Inc. 2dnl Copyright (C) 2007-2020 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it, 4dnl gives unlimited permission to copy and/or distribute it,
@@ -31,7 +31,10 @@ AC_DEFUN([gl_COMMON_BODY], [
31# define _Noreturn [[noreturn]] 31# define _Noreturn [[noreturn]]
32# elif ((!defined __cplusplus || defined __clang__) \ 32# elif ((!defined __cplusplus || defined __clang__) \
33 && (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \ 33 && (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \
34 || 4 < __GNUC__ + (7 <= __GNUC_MINOR__))) 34 || 4 < __GNUC__ + (7 <= __GNUC_MINOR__) \
35 || (defined __apple_build_version__ \
36 ? 6000000 <= __apple_build_version__ \
37 : 3 < __clang_major__ + (5 <= __clang_minor__))))
35 /* _Noreturn works as-is. */ 38 /* _Noreturn works as-is. */
36# elif 2 < __GNUC__ + (8 <= __GNUC_MINOR__) || 0x5110 <= __SUNPRO_C 39# elif 2 < __GNUC__ + (8 <= __GNUC_MINOR__) || 0x5110 <= __SUNPRO_C
37# define _Noreturn __attribute__ ((__noreturn__)) 40# define _Noreturn __attribute__ ((__noreturn__))
diff --git a/m4/sys_stat_h.m4 b/m4/sys_stat_h.m4
index d63df9ebffd..a5f35d46dd9 100644
--- a/m4/sys_stat_h.m4
+++ b/m4/sys_stat_h.m4
@@ -1,4 +1,4 @@
1# sys_stat_h.m4 serial 31 -*- Autoconf -*- 1# sys_stat_h.m4 serial 32 -*- Autoconf -*-
2dnl Copyright (C) 2006-2020 Free Software Foundation, Inc. 2dnl Copyright (C) 2006-2020 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it, 4dnl gives unlimited permission to copy and/or distribute it,
@@ -88,9 +88,11 @@ AC_DEFUN([gl_SYS_STAT_H_DEFAULTS],
88 HAVE_MKNOD=1; AC_SUBST([HAVE_MKNOD]) 88 HAVE_MKNOD=1; AC_SUBST([HAVE_MKNOD])
89 HAVE_MKNODAT=1; AC_SUBST([HAVE_MKNODAT]) 89 HAVE_MKNODAT=1; AC_SUBST([HAVE_MKNODAT])
90 HAVE_UTIMENSAT=1; AC_SUBST([HAVE_UTIMENSAT]) 90 HAVE_UTIMENSAT=1; AC_SUBST([HAVE_UTIMENSAT])
91 REPLACE_FCHMODAT=0; AC_SUBST([REPLACE_FCHMODAT])
91 REPLACE_FSTAT=0; AC_SUBST([REPLACE_FSTAT]) 92 REPLACE_FSTAT=0; AC_SUBST([REPLACE_FSTAT])
92 REPLACE_FSTATAT=0; AC_SUBST([REPLACE_FSTATAT]) 93 REPLACE_FSTATAT=0; AC_SUBST([REPLACE_FSTATAT])
93 REPLACE_FUTIMENS=0; AC_SUBST([REPLACE_FUTIMENS]) 94 REPLACE_FUTIMENS=0; AC_SUBST([REPLACE_FUTIMENS])
95 REPLACE_LCHMOD=0; AC_SUBST([REPLACE_LCHMOD])
94 REPLACE_LSTAT=0; AC_SUBST([REPLACE_LSTAT]) 96 REPLACE_LSTAT=0; AC_SUBST([REPLACE_LSTAT])
95 REPLACE_MKDIR=0; AC_SUBST([REPLACE_MKDIR]) 97 REPLACE_MKDIR=0; AC_SUBST([REPLACE_MKDIR])
96 REPLACE_MKFIFO=0; AC_SUBST([REPLACE_MKFIFO]) 98 REPLACE_MKFIFO=0; AC_SUBST([REPLACE_MKFIFO])