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