xref: /freebsd/sys/contrib/openzfs/config/user-zlib.m4 (revision 2e3507c25e42292b45a5482e116d278f5515d04d)
1dnl #
2dnl # Check for zlib
3dnl #
4AC_DEFUN([ZFS_AC_CONFIG_USER_ZLIB], [
5	ZFS_AC_FIND_SYSTEM_LIBRARY(ZLIB, [zlib], [zlib.h], [], [z], [compress2 uncompress crc32], [], [
6	    AC_MSG_FAILURE([*** zlib-devel package required])
7	])
8])
9