mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-27 09:39:22 +00:00
2010-08-04 Robert Millan <rmh@gnu.org>
* configure.ac: Remove checks for getfsstat() and getmntany(). Add checks for `<sys/param.h>' and `<sys/mount.h>'. * kern/emu/misc.c [HAVE_GETMNTANY]: Remove `<sys/mnttab.h>'. [HAVE_SYS_PARAM_H]: Include `<sys/param.h>'. [HAVE_SYS_MOUNT_H]: Include `<sys/mount.h>'. [HAVE_LIBZFS && HAVE_LIBNVPAIR] (find_mount_point_from_dir): Remove function. (grub_find_zpool_from_dir): Use statfs() instead of indirect matching via find_mount_point_from_dir() and getfsstat() / getmntany().
This commit is contained in:
1 parent
0de22aa997
commit
d3dd9e80f6
3 files changed
+23
-111
No files matched your search
+2
-2
@@ -247,8 +247,8 @@ else
|
||||
fi
|
||||
|
||||
# Check for functions and headers.
|
||||
AC_CHECK_FUNCS(posix_memalign memalign asprintf vasprintf getfsstat getmntany)
|
||||
AC_CHECK_HEADERS(libzfs.h libnvpair.h)
|
||||
AC_CHECK_FUNCS(posix_memalign memalign asprintf vasprintf)
|
||||
AC_CHECK_HEADERS(libzfs.h libnvpair.h sys/param.h sys/mount.h)
|
||||
|
||||
# For opendisk() and getrawpartition() on NetBSD.
|
||||
# Used in util/deviceiter.c and in util/hostdisk.c.
|
||||
|
||||
Reference in new issue
Block a user