xref: /freebsd/sys/contrib/openzfs/config/user-libblkid.m4 (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
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