xref: /freebsd/sys/contrib/openzfs/config/user-libcrypto.m4 (revision 02e9120893770924227138ba49df1edb3896112a)
1dnl #
2dnl # Check for libcrypto. Used for userspace password derivation via PBKDF2.
3dnl #
4AC_DEFUN([ZFS_AC_CONFIG_USER_LIBCRYPTO], [
5	ZFS_AC_FIND_SYSTEM_LIBRARY(LIBCRYPTO, [libcrypto], [openssl/evp.h], [], [crypto], [PKCS5_PBKDF2_HMAC_SHA1], [], [
6		AC_MSG_FAILURE([
7		*** evp.h missing, libssl-devel package required])])
8])
9