dnl #
dnl # Check for libaio - only used for libaiot test cases.
AC_DEFUN([ZFS_AC_CONFIG_USER_LIBAIO], [
FIND_SYSTEM_LIBRARY(LIBAIO, [], [libaio.h], [], [aio], [], [user_libaio=yes], [user_libaio=no])
])