From 27f9d02eb92b442e6cd5c07852f0cc18a6b842a0 Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Tue, 15 Oct 2013 15:01:01 +0200 Subject: [PATCH] * configure.ac: Check for nvlist_lookup_string in nvpair since we use nvlist_lookup_string and don't use nvlist_print. --- ChangeLog | 5 +++++ configure.ac | 2 +- include/grub/util/libnvpair.h | 1 - 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d51d82dc4..6d2de5c56 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-10-15 Vladimir Serbinenko + + * configure.ac: Check for nvlist_lookup_string in nvpair since we + use nvlist_lookup_string and don't use nvlist_print. + 2013-10-15 Vladimir Serbinenko Add wrappers around rename, unlink, mkdir, opendir, readdir and diff --git a/configure.ac b/configure.ac index d3082c785..8cacd47ed 100644 --- a/configure.ac +++ b/configure.ac @@ -1260,7 +1260,7 @@ if test x"$libzfs_excuse" = x ; then fi if test x"$libzfs_excuse" = x ; then - AC_CHECK_LIB([nvpair], [nvlist_print], + AC_CHECK_LIB([nvpair], [nvlist_lookup_string], [], [libzfs_excuse="need nvpair library"]) fi diff --git a/include/grub/util/libnvpair.h b/include/grub/util/libnvpair.h index 26f7e9d0f..573c7ea81 100644 --- a/include/grub/util/libnvpair.h +++ b/include/grub/util/libnvpair.h @@ -32,7 +32,6 @@ typedef void nvlist_t; int nvlist_lookup_string (nvlist_t *, const char *, char **); int nvlist_lookup_nvlist (nvlist_t *, const char *, nvlist_t **); int nvlist_lookup_nvlist_array (nvlist_t *, const char *, nvlist_t ***, unsigned int *); -void nvlist_print (FILE *, nvlist_t *); #endif /* ! HAVE_LIBNVPAIR_H */