Check for libdevmapper header
This commit is contained in:
parent
e7121b6932
commit
53798c4bd1
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2011-01-08 Grégoire Sutre <gregoire.sutre@gmail.com>
|
||||||
|
|
||||||
|
* configure.ac: Check for libdevmapper header.
|
||||||
|
|
||||||
2011-01-08 Vladimir Serbinenko <phcoder@gmail.com>
|
2011-01-08 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/fs/zfs/zfs.c (dmu_read): Use void * for some pointers to
|
* grub-core/fs/zfs/zfs.c (dmu_read): Use void * for some pointers to
|
||||||
|
|
|
@ -863,6 +863,12 @@ if test x"$enable_device_mapper" = xno ; then
|
||||||
device_mapper_excuse="explicitly disabled"
|
device_mapper_excuse="explicitly disabled"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test x"$device_mapper_excuse" = x ; then
|
||||||
|
# Check for device-mapper header.
|
||||||
|
AC_CHECK_HEADER([libdevmapper.h], [],
|
||||||
|
[device_mapper_excuse="need libdevmapper header"])
|
||||||
|
fi
|
||||||
|
|
||||||
if test x"$device_mapper_excuse" = x ; then
|
if test x"$device_mapper_excuse" = x ; then
|
||||||
# Check for device-mapper library.
|
# Check for device-mapper library.
|
||||||
AC_CHECK_LIB([devmapper], [dm_task_create], [],
|
AC_CHECK_LIB([devmapper], [dm_task_create], [],
|
||||||
|
|
Loading…
Reference in a new issue