immutable: Add tests.
[gnulib.git] / m4 / sm3.m4
blob39ea2d16c0612c82fcbbed6eda2c2676fc51543b
1 # sm3.m4 serial 2
2 dnl Copyright (C) 2017-2021 Free Software Foundation, Inc.
3 dnl This file is free software; the Free Software Foundation
4 dnl gives unlimited permission to copy and/or distribute it,
5 dnl with or without modifications, as long as this notice is preserved.
7 AC_DEFUN([gl_SM3],
9   dnl Prerequisites of lib/sm3.h.
10   AC_REQUIRE([AC_C_RESTRICT])
12   dnl Prerequisites of lib/sm3.c.
13   AC_REQUIRE([gl_BIGENDIAN])
15   dnl Currently openssl still doesn't support sm3.
16   m4_divert_once([DEFAULTS], [LIB_CRYPTO=])
17   AC_SUBST([LIB_CRYPTO])