aboutsummaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorPaul Eggert2020-01-01 03:11:22 +0000
committerPaul Eggert2019-12-31 19:11:56 -0800
commit64d1b9fd8a97d355d7fe23025d82bebe52c1af1c (patch)
treeb3375e41ebc8b83c9d7742a064820a32ef61ab57 /m4
parentc6fb86b40bebf597fccbe4eba58ceea83bd9700f (diff)
downloademacs-64d1b9fd8a97d355d7fe23025d82bebe52c1af1c.tar.gz
emacs-64d1b9fd8a97d355d7fe23025d82bebe52c1af1c.zip
Update from gnulib
This incorporates: 2019-12-23 mktime, nstrftime: tweak division performance 2019-12-22 count-leading-zeros: assume 'long long' 2019-12-22 count-one-bits: assume 'long long' 2019-12-22 count-trailing-zeros: assume 'long long' 2019-12-12 inttypes-incomplete: assume 'long long' 2019-12-22 malloca: assume 'long long' 2019-12-22 stdint: assume 'long long' 2019-12-22 strtoll, strtoimax, strtoumax: assume 'long long' 2019-12-22 prefer lib_SOURCES to unconditional AC_LIBOBJ 2019-12-19 nstrftime: avoid a shadowing warning 2019-12-18 improve port of AC_C_RESTRICT to Oracle C++ 2019-12-12 stdalign: port to xlclang 16.01 2019-12-11 stddef, unistd: fix compilation error in C++ mode on MSVC 2019-12-08 fix compilation errors in C++ mode on Haiku 2019-12-08 fix compilation errors in 32-bit C++ mode on HP-UX 11/ia64 2019-12-08 fix compilation error in C++ mode on OpenBSD * build-aux/config.guess, doc/misc/texinfo.tex: * lib/count-leading-zeros.h, lib/count-one-bits.h: * lib/count-trailing-zeros.h, lib/inttypes.in.h, lib/malloca.h: * lib/mktime.c, lib/nstrftime.c, lib/signal.in.h, lib/stdalign.in.h: * lib/stddef.in.h, lib/stdint.in.h, lib/stdio.in.h, lib/stdlib.in.h: * lib/strtoimax.c, lib/unistd.in.h, m4/gnulib-common.m4: * m4/inttypes.m4, m4/largefile.m4, m4/malloca.m4, m4/strtoimax.m4: * m4/strtoll.m4: Copy from Gnulib. Also, change copyright notices in some other Gnulib-copied files to exactly match Gnulib, as Gnulib updated them in a trivially different way. * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
Diffstat (limited to 'm4')
-rw-r--r--m4/alloca.m44
-rw-r--r--m4/d-type.m43
-rw-r--r--m4/dup2.m43
-rw-r--r--m4/filemode.m43
-rw-r--r--m4/fsusage.m43
-rw-r--r--m4/getgroups.m43
-rw-r--r--m4/getloadavg.m44
-rw-r--r--m4/gettime.m43
-rw-r--r--m4/gettimeofday.m43
-rw-r--r--m4/glibc21.m44
-rw-r--r--m4/gnulib-common.m413
-rw-r--r--m4/gnulib-comp.m48
-rw-r--r--m4/group-member.m43
-rw-r--r--m4/inttypes.m46
-rw-r--r--m4/largefile.m416
-rw-r--r--m4/malloca.m47
-rw-r--r--m4/mempcpy.m44
-rw-r--r--m4/memrchr.m44
-rw-r--r--m4/mktime.m44
-rw-r--r--m4/nstrftime.m43
-rw-r--r--m4/pathmax.m44
-rw-r--r--m4/sig2str.m43
-rw-r--r--m4/ssize_t.m43
-rw-r--r--m4/st_dm_mode.m43
-rw-r--r--m4/stat-time.m44
-rw-r--r--m4/stdint.m423
-rw-r--r--m4/strnlen.m44
-rw-r--r--m4/strtoimax.m46
-rw-r--r--m4/strtoll.m416
-rw-r--r--m4/time_h.m43
-rw-r--r--m4/timespec.m43
31 files changed, 74 insertions, 99 deletions
diff --git a/m4/alloca.m4 b/m4/alloca.m4
index 5f4653967d1..59225245b91 100644
--- a/m4/alloca.m4
+++ b/m4/alloca.m4
@@ -1,6 +1,6 @@
1# alloca.m4 serial 15 1# alloca.m4 serial 15
2dnl Copyright (C) 2002-2004, 2006-2007, 2009-2020 Free Software 2dnl Copyright (C) 2002-2004, 2006-2007, 2009-2020 Free Software Foundation,
3dnl Foundation, Inc. 3dnl Inc.
4dnl This file is free software; the Free Software Foundation 4dnl This file is free software; the Free Software Foundation
5dnl gives unlimited permission to copy and/or distribute it, 5dnl gives unlimited permission to copy and/or distribute it,
6dnl with or without modifications, as long as this notice is preserved. 6dnl with or without modifications, as long as this notice is preserved.
diff --git a/m4/d-type.m4 b/m4/d-type.m4
index bcb179ad4e1..d40220a1b59 100644
--- a/m4/d-type.m4
+++ b/m4/d-type.m4
@@ -5,8 +5,7 @@ dnl
5dnl Check whether struct dirent has a member named d_type. 5dnl Check whether struct dirent has a member named d_type.
6dnl 6dnl
7 7
8# Copyright (C) 1997, 1999-2004, 2006, 2009-2020 Free Software 8# Copyright (C) 1997, 1999-2004, 2006, 2009-2020 Free Software Foundation, Inc.
9# Foundation, Inc.
10# 9#
11# This file is free software; the Free Software Foundation 10# This file is free software; the Free Software Foundation
12# gives unlimited permission to copy and/or distribute it, 11# gives unlimited permission to copy and/or distribute it,
diff --git a/m4/dup2.m4 b/m4/dup2.m4
index 2835bb1cf99..21b1ecc26b8 100644
--- a/m4/dup2.m4
+++ b/m4/dup2.m4
@@ -1,6 +1,5 @@
1#serial 25 1#serial 25
2dnl Copyright (C) 2002, 2005, 2007, 2009-2020 Free Software Foundation, 2dnl Copyright (C) 2002, 2005, 2007, 2009-2020 Free Software Foundation, Inc.
3dnl Inc.
4dnl This file is free software; the Free Software Foundation 3dnl This file is free software; the Free Software Foundation
5dnl gives unlimited permission to copy and/or distribute it, 4dnl gives unlimited permission to copy and/or distribute it,
6dnl with or without modifications, as long as this notice is preserved. 5dnl with or without modifications, as long as this notice is preserved.
diff --git a/m4/filemode.m4 b/m4/filemode.m4
index a1b7e105b59..5aaaa1a167d 100644
--- a/m4/filemode.m4
+++ b/m4/filemode.m4
@@ -1,6 +1,5 @@
1# filemode.m4 serial 8 1# filemode.m4 serial 8
2dnl Copyright (C) 2002, 2005-2006, 2009-2020 Free Software Foundation, 2dnl Copyright (C) 2002, 2005-2006, 2009-2020 Free Software Foundation, Inc.
3dnl Inc.
4dnl This file is free software; the Free Software Foundation 3dnl This file is free software; the Free Software Foundation
5dnl gives unlimited permission to copy and/or distribute it, 4dnl gives unlimited permission to copy and/or distribute it,
6dnl with or without modifications, as long as this notice is preserved. 5dnl with or without modifications, as long as this notice is preserved.
diff --git a/m4/fsusage.m4 b/m4/fsusage.m4
index 64fcf5d290d..0bc62066aab 100644
--- a/m4/fsusage.m4
+++ b/m4/fsusage.m4
@@ -1,8 +1,7 @@
1# serial 34 1# serial 34
2# Obtaining file system usage information. 2# Obtaining file system usage information.
3 3
4# Copyright (C) 1997-1998, 2000-2001, 2003-2020 Free Software 4# Copyright (C) 1997-1998, 2000-2001, 2003-2020 Free Software Foundation, Inc.
5# Foundation, Inc.
6# 5#
7# This file is free software; the Free Software Foundation 6# This file is free software; the Free Software Foundation
8# gives unlimited permission to copy and/or distribute it, 7# gives unlimited permission to copy and/or distribute it,
diff --git a/m4/getgroups.m4 b/m4/getgroups.m4
index 79436460f30..3e7e46f8672 100644
--- a/m4/getgroups.m4
+++ b/m4/getgroups.m4
@@ -3,8 +3,7 @@
3dnl From Jim Meyering. 3dnl From Jim Meyering.
4dnl A wrapper around AC_FUNC_GETGROUPS. 4dnl A wrapper around AC_FUNC_GETGROUPS.
5 5
6# Copyright (C) 1996-1997, 1999-2004, 2008-2020 Free Software 6# Copyright (C) 1996-1997, 1999-2004, 2008-2020 Free Software Foundation, Inc.
7# Foundation, Inc.
8# 7#
9# This file is free software; the Free Software Foundation 8# This file is free software; the Free Software Foundation
10# gives unlimited permission to copy and/or distribute it, 9# gives unlimited permission to copy and/or distribute it,
diff --git a/m4/getloadavg.m4 b/m4/getloadavg.m4
index 74a116fd10d..3bd2a142e73 100644
--- a/m4/getloadavg.m4
+++ b/m4/getloadavg.m4
@@ -1,7 +1,7 @@
1# Check for getloadavg. 1# Check for getloadavg.
2 2
3# Copyright (C) 1992-1996, 1999-2000, 2002-2003, 2006, 2008-2020 Free 3# Copyright (C) 1992-1996, 1999-2000, 2002-2003, 2006, 2008-2020 Free Software
4# Software Foundation, Inc. 4# Foundation, Inc.
5 5
6# This file is free software; the Free Software Foundation 6# This file is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it, 7# gives unlimited permission to copy and/or distribute it,
diff --git a/m4/gettime.m4 b/m4/gettime.m4
index 6a1f9a4157d..e65455a2ff9 100644
--- a/m4/gettime.m4
+++ b/m4/gettime.m4
@@ -1,6 +1,5 @@
1# gettime.m4 serial 9 1# gettime.m4 serial 9
2dnl Copyright (C) 2002, 2004-2006, 2009-2020 Free Software Foundation, 2dnl Copyright (C) 2002, 2004-2006, 2009-2020 Free Software Foundation, Inc.
3dnl Inc.
4dnl This file is free software; the Free Software Foundation 3dnl This file is free software; the Free Software Foundation
5dnl gives unlimited permission to copy and/or distribute it, 4dnl gives unlimited permission to copy and/or distribute it,
6dnl with or without modifications, as long as this notice is preserved. 5dnl with or without modifications, as long as this notice is preserved.
diff --git a/m4/gettimeofday.m4 b/m4/gettimeofday.m4
index 443c6f9309a..c72b3eacc63 100644
--- a/m4/gettimeofday.m4
+++ b/m4/gettimeofday.m4
@@ -1,7 +1,6 @@
1# serial 27 1# serial 27
2 2
3# Copyright (C) 2001-2003, 2005, 2007, 2009-2020 Free Software 3# Copyright (C) 2001-2003, 2005, 2007, 2009-2020 Free Software Foundation, Inc.
4# Foundation, Inc.
5# This file is free software; the Free Software Foundation 4# This file is free software; the Free Software Foundation
6# gives unlimited permission to copy and/or distribute it, 5# gives unlimited permission to copy and/or distribute it,
7# with or without modifications, as long as this notice is preserved. 6# with or without modifications, as long as this notice is preserved.
diff --git a/m4/glibc21.m4 b/m4/glibc21.m4
index 9197d3bf45f..ece484b5ae9 100644
--- a/m4/glibc21.m4
+++ b/m4/glibc21.m4
@@ -1,6 +1,6 @@
1# glibc21.m4 serial 5 1# glibc21.m4 serial 5
2dnl Copyright (C) 2000-2002, 2004, 2008, 2010-2020 Free Software 2dnl Copyright (C) 2000-2002, 2004, 2008, 2010-2020 Free Software Foundation,
3dnl Foundation, Inc. 3dnl Inc.
4dnl This file is free software; the Free Software Foundation 4dnl This file is free software; the Free Software Foundation
5dnl gives unlimited permission to copy and/or distribute it, 5dnl gives unlimited permission to copy and/or distribute it,
6dnl with or without modifications, as long as this notice is preserved. 6dnl with or without modifications, as long as this notice is preserved.
diff --git a/m4/gnulib-common.m4 b/m4/gnulib-common.m4
index b617eacff01..6c4cad6cef4 100644
--- a/m4/gnulib-common.m4
+++ b/m4/gnulib-common.m4
@@ -415,12 +415,13 @@ AC_DEFUN([AC_C_RESTRICT],
415 nothing if this is not supported. Do not define if restrict is 415 nothing if this is not supported. Do not define if restrict is
416 supported directly. */ 416 supported directly. */
417#undef restrict 417#undef restrict
418/* Work around a bug in Sun C++: it does not support _Restrict or 418/* Work around a bug in older versions of Sun C++, which did not
419 __restrict__, even though the corresponding Sun C compiler ends up with 419 #define __restrict__ or support _Restrict or __restrict__
420 "#define restrict _Restrict" or "#define restrict __restrict__" in the 420 even though the corresponding Sun C compiler ended up with
421 previous line. Perhaps some future version of Sun C++ will work with 421 "#define restrict _Restrict" or "#define restrict __restrict__"
422 restrict; if so, hopefully it defines __RESTRICT like Sun C does. */ 422 in the previous line. This workaround can be removed once
423#if defined __SUNPRO_CC && !defined __RESTRICT 423 we assume Oracle Developer Studio 12.5 (2016) or later. */
424#if defined __SUNPRO_CC && !defined __RESTRICT && !defined __restrict__
424# define _Restrict 425# define _Restrict
425# define __restrict__ 426# define __restrict__
426#endif]) 427#endif])
diff --git a/m4/gnulib-comp.m4 b/m4/gnulib-comp.m4
index c952c9c956c..85a60569326 100644
--- a/m4/gnulib-comp.m4
+++ b/m4/gnulib-comp.m4
@@ -220,9 +220,6 @@ AC_DEFUN([gl_INIT],
220 AC_LIBOBJ([copy-file-range]) 220 AC_LIBOBJ([copy-file-range])
221 fi 221 fi
222 gl_UNISTD_MODULE_INDICATOR([copy-file-range]) 222 gl_UNISTD_MODULE_INDICATOR([copy-file-range])
223 gl_COUNT_LEADING_ZEROS
224 gl_COUNT_ONE_BITS
225 gl_COUNT_TRAILING_ZEROS
226 gl_MD5 223 gl_MD5
227 gl_SHA1 224 gl_SHA1
228 gl_SHA256 225 gl_SHA256
@@ -484,7 +481,6 @@ AC_DEFUN([gl_INIT],
484 func_gl_gnulib_m4code_260941c0e5dc67ec9e87d1fb321c300b () 481 func_gl_gnulib_m4code_260941c0e5dc67ec9e87d1fb321c300b ()
485 { 482 {
486 if ! $gl_gnulib_enabled_260941c0e5dc67ec9e87d1fb321c300b; then 483 if ! $gl_gnulib_enabled_260941c0e5dc67ec9e87d1fb321c300b; then
487 AC_LIBOBJ([openat-proc])
488 gl_gnulib_enabled_260941c0e5dc67ec9e87d1fb321c300b=true 484 gl_gnulib_enabled_260941c0e5dc67ec9e87d1fb321c300b=true
489 func_gl_gnulib_m4code_open 485 func_gl_gnulib_m4code_open
490 fi 486 fi
@@ -1050,9 +1046,6 @@ AC_DEFUN([gl_FILE_LIST], [
1050 m4/canonicalize.m4 1046 m4/canonicalize.m4
1051 m4/clock_time.m4 1047 m4/clock_time.m4
1052 m4/copy-file-range.m4 1048 m4/copy-file-range.m4
1053 m4/count-leading-zeros.m4
1054 m4/count-one-bits.m4
1055 m4/count-trailing-zeros.m4
1056 m4/d-type.m4 1049 m4/d-type.m4
1057 m4/dirent_h.m4 1050 m4/dirent_h.m4
1058 m4/dirfd.m4 1051 m4/dirfd.m4
@@ -1094,7 +1087,6 @@ AC_DEFUN([gl_FILE_LIST], [
1094 m4/largefile.m4 1087 m4/largefile.m4
1095 m4/limits-h.m4 1088 m4/limits-h.m4
1096 m4/localtime-buffer.m4 1089 m4/localtime-buffer.m4
1097 m4/longlong.m4
1098 m4/lstat.m4 1090 m4/lstat.m4
1099 m4/malloca.m4 1091 m4/malloca.m4
1100 m4/manywarnings-c++.m4 1092 m4/manywarnings-c++.m4
diff --git a/m4/group-member.m4 b/m4/group-member.m4
index 5b32b5ff498..ad7368ceecb 100644
--- a/m4/group-member.m4
+++ b/m4/group-member.m4
@@ -1,7 +1,6 @@
1# serial 14 1# serial 14
2 2
3# Copyright (C) 1999-2001, 2003-2007, 2009-2020 Free Software 3# Copyright (C) 1999-2001, 2003-2007, 2009-2020 Free Software Foundation, Inc.
4# Foundation, Inc.
5 4
6# This file is free software; the Free Software Foundation 5# This file is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it, 6# gives unlimited permission to copy and/or distribute it,
diff --git a/m4/inttypes.m4 b/m4/inttypes.m4
index e037be6fcc5..d0487d6368c 100644
--- a/m4/inttypes.m4
+++ b/m4/inttypes.m4
@@ -1,4 +1,4 @@
1# inttypes.m4 serial 27 1# inttypes.m4 serial 28
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,
@@ -113,10 +113,8 @@ AC_DEFUN([gl_INTTYPES_CHECK_LONG_LONG_INT_CONDITION],
113 113
114 #if $2 114 #if $2
115 #define CONDITION ($3) 115 #define CONDITION ($3)
116 #elif HAVE_LONG_LONG_INT
117 #define CONDITION ($4)
118 #else 116 #else
119 #define CONDITION 0 117 #define CONDITION ($4)
120 #endif 118 #endif
121 int test[CONDITION ? 1 : -1];]])], 119 int test[CONDITION ? 1 : -1];]])],
122 [gl_cv_test_$1=yes], 120 [gl_cv_test_$1=yes],
diff --git a/m4/largefile.m4 b/m4/largefile.m4
index f6863e46c49..40b16bc0e54 100644
--- a/m4/largefile.m4
+++ b/m4/largefile.m4
@@ -5,6 +5,22 @@
5# gives unlimited permission to copy and/or distribute it, 5# gives unlimited permission to copy and/or distribute it,
6# with or without modifications, as long as this notice is preserved. 6# with or without modifications, as long as this notice is preserved.
7 7
8# The following macro works around a problem in Autoconf's AC_FUNC_FSEEKO:
9# It does not set _LARGEFILE_SOURCE=1 on HP-UX/ia64 32-bit, although this
10# setting of _LARGEFILE_SOURCE is needed so that <stdio.h> declares fseeko
11# and ftello in C++ mode as well.
12AC_DEFUN([gl_SET_LARGEFILE_SOURCE],
13[
14 AC_REQUIRE([AC_CANONICAL_HOST])
15 AC_FUNC_FSEEKO
16 case "$host_os" in
17 hpux*)
18 AC_DEFINE([_LARGEFILE_SOURCE], [1],
19 [Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2).])
20 ;;
21 esac
22])
23
8# The following implementation works around a problem in autoconf <= 2.69; 24# The following implementation works around a problem in autoconf <= 2.69;
9# AC_SYS_LARGEFILE does not configure for large inodes on Mac OS X 10.5, 25# AC_SYS_LARGEFILE does not configure for large inodes on Mac OS X 10.5,
10# or configures them incorrectly in some cases. 26# or configures them incorrectly in some cases.
diff --git a/m4/malloca.m4 b/m4/malloca.m4
index 99e9dace2c5..930199da14a 100644
--- a/m4/malloca.m4
+++ b/m4/malloca.m4
@@ -1,6 +1,6 @@
1# malloca.m4 serial 1 1# malloca.m4 serial 2
2dnl Copyright (C) 2003-2004, 2006-2007, 2009-2020 Free Software 2dnl Copyright (C) 2003-2004, 2006-2007, 2009-2020 Free Software Foundation,
3dnl Foundation, Inc. 3dnl Inc.
4dnl This file is free software; the Free Software Foundation 4dnl This file is free software; the Free Software Foundation
5dnl gives unlimited permission to copy and/or distribute it, 5dnl gives unlimited permission to copy and/or distribute it,
6dnl with or without modifications, as long as this notice is preserved. 6dnl with or without modifications, as long as this notice is preserved.
@@ -11,5 +11,4 @@ AC_DEFUN([gl_MALLOCA],
11 dnl @ALLOCA@ and @LTALLOCA@. 11 dnl @ALLOCA@ and @LTALLOCA@.
12 dnl gl_FUNC_ALLOCA dnl Already brought in by the module dependencies. 12 dnl gl_FUNC_ALLOCA dnl Already brought in by the module dependencies.
13 AC_REQUIRE([gl_EEMALLOC]) 13 AC_REQUIRE([gl_EEMALLOC])
14 AC_REQUIRE([AC_TYPE_LONG_LONG_INT])
15]) 14])
diff --git a/m4/mempcpy.m4 b/m4/mempcpy.m4
index 63e4087784b..899f12a880a 100644
--- a/m4/mempcpy.m4
+++ b/m4/mempcpy.m4
@@ -1,6 +1,6 @@
1# mempcpy.m4 serial 11 1# mempcpy.m4 serial 11
2dnl Copyright (C) 2003-2004, 2006-2007, 2009-2020 Free Software 2dnl Copyright (C) 2003-2004, 2006-2007, 2009-2020 Free Software Foundation,
3dnl Foundation, Inc. 3dnl Inc.
4dnl This file is free software; the Free Software Foundation 4dnl This file is free software; the Free Software Foundation
5dnl gives unlimited permission to copy and/or distribute it, 5dnl gives unlimited permission to copy and/or distribute it,
6dnl with or without modifications, as long as this notice is preserved. 6dnl with or without modifications, as long as this notice is preserved.
diff --git a/m4/memrchr.m4 b/m4/memrchr.m4
index 8e33fb96a07..95990ed6b76 100644
--- a/m4/memrchr.m4
+++ b/m4/memrchr.m4
@@ -1,6 +1,6 @@
1# memrchr.m4 serial 10 1# memrchr.m4 serial 10
2dnl Copyright (C) 2002-2003, 2005-2007, 2009-2020 Free Software 2dnl Copyright (C) 2002-2003, 2005-2007, 2009-2020 Free Software Foundation,
3dnl Foundation, Inc. 3dnl Inc.
4dnl This file is free software; the Free Software Foundation 4dnl This file is free software; the Free Software Foundation
5dnl gives unlimited permission to copy and/or distribute it, 5dnl gives unlimited permission to copy and/or distribute it,
6dnl with or without modifications, as long as this notice is preserved. 6dnl with or without modifications, as long as this notice is preserved.
diff --git a/m4/mktime.m4 b/m4/mktime.m4
index 5e89f20e979..c00843f0f40 100644
--- a/m4/mktime.m4
+++ b/m4/mktime.m4
@@ -1,6 +1,6 @@
1# serial 31 1# serial 31
2dnl Copyright (C) 2002-2003, 2005-2007, 2009-2020 Free Software 2dnl Copyright (C) 2002-2003, 2005-2007, 2009-2020 Free Software Foundation,
3dnl Foundation, Inc. 3dnl Inc.
4dnl This file is free software; the Free Software Foundation 4dnl This file is free software; the Free Software Foundation
5dnl gives unlimited permission to copy and/or distribute it, 5dnl gives unlimited permission to copy and/or distribute it,
6dnl with or without modifications, as long as this notice is preserved. 6dnl with or without modifications, as long as this notice is preserved.
diff --git a/m4/nstrftime.m4 b/m4/nstrftime.m4
index ec41d42f4ba..c15fab3e98b 100644
--- a/m4/nstrftime.m4
+++ b/m4/nstrftime.m4
@@ -1,7 +1,6 @@
1# serial 34 1# serial 34
2 2
3# Copyright (C) 1996-1997, 1999-2007, 2009-2020 Free Software 3# Copyright (C) 1996-1997, 1999-2007, 2009-2020 Free Software Foundation, Inc.
4# Foundation, Inc.
5# 4#
6# This file is free software; the Free Software Foundation 5# This file is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it, 6# gives unlimited permission to copy and/or distribute it,
diff --git a/m4/pathmax.m4 b/m4/pathmax.m4
index dc6bc3bceba..bb4fdeba750 100644
--- a/m4/pathmax.m4
+++ b/m4/pathmax.m4
@@ -1,6 +1,6 @@
1# pathmax.m4 serial 11 1# pathmax.m4 serial 11
2dnl Copyright (C) 2002-2003, 2005-2006, 2009-2020 Free Software 2dnl Copyright (C) 2002-2003, 2005-2006, 2009-2020 Free Software Foundation,
3dnl Foundation, Inc. 3dnl Inc.
4dnl This file is free software; the Free Software Foundation 4dnl This file is free software; the Free Software Foundation
5dnl gives unlimited permission to copy and/or distribute it, 5dnl gives unlimited permission to copy and/or distribute it,
6dnl with or without modifications, as long as this notice is preserved. 6dnl with or without modifications, as long as this notice is preserved.
diff --git a/m4/sig2str.m4 b/m4/sig2str.m4
index c9b1a860a17..415290c4dee 100644
--- a/m4/sig2str.m4
+++ b/m4/sig2str.m4
@@ -1,6 +1,5 @@
1# serial 7 1# serial 7
2dnl Copyright (C) 2002, 2005-2006, 2009-2020 Free Software Foundation, 2dnl Copyright (C) 2002, 2005-2006, 2009-2020 Free Software Foundation, Inc.
3dnl Inc.
4dnl This file is free software; the Free Software Foundation 3dnl This file is free software; the Free Software Foundation
5dnl gives unlimited permission to copy and/or distribute it, 4dnl gives unlimited permission to copy and/or distribute it,
6dnl with or without modifications, as long as this notice is preserved. 5dnl with or without modifications, as long as this notice is preserved.
diff --git a/m4/ssize_t.m4 b/m4/ssize_t.m4
index b77032b47a3..6c0a588873c 100644
--- a/m4/ssize_t.m4
+++ b/m4/ssize_t.m4
@@ -1,6 +1,5 @@
1# ssize_t.m4 serial 5 (gettext-0.18.2) 1# ssize_t.m4 serial 5 (gettext-0.18.2)
2dnl Copyright (C) 2001-2003, 2006, 2010-2020 Free Software Foundation, 2dnl Copyright (C) 2001-2003, 2006, 2010-2020 Free Software Foundation, Inc.
3dnl Inc.
4dnl This file is free software; the Free Software Foundation 3dnl This file is free software; the Free Software Foundation
5dnl gives unlimited permission to copy and/or distribute it, 4dnl gives unlimited permission to copy and/or distribute it,
6dnl with or without modifications, as long as this notice is preserved. 5dnl with or without modifications, as long as this notice is preserved.
diff --git a/m4/st_dm_mode.m4 b/m4/st_dm_mode.m4
index 9c44ae73dc1..5dad161c3b2 100644
--- a/m4/st_dm_mode.m4
+++ b/m4/st_dm_mode.m4
@@ -1,7 +1,6 @@
1# serial 6 1# serial 6
2 2
3# Copyright (C) 1998-1999, 2001, 2009-2020 Free Software Foundation, 3# Copyright (C) 1998-1999, 2001, 2009-2020 Free Software Foundation, Inc.
4# Inc.
5# This file is free software; the Free Software Foundation 4# This file is free software; the Free Software Foundation
6# gives unlimited permission to copy and/or distribute it, 5# gives unlimited permission to copy and/or distribute it,
7# with or without modifications, as long as this notice is preserved. 6# with or without modifications, as long as this notice is preserved.
diff --git a/m4/stat-time.m4 b/m4/stat-time.m4
index 59bd29f91ac..0ac3f7272e3 100644
--- a/m4/stat-time.m4
+++ b/m4/stat-time.m4
@@ -1,7 +1,7 @@
1# Checks for stat-related time functions. 1# Checks for stat-related time functions.
2 2
3# Copyright (C) 1998-1999, 2001, 2003, 2005-2007, 2009-2020 Free 3# Copyright (C) 1998-1999, 2001, 2003, 2005-2007, 2009-2020 Free Software
4# Software Foundation, Inc. 4# Foundation, Inc.
5 5
6# This file is free software; the Free Software Foundation 6# This file is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it, 7# gives unlimited permission to copy and/or distribute it,
diff --git a/m4/stdint.m4 b/m4/stdint.m4
index 3f75a18f32c..29ad826d8ea 100644
--- a/m4/stdint.m4
+++ b/m4/stdint.m4
@@ -1,4 +1,4 @@
1# stdint.m4 serial 53 1# stdint.m4 serial 54
2dnl Copyright (C) 2001-2020 Free Software Foundation, Inc. 2dnl Copyright (C) 2001-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,
@@ -17,21 +17,12 @@ AC_DEFUN_ONCE([gl_STDINT_H],
17 AC_REQUIRE([gl_LIMITS_H]) 17 AC_REQUIRE([gl_LIMITS_H])
18 AC_REQUIRE([gt_TYPE_WINT_T]) 18 AC_REQUIRE([gt_TYPE_WINT_T])
19 19
20 dnl Check for long long int and unsigned long long int. 20 dnl For backward compatibility. Some packages may still be testing these
21 AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) 21 dnl macros.
22 if test $ac_cv_type_long_long_int = yes; then 22 AC_DEFINE([HAVE_LONG_LONG_INT], [1],
23 HAVE_LONG_LONG_INT=1 23 [Define to 1 if the system has the type 'long long int'.])
24 else 24 AC_DEFINE([HAVE_UNSIGNED_LONG_LONG_INT], [1],
25 HAVE_LONG_LONG_INT=0 25 [Define to 1 if the system has the type 'unsigned long long int'.])
26 fi
27 AC_SUBST([HAVE_LONG_LONG_INT])
28 AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT])
29 if test $ac_cv_type_unsigned_long_long_int = yes; then
30 HAVE_UNSIGNED_LONG_LONG_INT=1
31 else
32 HAVE_UNSIGNED_LONG_LONG_INT=0
33 fi
34 AC_SUBST([HAVE_UNSIGNED_LONG_LONG_INT])
35 26
36 dnl Check for <wchar.h>, in the same way as gl_WCHAR_H does. 27 dnl Check for <wchar.h>, in the same way as gl_WCHAR_H does.
37 AC_CHECK_HEADERS_ONCE([wchar.h]) 28 AC_CHECK_HEADERS_ONCE([wchar.h])
diff --git a/m4/strnlen.m4 b/m4/strnlen.m4
index 67d4eb05c03..71b8e1baffe 100644
--- a/m4/strnlen.m4
+++ b/m4/strnlen.m4
@@ -1,6 +1,6 @@
1# strnlen.m4 serial 13 1# strnlen.m4 serial 13
2dnl Copyright (C) 2002-2003, 2005-2007, 2009-2020 Free Software 2dnl Copyright (C) 2002-2003, 2005-2007, 2009-2020 Free Software Foundation,
3dnl Foundation, Inc. 3dnl Inc.
4dnl This file is free software; the Free Software Foundation 4dnl This file is free software; the Free Software Foundation
5dnl gives unlimited permission to copy and/or distribute it, 5dnl gives unlimited permission to copy and/or distribute it,
6dnl with or without modifications, as long as this notice is preserved. 6dnl with or without modifications, as long as this notice is preserved.
diff --git a/m4/strtoimax.m4 b/m4/strtoimax.m4
index de97d75ce67..4958e3dcd50 100644
--- a/m4/strtoimax.m4
+++ b/m4/strtoimax.m4
@@ -1,6 +1,5 @@
1# strtoimax.m4 serial 15 1# strtoimax.m4 serial 16
2dnl Copyright (C) 2002-2004, 2006, 2009-2020 Free Software Foundation, 2dnl Copyright (C) 2002-2004, 2006, 2009-2020 Free Software Foundation, Inc.
3dnl Inc.
4dnl This file is free software; the Free Software Foundation 3dnl This file is free software; the Free Software Foundation
5dnl gives unlimited permission to copy and/or distribute it, 4dnl gives unlimited permission to copy and/or distribute it,
6dnl with or without modifications, as long as this notice is preserved. 5dnl with or without modifications, as long as this notice is preserved.
@@ -86,5 +85,4 @@ int main ()
86# Prerequisites of lib/strtoimax.c. 85# Prerequisites of lib/strtoimax.c.
87AC_DEFUN([gl_PREREQ_STRTOIMAX], [ 86AC_DEFUN([gl_PREREQ_STRTOIMAX], [
88 AC_CHECK_DECLS([strtoll]) 87 AC_CHECK_DECLS([strtoll])
89 AC_REQUIRE([AC_TYPE_LONG_LONG_INT])
90]) 88])
diff --git a/m4/strtoll.m4 b/m4/strtoll.m4
index af962836ec6..edcde3b5582 100644
--- a/m4/strtoll.m4
+++ b/m4/strtoll.m4
@@ -1,6 +1,5 @@
1# strtoll.m4 serial 7 1# strtoll.m4 serial 8
2dnl Copyright (C) 2002, 2004, 2006, 2008-2020 Free Software Foundation, 2dnl Copyright (C) 2002, 2004, 2006, 2008-2020 Free Software Foundation, Inc.
3dnl Inc.
4dnl This file is free software; the Free Software Foundation 3dnl This file is free software; the Free Software Foundation
5dnl gives unlimited permission to copy and/or distribute it, 4dnl gives unlimited permission to copy and/or distribute it,
6dnl with or without modifications, as long as this notice is preserved. 5dnl with or without modifications, as long as this notice is preserved.
@@ -8,14 +7,9 @@ dnl with or without modifications, as long as this notice is preserved.
8AC_DEFUN([gl_FUNC_STRTOLL], 7AC_DEFUN([gl_FUNC_STRTOLL],
9[ 8[
10 AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) 9 AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
11 dnl We don't need (and can't compile) the replacement strtoll 10 AC_CHECK_FUNCS([strtoll])
12 dnl unless the type 'long long int' exists. 11 if test $ac_cv_func_strtoll = no; then
13 AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) 12 HAVE_STRTOLL=0
14 if test "$ac_cv_type_long_long_int" = yes; then
15 AC_CHECK_FUNCS([strtoll])
16 if test $ac_cv_func_strtoll = no; then
17 HAVE_STRTOLL=0
18 fi
19 fi 13 fi
20]) 14])
21 15
diff --git a/m4/time_h.m4 b/m4/time_h.m4
index e4fe59084f8..aae0ae22741 100644
--- a/m4/time_h.m4
+++ b/m4/time_h.m4
@@ -1,7 +1,6 @@
1# Configure a more-standard replacement for <time.h>. 1# Configure a more-standard replacement for <time.h>.
2 2
3# Copyright (C) 2000-2001, 2003-2007, 2009-2020 Free Software 3# Copyright (C) 2000-2001, 2003-2007, 2009-2020 Free Software Foundation, Inc.
4# Foundation, Inc.
5 4
6# serial 11 5# serial 11
7 6
diff --git a/m4/timespec.m4 b/m4/timespec.m4
index 5ed82b109c6..e71628dc318 100644
--- a/m4/timespec.m4
+++ b/m4/timespec.m4
@@ -1,7 +1,6 @@
1#serial 15 1#serial 15
2 2
3# Copyright (C) 2000-2001, 2003-2007, 2009-2020 Free Software 3# Copyright (C) 2000-2001, 2003-2007, 2009-2020 Free Software Foundation, Inc.
4# Foundation, Inc.
5 4
6# This file is free software; the Free Software Foundation 5# This file is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it, 6# gives unlimited permission to copy and/or distribute it,