]> git.proxmox.com Git - mirror_ovs.git/blobdiff - m4/openvswitch.m4
async-append: New library to allow asynchronous appending to a log file.
[mirror_ovs.git] / m4 / openvswitch.m4
index ca805060a8750ba935a168565cfd80770c8b376e..dbfc7c425c03638719acf809b13f3ad1f0f4b9e2 100644 (file)
@@ -446,3 +446,8 @@ AC_DEFUN([OVS_CHECK_ATOMIC_ALWAYS_LOCK_FREE],
         __atomic_always_lock_free($1, 0).  If the C compiler is not GCC or is
         an older version of GCC, the value does not matter.])
    fi])
+
+dnl OVS_CHECK_POSIX_AIO
+AC_DEFUN([OVS_CHECK_POSIX_AIO],
+  [AC_SEARCH_LIBS([aio_write], [rt])
+   AM_CONDITIONAL([HAVE_POSIX_AIO], [test "$ac_cv_search_aio_write" != no])])