mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
aio: Add liburing dependency
Will be used in a subsequent commit, to implement io_method=io_uring. Kept separate for easier review. Reviewed-by: Noah Misch <noah@leadboat.com> Discussion: https://postgr.es/m/uvrtrknj4kdytuboidbhwclo4gxhswwcpgadptsjvjqcluzmah%40brqs62irg4dt
This commit is contained in:
12
configure.ac
12
configure.ac
@ -975,6 +975,18 @@ AC_SUBST(with_readline)
|
||||
PGAC_ARG_BOOL(with, libedit-preferred, no,
|
||||
[prefer BSD Libedit over GNU Readline])
|
||||
|
||||
#
|
||||
# liburing
|
||||
#
|
||||
AC_MSG_CHECKING([whether to build with liburing support])
|
||||
PGAC_ARG_BOOL(with, liburing, no, [build with io_uring support, for asynchronous I/O],
|
||||
[AC_DEFINE([USE_LIBURING], 1, [Define to build with io_uring support. (--with-liburing)])])
|
||||
AC_MSG_RESULT([$with_liburing])
|
||||
AC_SUBST(with_liburing)
|
||||
|
||||
if test "$with_liburing" = yes; then
|
||||
PKG_CHECK_MODULES(LIBURING, liburing)
|
||||
fi
|
||||
|
||||
#
|
||||
# UUID library
|
||||
|
Reference in New Issue
Block a user