Here's a new bundle including a --without-libzfs flag, and a fix for my build issue.
# Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: flop...@gentoo.org-20120205010752-empg4oxbegj3fepe # target_branch: http://bzr.savannah.gnu.org/r/grub/trunk/grub/ # testament_sha1: 3de5f3713591cd87700717bed9a9371d99f3e053 # timestamp: 2012-02-04 20:08:34 -0500 # base_revision_id: phco...@gmail.com-20120204204729-kvhzfohes2vqg8h9 # # Begin patch === modified file 'configure.ac' --- configure.ac 2012-02-04 20:47:29 +0000 +++ configure.ac 2012-02-05 01:05:27 +0000 @@ -974,16 +974,21 @@ [Define to 1 if you have the LZMA library.])],) AC_SUBST([LIBLZMA]) -AC_CHECK_LIB([zfs], [libzfs_init], - [LIBZFS="-lzfs" - AC_DEFINE([HAVE_LIBZFS], [1], - [Define to 1 if you have the ZFS library.])],) +AC_ARG_WITH([libzfs], + [AS_HELP_STRING([--without-libzfs], [Do not use libzfs.])]) + +if test x"$with_libzfs" != xno; then + AC_CHECK_LIB([zfs], [libzfs_init], + [LIBZFS="-lzfs" + AC_DEFINE([HAVE_LIBZFS], [1], + [Define to 1 if you have the ZFS library.])],) + + AC_CHECK_LIB([nvpair], [nvlist_print], + [LIBNVPAIR="-lnvpair" + AC_DEFINE([HAVE_LIBNVPAIR], [1], + [Define to 1 if you have the NVPAIR library.])],) +fi AC_SUBST([LIBZFS]) - -AC_CHECK_LIB([nvpair], [nvlist_print], - [LIBNVPAIR="-lnvpair" - AC_DEFINE([HAVE_LIBNVPAIR], [1], - [Define to 1 if you have the NVPAIR library.])],) AC_SUBST([LIBNVPAIR]) LIBS=""
=== modified file 'util/getroot.c' --- util/getroot.c 2012-02-03 21:36:51 +0000 +++ util/getroot.c 2012-02-05 01:07:52 +0000 @@ -2380,7 +2380,7 @@ } #endif -#ifdef HAVE_LIBZFS +#if defined(HAVE_LIBZFS) && defined(HAVE_LIBNVPAIR) static libzfs_handle_t *__libzfs_handle; static void # Begin bundle IyBCYXphYXIgcmV2aXNpb24g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PacIr3PpVqillWillWKWV bMY+ozY1GBV0ksX9sg3eCf3Li+r4PlJDVqq5GlPFGEMjRDajw6jtLW8g/b9+90wzMr7Ped9nmj5i 9Hjg7SU3lYx+aR1+6RXae03EoxMT5ZOl841o9pm74fAvJcDOCCSg6+qv2bg0AwGAFKeWtLwCMfwn hDmeC/Wm7yT0R3Q9CkcYlHuLkV6gyixUjIuDRge+ipQ3Wx7TKsv61a2/j1HMzdKNckOcLodBWPmj 8ZIYw8YXnebxxh2GcwMB1JlTHALdJaZoviVRZJS2Bb4MMxdUkSqJRN/Vttu5zx1SQ8XfDp6sTQi6 +JpD7p7y5GmSGAzSQxuiV+iSFQ8IfSvJq1zortc3L4J2nRDl6p3FiiXjsjzrSXJfDa618kOd5dfJ DVDjDrhqOUKR9OCNaO3VdbYm6oWvicE12qHViRtPM3jNJDQ6em6GfsqX3l8MCqK5lDJRiLypMdZz LzXr51KqVVVqLswWMT0qVUqlVDFL6PtmMTZvR0Xbeo6NrwNq++bcxhrox9BR2wsWnQakXnCGWe8p oLtJq1jNNUkNMSiVW6ZrE1wyNDwRgb2dHEzWZbEUzvs7UeF2z4I+E3txPcYBYwOaO9HpOSPuuc50 Ka0qLMidaHVDkfbCkeiPKSGLKdPZHcel7xt5U9tX1am0yhij/4u5IpwoSE2mDqmA
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel