* configure.ac: Check for nvlist_lookup_string in nvpair since we

use nvlist_lookup_string and don't use nvlist_print.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-10-15 15:01:01 +02:00
parent f6a81f0aaf
commit 27f9d02eb9
3 changed files with 6 additions and 2 deletions

View File

@ -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

View 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

View 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 */