summaryrefslogtreecommitdiffstats
path: root/gl/m4/gl-openssl.m4
diff options
context:
space:
mode:
Diffstat (limited to 'gl/m4/gl-openssl.m4')
-rw-r--r--gl/m4/gl-openssl.m49
1 files changed, 7 insertions, 2 deletions
diff --git a/gl/m4/gl-openssl.m4 b/gl/m4/gl-openssl.m4
index 7eab4e10..3cfea50f 100644
--- a/gl/m4/gl-openssl.m4
+++ b/gl/m4/gl-openssl.m4
@@ -1,8 +1,10 @@
1# gl-openssl.m4 serial 6 1# gl-openssl.m4
2dnl Copyright (C) 2013-2023 Free Software Foundation, Inc. 2# serial 7
3dnl Copyright (C) 2013-2025 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 4dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it, 5dnl gives unlimited permission to copy and/or distribute it,
5dnl with or without modifications, as long as this notice is preserved. 6dnl with or without modifications, as long as this notice is preserved.
7dnl This file is offered as-is, without any warranty.
6 8
7AC_DEFUN([gl_SET_CRYPTO_CHECK_DEFAULT], 9AC_DEFUN([gl_SET_CRYPTO_CHECK_DEFAULT],
8[ 10[
@@ -39,6 +41,9 @@ AC_DEFUN([gl_CRYPTO_CHECK],
39 AC_SUBST([LIB_CRYPTO]) 41 AC_SUBST([LIB_CRYPTO])
40 if test "x$with_openssl" != xno; then 42 if test "x$with_openssl" != xno; then
41 if test "x$with_openssl" = xauto-gpl-compat; then 43 if test "x$with_openssl" = xauto-gpl-compat; then
44 dnl OpenSSL versions < 3 are under the OpenSSL license, which is not
45 dnl GPL compatible.
46 dnl See <https://www.gnu.org/licenses/license-list.en.html#OpenSSL>.
42 AC_CACHE_CHECK([whether openssl is GPL compatible], 47 AC_CACHE_CHECK([whether openssl is GPL compatible],
43 [gl_cv_openssl_gpl_compat], 48 [gl_cv_openssl_gpl_compat],
44 [AC_COMPILE_IFELSE( 49 [AC_COMPILE_IFELSE(