[Libguestfs] GSoC: Adding liburing dependency to libnbd

Abhay Raj Singh rathod.sahaab at gmail.com
Sun Jun 6 14:56:08 UTC 2021


I went with libxml2 like for now
GitLab commit:
https://gitlab.com/rathod-sahaab/libnbd/-/commit/e9b90859c0a286d7023efd40080b4d88c978d083

AC_ARG_WITH([liburing],
    [AS_HELP_STRING([--without-liburing],
                    [disable use of liburing i.e. io_uring for
asynchronus io @<:@default=check@:>@])],
    [],
    [with_liburing=check])
AS_IF([test "$with_liburing" != "no"],[
    PKG_CHECK_MODULES([LIBURING], [liburing], [
        AC_SUBST([LIBURING_CFLAGS])
        AC_SUBST([LIBURING_LIBS])
        AC_DEFINE([HAVE_LIBURING],[1],[liburing found at compile time.])
    ], [
        AC_MSG_WARN([liburing not found, io_uring support disabled.])
    ])
])
AM_CONDITIONAL([HAVE_LIBURING], [test "x$LIBURING_LIBS" != "x"])
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20210606/720ccc1f/attachment.htm>


More information about the Libguestfs mailing list