diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2020-02-23 16:14:24 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2020-02-23 16:15:01 -0800 |
commit | c4ca8219dd6b8f06e67a0b767475b1259653b8e0 (patch) | |
tree | 42f9b4273fd50965587026a4f8e2dc55ee2e709b /m4 | |
parent | b95f78ed7b0cfda494d9d0d0c8ede1a911152007 (diff) | |
download | emacs-c4ca8219dd6b8f06e67a0b767475b1259653b8e0.tar.gz |
Update from Gnulib
This incorporates:
2020-02-23 use 'restrict'
* lib/careadlinkat.h, lib/md5.h, lib/sha1.h, lib/sha256.h:
* lib/sha512.h, lib/strftime.h, lib/string.in.h, m4/nstrftime.m4:
Copy from Gnulib.
* m4/gnulib-comp.m4: Regenerate.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/gnulib-comp.m4 | 5 | ||||
-rw-r--r-- | m4/nstrftime.m4 | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/m4/gnulib-comp.m4 b/m4/gnulib-comp.m4 index 48d8030f539..fea32b544f9 100644 --- a/m4/gnulib-comp.m4 +++ b/m4/gnulib-comp.m4 @@ -211,6 +211,7 @@ AC_DEFUN([gl_INIT], gl_MODULE_INDICATOR([canonicalize-lgpl]) gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name]) gl_STDLIB_MODULE_INDICATOR([realpath]) + AC_REQUIRE([AC_C_RESTRICT]) AC_CHECK_FUNCS_ONCE([readlinkat]) gl_CLOCK_TIME gl_MODULE_INDICATOR([close-stream]) @@ -219,9 +220,13 @@ AC_DEFUN([gl_INIT], AC_LIBOBJ([copy-file-range]) fi gl_UNISTD_MODULE_INDICATOR([copy-file-range]) + AC_REQUIRE([AC_C_RESTRICT]) gl_MD5 + AC_REQUIRE([AC_C_RESTRICT]) gl_SHA1 + AC_REQUIRE([AC_C_RESTRICT]) gl_SHA256 + AC_REQUIRE([AC_C_RESTRICT]) gl_SHA512 gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE gl_DIRENT_H diff --git a/m4/nstrftime.m4 b/m4/nstrftime.m4 index c15fab3e98b..6f2762aa276 100644 --- a/m4/nstrftime.m4 +++ b/m4/nstrftime.m4 @@ -1,4 +1,4 @@ -# serial 34 +# serial 35 # Copyright (C) 1996-1997, 1999-2007, 2009-2020 Free Software Foundation, Inc. # @@ -10,6 +10,8 @@ AC_DEFUN([gl_FUNC_GNU_STRFTIME], [ + AC_REQUIRE([AC_C_RESTRICT]) + # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE. AC_REQUIRE([AC_STRUCT_TIMEZONE]) |