Looks like you actualy do have libdevmapper (I'm surprised it exists for NetBSD) but not the headers.
I'm not sure what it's for (I don't use LVM). The utility dmsetup(8) (ported from Linux?) requires it. > We should check for headers too. Attached patch adds this. Grégoire
=== modified file 'ChangeLog' --- ChangeLog 2011-01-06 13:24:38 +0000 +++ ChangeLog 2011-01-06 21:27:31 +0000 @@ -1,3 +1,7 @@ +2011-01-06 Grégoire Sutre <gregoire.su...@gmail.com> + + * configure.ac: Check for libdevmapper header. + 2011-01-06 Colin Watson <cjwat...@ubuntu.com> * tests/util/grub-shell.in: Set serial terminfo type to `dumb', to === modified file 'configure.ac' --- configure.ac 2010-11-16 15:50:20 +0000 +++ configure.ac 2011-01-06 21:31:21 +0000 @@ -867,6 +867,12 @@ if test x"$enable_device_mapper" = xno ; 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 # Check for device-mapper library. AC_CHECK_LIB([devmapper], [dm_task_create], [], [device_mapper_excuse="need devmapper library"])
_______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel