mirror of
https://github.com/ceph/ceph
synced 2024-12-17 08:57:28 +00:00
configure: check for blkid/blkid.h header
The check for the presence of blkid/blkid.h was missing. Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
This commit is contained in:
parent
9004049094
commit
070a8208af
@ -134,8 +134,13 @@ ACX_PTHREAD
|
||||
|
||||
AC_CHECK_LIB([uuid], [uuid_parse], [true], AC_MSG_FAILURE([libuuid not found]))
|
||||
|
||||
# rbd {map,unmap,showmapped} dependencies, Linux only
|
||||
if test x"$linux" = x"yes"; then
|
||||
AC_CHECK_LIB([blkid], [blkid_devno_to_wholedisk], [true], AC_MSG_FAILURE([libblkid not found]))
|
||||
# libblkid
|
||||
AC_CHECK_HEADER([blkid/blkid.h], [],
|
||||
AC_MSG_ERROR([blkid/blkid.h not found (libblkid-dev, libblkid-devel)]))
|
||||
AC_CHECK_LIB([blkid], [blkid_devno_to_wholedisk], [],
|
||||
AC_MSG_FAILURE([libblkid not found]))
|
||||
fi
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user