From d2f6d0ba1e362522438d78374715485daae10919 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 6 Jun 2012 09:23:22 +1000 Subject: build: Rationalise AIO support in configure, ensure on by default With this change, the define to check for AIO is HAVE_AIO, consistant with other subsystems. It is now also on by default in the autoconf build, as it has been for waf. Andrew Bartlett --- source3/wscript | 2 -- 1 file changed, 2 deletions(-) (limited to 'source3/wscript') diff --git a/source3/wscript b/source3/wscript index 9d8264ca87..ccedb6947f 100755 --- a/source3/wscript +++ b/source3/wscript @@ -361,8 +361,6 @@ return acl_get_perm_np(permset_d, perm); msg='Checking for asynchronous io support', headers='sys/types.h aio.h', lib='aio rt') - if conf.CONFIG_SET('HAVE_AIO'): - conf.DEFINE('WITH_AIO', '1') if conf.CONFIG_SET('HAVE_AIO'): conf.CHECK_CODE('struct aiocb a; return aio_read(&a);', 'HAVE_AIO_READ', msg='Checking for aio_read', headers='aio.h', lib='aio rt') conf.CHECK_CODE('struct aiocb a; return aio_write(&a);', 'HAVE_AIO_WRITE', msg='Checking for aio_write', headers='aio.h', lib='aio rt') -- cgit