havelib: Fix for Solaris 11 OpenIndiana and Solaris 11 OmniOS.
[gnulib.git] / m4 / sm3.m4
blobcb31930eaec073396925c00f28370708546acfa7
1 # sm3.m4 serial 2
2 dnl Copyright (C) 2017-2020 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])