dnl #
dnl # Check for zlib
AC_DEFUN([ZFS_AC_CONFIG_USER_ZLIB], [
FIND_SYSTEM_LIBRARY(ZLIB, [zlib], [zlib.h], [], [z], [compress2, uncompress, crc32], [], [
AC_MSG_FAILURE([*** zlib-devel package required])
])