* configure.ac: Check for dm_log_with_errno_init in libdevmapper and
echo if libdevmapper will be used.
This commit is contained in:
parent
ef8e0ec8ed
commit
61d720e535
2 changed files with 25 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2010-09-02 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* configure.ac: Check for dm_log_with_errno_init in libdevmapper and
|
||||||
|
echo if libdevmapper will be used.
|
||||||
|
|
||||||
2010-09-02 Ian Turner <Ian.Turner@deshaw.com>
|
2010-09-02 Ian Turner <Ian.Turner@deshaw.com>
|
||||||
|
|
||||||
* grub-core/fs/i386/pc/pxe.c (grub_pxefs_read): Keep the blocksize
|
* grub-core/fs/i386/pc/pxe.c (grub_pxefs_read): Keep the blocksize
|
||||||
|
|
24
configure.ac
24
configure.ac
|
@ -822,12 +822,23 @@ 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], [],
|
||||||
[LIBDEVMAPPER="-ldevmapper"
|
|
||||||
AC_DEFINE([HAVE_DEVICE_MAPPER], [1],
|
|
||||||
[Define to 1 if you have the devmapper library.])],
|
|
||||||
[device_mapper_excuse="need devmapper library"])
|
[device_mapper_excuse="need devmapper library"])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test x"$device_mapper_excuse" = x ; then
|
||||||
|
# Check for device-mapper library.
|
||||||
|
AC_CHECK_LIB([devmapper], [dm_log_with_errno_init],
|
||||||
|
[],
|
||||||
|
[device_mapper_excuse="need devmapper library"])
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test x"$device_mapper_excuse" = x ; then
|
||||||
|
LIBDEVMAPPER="-ldevmapper";
|
||||||
|
AC_DEFINE([HAVE_DEVICE_MAPPER], [1],
|
||||||
|
[Define to 1 if you have the devmapper library.])
|
||||||
|
fi
|
||||||
|
|
||||||
AC_SUBST([LIBDEVMAPPER])
|
AC_SUBST([LIBDEVMAPPER])
|
||||||
|
|
||||||
AC_CHECK_LIB([zfs], [libzfs_init],
|
AC_CHECK_LIB([zfs], [libzfs_init],
|
||||||
|
@ -942,6 +953,11 @@ else
|
||||||
echo PCI support for grub-emu: No "($grub_emu_pci_excuse)"
|
echo PCI support for grub-emu: No "($grub_emu_pci_excuse)"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
if test x"$device_mapper_excuse" = x ; then
|
||||||
|
echo With devmapper support: Yes
|
||||||
|
else
|
||||||
|
echo With devmapper support: No "($device_mapper_excuse)"
|
||||||
|
fi
|
||||||
if [ x"$enable_mm_debug" = xyes ]; then
|
if [ x"$enable_mm_debug" = xyes ]; then
|
||||||
echo With memory debugging: Yes
|
echo With memory debugging: Yes
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue