xref: /freebsd/sys/contrib/openzfs/config/user-libcrypto.m4 (revision af23369a6deaaeb612ab266eb88b8bb8d560c322)
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