mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-26 09:10:53 +00:00
build: Rename HAVE_LIBZFS to USE_LIBZFS
The HAVE_LIBZFS is defined by libzfs test and hence conflicts with manual definition. On NetBSD it ends up detecting zfs but not detecting nvpair and creates confusion. Split them. Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
1 parent
e4dbe5cfa4
commit
3d4cb5a432
3 files changed
+7
-9
No files matched your search
+2
-4
@@ -2008,11 +2008,9 @@ fi
|
||||
if test x"$libzfs_excuse" = x ; then
|
||||
# We need both libzfs and libnvpair for a successful build.
|
||||
LIBZFS="-lzfs"
|
||||
AC_DEFINE([HAVE_LIBZFS], [1],
|
||||
[Define to 1 if you have the ZFS library.])
|
||||
LIBNVPAIR="-lnvpair"
|
||||
AC_DEFINE([HAVE_LIBNVPAIR], [1],
|
||||
[Define to 1 if you have the NVPAIR library.])
|
||||
AC_DEFINE([USE_LIBZFS], [1],
|
||||
[Define to 1 if ZFS library should be used.])
|
||||
fi
|
||||
|
||||
AC_SUBST([LIBZFS])
|
||||
|
||||
Reference in new issue
Block a user