]> git.proxmox.com Git - grub2.git/commitdiff
* configure.ac: Check for nvlist_lookup_string in nvpair since we
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 15 Oct 2013 13:01:01 +0000 (15:01 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 15 Oct 2013 13:01:01 +0000 (15:01 +0200)
use nvlist_lookup_string and don't use nvlist_print.

ChangeLog
configure.ac
include/grub/util/libnvpair.h

index d51d82dc4ddfe574e230b8cf9ebd85722cca1295..6d2de5c562b41744fa0fad428a4bf7f13c071fdd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-10-15  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * 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  <phcoder@gmail.com>
 
        Add wrappers around rename, unlink, mkdir, opendir, readdir and
index d3082c785127f72b635492791d191a0cab3647d6..8cacd47ed91ee0a75f418e49f346043dc1e0cf9c 100644 (file)
@@ -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
index 26f7e9d0f323e4f753faa1e724bc06b88a92cf55..573c7ea816a0ceb610d33a13dd11cad3a3df1e7c 100644 (file)
@@ -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 */