mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-26 00:59:55 +00:00
2010-07-31 Robert Millan <rmh@gnu.org>
* configure.ac: Check for `libzfs.h' and `libnvpair.h'. * include/grub/util/libnvpair.h: Include `<config.h>'. [HAVE_LIBNVPAIR_H]: Include `<libnvpair.h>' instead of declaring libnvpair prototypes ourselves. * include/grub/util/libzfs.h: Include `<config.h>'. [HAVE_LIBZFS_H]: Include `<libzfs.h>' instead of declaring libzfs prototypes ourselves. (libzfs_handle): Moved to ... * include/grub/util/misc.h (libzfs_handle): ... here. Include `<grub/util/libzfs.h>'.
This commit is contained in:
1 parent
c9a00aeeaa
commit
3169f4c76a
5 files changed
+35
-2
No files matched your search
+2
-1
@@ -246,8 +246,9 @@ else
|
||||
AC_PATH_PROG(HELP2MAN, help2man)
|
||||
fi
|
||||
|
||||
# Check for functions.
|
||||
# Check for functions and headers.
|
||||
AC_CHECK_FUNCS(posix_memalign memalign asprintf vasprintf getfsstat)
|
||||
AC_CHECK_HEADERS(libzfs.h libnvpair.h)
|
||||
|
||||
# For opendisk() and getrawpartition() on NetBSD.
|
||||
# Used in util/deviceiter.c and in util/hostdisk.c.
|
||||
|
||||
Reference in new issue
Block a user