summaryrefslogtreecommitdiffstats
path: root/source3/wscript
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-06-06 09:23:22 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-06-06 08:23:10 +0200
commitd2f6d0ba1e362522438d78374715485daae10919 (patch)
treeab1b8bb9ef8fc845cbb326bd5df18f4965c76f3e /source3/wscript
parentbbc1b0c9853322da10483f72c020fe0dd83b28fa (diff)
downloadsamba-d2f6d0ba1e362522438d78374715485daae10919.tar.gz
samba-d2f6d0ba1e362522438d78374715485daae10919.tar.xz
samba-d2f6d0ba1e362522438d78374715485daae10919.zip
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
Diffstat (limited to 'source3/wscript')
-rwxr-xr-xsource3/wscript2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/wscript b/source3/wscript
index 9d8264ca87d..ccedb6947f8 100755
--- a/source3/wscript
+++ b/source3/wscript
@@ -362,8 +362,6 @@ return acl_get_perm_np(permset_d, perm);
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')
conf.CHECK_CODE('struct aiocb a; return aio_fsync(1, &a);', 'HAVE_AIO_FSYNC', msg='Checking for aio_fsync', headers='aio.h', lib='aio rt')