Merge commit 'refs/top-bases/linux-have-libdiskmgt' into linux-have-libdiskmgt
This commit is contained in:
commit
fa768b6a65
|
@ -0,0 +1,11 @@
|
||||||
|
dnl #
|
||||||
|
dnl # Check for zlib
|
||||||
|
dnl #
|
||||||
|
AC_DEFUN([ZFS_AC_CONFIG_USER_ZLIB], [
|
||||||
|
AC_CHECK_HEADER([zlib.h], [], [AC_MSG_ERROR([
|
||||||
|
*** zlib.h missing, the zlib-devel package is required])])
|
||||||
|
AC_CHECK_LIB([z], [compress2], [], [AC_MSG_ERROR([
|
||||||
|
*** compress2() missing, the zlib-devel package is required])])
|
||||||
|
AC_CHECK_LIB([z], [uncompress], [], [AC_MSG_ERROR([
|
||||||
|
*** uncompress() missing, the zlib-devel package is required])])
|
||||||
|
])
|
|
@ -7,4 +7,5 @@ AC_DEFUN([ZFS_AC_CONFIG_USER], [
|
||||||
ZFS_AC_CONFIG_USER_LIBDISKMGT
|
ZFS_AC_CONFIG_USER_LIBDISKMGT
|
||||||
ZFS_AC_CONFIG_USER_LIBSHARE
|
ZFS_AC_CONFIG_USER_LIBSHARE
|
||||||
ZFS_AC_CONFIG_USER_IOCTL
|
ZFS_AC_CONFIG_USER_IOCTL
|
||||||
|
ZFS_AC_CONFIG_USER_ZLIB
|
||||||
])
|
])
|
||||||
|
|
Loading…
Reference in New Issue