2023-10-18 07:29:37 +00:00
|
|
|
# sha256.m4 serial 8
|
|
|
|
dnl Copyright (C) 2005, 2008-2023 Free Software Foundation, Inc.
|
2013-11-26 22:57:29 +00:00
|
|
|
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.
|
|
|
|
|
2023-10-18 07:29:37 +00:00
|
|
|
AC_DEFUN([gl_SHA256],
|
2013-11-26 22:57:29 +00:00
|
|
|
[
|
2023-10-18 07:29:37 +00:00
|
|
|
dnl Prerequisites of lib/sha256.c.
|
2013-11-26 22:57:29 +00:00
|
|
|
AC_REQUIRE([gl_BIGENDIAN])
|
2023-10-18 07:29:37 +00:00
|
|
|
|
|
|
|
dnl Determine HAVE_OPENSSL_SHA256 and LIB_CRYPTO
|
|
|
|
gl_CRYPTO_CHECK([SHA256])
|
2013-11-26 22:57:29 +00:00
|
|
|
])
|