Linux: Fix zfs_prune panics
[zfs.git] / config / user-libcrypto.m4
blob7293e1b0b42c4eaa100ea078ac1614a7f38552fc
1 dnl #
2 dnl # Check for libcrypto. Used for userspace password derivation via PBKDF2.
3 dnl #
4 AC_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 ])