xref: /freebsd/sys/contrib/openzfs/config/user-libblkid.m4 (revision 3c4ba5f55438f7afd4f4b0b56f88f2bb505fd6a6)
1dnl #
2dnl # Check for libblkid.  Basic support for detecting ZFS pools
3dnl # has existing in blkid since 2008.
4dnl #
5AC_DEFUN([ZFS_AC_CONFIG_USER_LIBBLKID], [
6	ZFS_AC_FIND_SYSTEM_LIBRARY(LIBBLKID, [blkid], [blkid/blkid.h], [], [blkid], [], [], [
7		AC_MSG_FAILURE([
8		*** blkid.h missing, libblkid-devel package required])])
9])
10