From 13e14a6bfd9f29cbfeab0c5161d2a994f97532e7 Mon Sep 17 00:00:00 2001 From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> Date: Thu, 26 Mar 2026 12:53:53 +0100 Subject: Update/gnulib 2026 03 (#2247) * Sync with the 202601-stable Gnulib code (4a3650d887) * Ignore more deps stuff in gnulib * Remove autogenerated gnulib files * Ignore more gnulib generated headers --- gl/m4/gl-openssl.m4 | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'gl/m4/gl-openssl.m4') diff --git a/gl/m4/gl-openssl.m4 b/gl/m4/gl-openssl.m4 index 3cfea50f..70f43a55 100644 --- a/gl/m4/gl-openssl.m4 +++ b/gl/m4/gl-openssl.m4 @@ -1,6 +1,6 @@ # gl-openssl.m4 -# serial 7 -dnl Copyright (C) 2013-2025 Free Software Foundation, Inc. +# serial 8 +dnl Copyright (C) 2013-2026 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. @@ -58,12 +58,17 @@ AC_DEFUN([gl_CRYPTO_CHECK], fi if test "x$with_openssl" != xauto-gpl-compat || test "x$gl_cv_openssl_gpl_compat" = xyes; then - AC_CHECK_LIB([crypto], [$1], - [AC_CHECK_HEADERS( - m4_if([$1], [MD5], [openssl/md5.h], [openssl/sha.h]), + m4_if([$1], [SHA3], + [AC_CHECK_LIB([crypto], [EVP_sha3_224], [LIB_CRYPTO=-lcrypto AC_DEFINE([HAVE_OPENSSL_$1], [1], - [Define to 1 if libcrypto is used for $1.])])]) + [Define to 1 if libcrypto is used for $1.])])], + [AC_CHECK_LIB([crypto], [$1], + [AC_CHECK_HEADERS( + m4_if([$1], [MD5], [openssl/md5.h], [openssl/sha.h]), + [LIB_CRYPTO=-lcrypto + AC_DEFINE([HAVE_OPENSSL_$1], [1], + [Define to 1 if libcrypto is used for $1.])])])]) fi if test "x$LIB_CRYPTO" = x; then message='openssl development library not found for $1. -- cgit v1.2.3-74-g34f1