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