To support build liburing without libc. Link: https://github.com/axboe/liburing/issues/443 Signed-off-by: Ammar Faizi <ammar.faizi@xxxxxxxxxxxxxxxxxxxxx> --- configure | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configure b/configure index a7caa07..3dec81a 100755 --- a/configure +++ b/configure @@ -357,6 +357,13 @@ print_config "has_memfd_create" "$has_memfd_create" ############################################################################# +if test "$LIBURING_NOLIBC" = "y" -o "$LIBURING_NOLIBC" = "yes" -o "$LIBURING_NOLIBC" = "1"; then + output_sym "LIBURING_NOLIBC" + LIBURING_NOLIBC="yes" +else + LIBURING_NOLIBC="no" +fi +print_config "LIBURING_NOLIBC" "$LIBURING_NOLIBC" if test "$__kernel_rwf_t" = "yes"; then output_sym "CONFIG_HAVE_KERNEL_RWF_T" -- 2.30.2