Re: [PATCH] Make AIO conditional on actual need

From: Kinkie <gkinkie_at_gmail.com>
Date: Mon, 31 Aug 2009 17:49:02 +0200

bb:tweak

This patch makes configure fail when aio is not available.

Test-build on openbsd 4.5 fails with:

checking for aio.h... no
checking for aio_read in -lrt... no
checking for aio_read in -laio... no
configure: error: POSIX AIO is not available on this system
buildtest.sh result is 1

Do we really need at line 435:
AC_MSG_ERROR(POSIX AIO is not available on this system)) ? It stops the build.

Changing that line with these three:
with_aio=no
LIBAIO=""
AC_MSG_NOTICE(POSIX AIO is not available on this system))

allows the build to complete successfully, and is probably more in
line with the intended purpose of this patch.

-- 
    /kinkie
Received on Mon Aug 31 2009 - 15:49:13 MDT

This archive was generated by hypermail 2.2.0 : Tue Sep 01 2009 - 12:00:08 MDT