mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 19:04:45 +03:00
config: user: check for <aio.h>
And always zpool_read_label_slow() on non-conformant libcs Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Co-authored-by: José Luis Salvador Rufo <salvador.joseluis@gmail.com> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #13207 Closes #13254
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
dnl #
|
||||
dnl # POSIX specifies <aio.h> as part of realtime extensions,
|
||||
dnl # and is missing from at least uClibc – force fallbacks there
|
||||
dnl #
|
||||
AC_DEFUN([ZFS_AC_CONFIG_USER_AIO_H], [
|
||||
ZFS_AC_FIND_SYSTEM_LIBRARY(AIO_H, [], [aio.h], [], [rt], [lio_listio])
|
||||
])
|
||||
@@ -1,5 +1,5 @@
|
||||
dnl #
|
||||
dnl # Check for libaio - only used for libaiot test cases.
|
||||
dnl # Check for libaio - only used for mmap_libaio test cases.
|
||||
dnl #
|
||||
AC_DEFUN([ZFS_AC_CONFIG_USER_LIBAIO], [
|
||||
ZFS_AC_FIND_SYSTEM_LIBRARY(LIBAIO, [], [libaio.h], [], [aio], [], [user_libaio=yes], [user_libaio=no])
|
||||
|
||||
@@ -23,6 +23,7 @@ AC_DEFUN([ZFS_AC_CONFIG_USER], [
|
||||
ZFS_AC_CONFIG_USER_LIBAIO
|
||||
ZFS_AC_CONFIG_USER_LIBATOMIC
|
||||
ZFS_AC_CONFIG_USER_LIBFETCH
|
||||
ZFS_AC_CONFIG_USER_AIO_H
|
||||
ZFS_AC_CONFIG_USER_CLOCK_GETTIME
|
||||
ZFS_AC_CONFIG_USER_PAM
|
||||
ZFS_AC_CONFIG_USER_RUNSTATEDIR
|
||||
|
||||
Reference in New Issue
Block a user