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/smbd/aio.c | 2 +- source3/smbd/globals.c | 2 +- source3/smbd/globals.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/smbd') diff --git a/source3/smbd/aio.c b/source3/smbd/aio.c index aa8aee00fb..131094de36 100644 --- a/source3/smbd/aio.c +++ b/source3/smbd/aio.c @@ -23,7 +23,7 @@ #include "smbd/globals.h" #include "../lib/util/tevent_ntstatus.h" -#if defined(WITH_AIO) +#if defined(HAVE_AIO) /* The signal we'll use to signify aio done. */ #ifndef RT_SIGNAL_AIO diff --git a/source3/smbd/globals.c b/source3/smbd/globals.c index f107c0e661..7c4ffec099 100644 --- a/source3/smbd/globals.c +++ b/source3/smbd/globals.c @@ -25,7 +25,7 @@ #include "messages.h" #include "tdb_compat.h" -#if defined(WITH_AIO) +#if defined(HAVE_AIO) struct aio_extra *aio_list_head = NULL; struct tevent_signal *aio_signal_event = NULL; int aio_pending_size = 0; diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h index ccf79fe5ff..2c0056660f 100644 --- a/source3/smbd/globals.h +++ b/source3/smbd/globals.h @@ -20,7 +20,7 @@ #include "system/select.h" -#if defined(WITH_AIO) +#if defined(HAVE_AIO) struct aio_extra; extern struct aio_extra *aio_list_head; extern struct tevent_signal *aio_signal_event; -- cgit