summaryrefslogtreecommitdiffstats
path: root/gl/m4
diff options
context:
space:
mode:
Diffstat (limited to 'gl/m4')
-rw-r--r--gl/m4/gnulib-cache.m44
-rw-r--r--gl/m4/gnulib-common.m43
-rw-r--r--gl/m4/gnulib-comp.m414
-rw-r--r--gl/m4/sha256.m4 (renamed from gl/m4/sha1.m4)12
4 files changed, 17 insertions, 16 deletions
diff --git a/gl/m4/gnulib-cache.m4 b/gl/m4/gnulib-cache.m4
index 9d0128a0..06fed91a 100644
--- a/gl/m4/gnulib-cache.m4
+++ b/gl/m4/gnulib-cache.m4
@@ -39,7 +39,7 @@
39# --macro-prefix=gl \ 39# --macro-prefix=gl \
40# --no-vc-files \ 40# --no-vc-files \
41# base64 \ 41# base64 \
42# crypto/sha1 \ 42# crypto/sha256 \
43# dirname \ 43# dirname \
44# environ \ 44# environ \
45# floorf \ 45# floorf \
@@ -65,7 +65,7 @@
65gl_LOCAL_DIR([]) 65gl_LOCAL_DIR([])
66gl_MODULES([ 66gl_MODULES([
67 base64 67 base64
68 crypto/sha1 68 crypto/sha256
69 dirname 69 dirname
70 environ 70 environ
71 floorf 71 floorf
diff --git a/gl/m4/gnulib-common.m4 b/gl/m4/gnulib-common.m4
index 30911d15..8a5daa23 100644
--- a/gl/m4/gnulib-common.m4
+++ b/gl/m4/gnulib-common.m4
@@ -313,7 +313,8 @@ AC_DEFUN([gl_COMMON_BODY], [
313#else 313#else
314# define _GL_ATTRIBUTE_MAYBE_UNUSED _GL_ATTRIBUTE_UNUSED 314# define _GL_ATTRIBUTE_MAYBE_UNUSED _GL_ATTRIBUTE_UNUSED
315#endif 315#endif
316/* Alternative spelling of this macro, for convenience. */ 316/* Alternative spelling of this macro, for convenience and for
317 compatibility with glibc/include/libc-symbols.h. */
317#define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED 318#define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
318/* Earlier spellings of this macro. */ 319/* Earlier spellings of this macro. */
319#define _UNUSED_PARAMETER_ _GL_ATTRIBUTE_MAYBE_UNUSED 320#define _UNUSED_PARAMETER_ _GL_ATTRIBUTE_MAYBE_UNUSED
diff --git a/gl/m4/gnulib-comp.m4 b/gl/m4/gnulib-comp.m4
index a82c5de2..93b78841 100644
--- a/gl/m4/gnulib-comp.m4
+++ b/gl/m4/gnulib-comp.m4
@@ -57,8 +57,8 @@ AC_DEFUN([gl_EARLY],
57 # Code from module cloexec: 57 # Code from module cloexec:
58 # Code from module close: 58 # Code from module close:
59 # Code from module crypto/af_alg: 59 # Code from module crypto/af_alg:
60 # Code from module crypto/sha1: 60 # Code from module crypto/sha256:
61 # Code from module crypto/sha1-buffer: 61 # Code from module crypto/sha256-buffer:
62 # Code from module dirname: 62 # Code from module dirname:
63 # Code from module dirname-lgpl: 63 # Code from module dirname-lgpl:
64 # Code from module double-slash-root: 64 # Code from module double-slash-root:
@@ -265,7 +265,7 @@ AC_DEFUN([gl_INIT],
265 gl_UNISTD_MODULE_INDICATOR([close]) 265 gl_UNISTD_MODULE_INDICATOR([close])
266 gl_AF_ALG 266 gl_AF_ALG
267 AC_REQUIRE([AC_C_RESTRICT]) 267 AC_REQUIRE([AC_C_RESTRICT])
268 gl_SHA1 268 gl_SHA256
269 gl_MODULE_INDICATOR([dirname]) 269 gl_MODULE_INDICATOR([dirname])
270 gl_DOUBLE_SLASH_ROOT 270 gl_DOUBLE_SLASH_ROOT
271 gl_FUNC_DUP2 271 gl_FUNC_DUP2
@@ -1130,9 +1130,9 @@ AC_DEFUN([gl_FILE_LIST], [
1130 lib/setlocale-lock.c 1130 lib/setlocale-lock.c
1131 lib/setlocale_null.c 1131 lib/setlocale_null.c
1132 lib/setlocale_null.h 1132 lib/setlocale_null.h
1133 lib/sha1-stream.c 1133 lib/sha256-stream.c
1134 lib/sha1.c 1134 lib/sha256.c
1135 lib/sha1.h 1135 lib/sha256.h
1136 lib/size_max.h 1136 lib/size_max.h
1137 lib/snprintf.c 1137 lib/snprintf.c
1138 lib/sockets.c 1138 lib/sockets.c
@@ -1316,7 +1316,7 @@ AC_DEFUN([gl_FILE_LIST], [
1316 m4/servent.m4 1316 m4/servent.m4
1317 m4/setenv.m4 1317 m4/setenv.m4
1318 m4/setlocale_null.m4 1318 m4/setlocale_null.m4
1319 m4/sha1.m4 1319 m4/sha256.m4
1320 m4/size_max.m4 1320 m4/size_max.m4
1321 m4/snprintf.m4 1321 m4/snprintf.m4
1322 m4/socketlib.m4 1322 m4/socketlib.m4
diff --git a/gl/m4/sha1.m4 b/gl/m4/sha256.m4
index 0d7abc72..b3d8f92e 100644
--- a/gl/m4/sha1.m4
+++ b/gl/m4/sha256.m4
@@ -1,14 +1,14 @@
1# sha1.m4 serial 12 1# sha256.m4 serial 8
2dnl Copyright (C) 2002-2006, 2008-2022 Free Software Foundation, Inc. 2dnl Copyright (C) 2005, 2008-2022 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,
5dnl with or without modifications, as long as this notice is preserved. 5dnl with or without modifications, as long as this notice is preserved.
6 6
7AC_DEFUN([gl_SHA1], 7AC_DEFUN([gl_SHA256],
8[ 8[
9 dnl Prerequisites of lib/sha1.c. 9 dnl Prerequisites of lib/sha256.c.
10 AC_REQUIRE([gl_BIGENDIAN]) 10 AC_REQUIRE([gl_BIGENDIAN])
11 11
12 dnl Determine HAVE_OPENSSL_SHA1 and LIB_CRYPTO 12 dnl Determine HAVE_OPENSSL_SHA256 and LIB_CRYPTO
13 gl_CRYPTO_CHECK([SHA1]) 13 gl_CRYPTO_CHECK([SHA256])
14]) 14])